Top > Dave's World > Weblog Archive > 2001 > September > 07Previous/Next


Scripting News, the weblog started in 1997 that bootstrapped the blogging revolution.
 
Permanent link to archive for Friday, September 07, 2001. Friday, September 07, 2001

DaveNet: Quid Pro, Microsoft?

Reuters: "Two of the biggest states party to the federal government's antitrust case against Microsoft warned on Friday they might pursue their own sanctions against the software giant if they conclude the U.S. Justice Department is going too easy on the company."

John Robb: "Why did the government give up its negotiating position so early?"

Michael Williams: "I think you may be right that this is the initial execution of some agreement. The fact that MS is not crowing about their victory lends credence to this."

Today's song: "Don't ask me to be Mr Clean, cause baby I don't know how."

ZapThink: The Pros and Cons of XML.

John Rhodes: Google 2.0.

Speaking of Google, guess which site is number one when you search for moose?

O'Reilly did something smart and merged all their weblogs into one flow. None of the individual blogs had enough to make me a regular visitor, but combined, it's more interesting.

NY Times: Pendulum swings to Microsoft, but how far?

Mail-This-Story for Manila 

I get to roll out a fun new Manila feature today. Like the ogre named Shrek it comes in layers like an onion. It's just a macro you put in the template for your site, but it gives your readers an important tool to spread news from your site. All the big sites have the feature, but this is the first time (as far as I know) that it's available for ordinary folk like you and me and it's pretty easy.

First the demo. Go to this page on the DaveNet site, and scroll to the bottom. You'll see a link called Mail This Story. Click on it. Enter your email address, a brief personal message, and enter your email address again. Click on Submit. Check your email.

The story is sent in plain text not HTML (we can do this because Manila is a content management system, we get the story out of the database, not by scraping the screen as others do). Links are extracted from anchor tags and replaced with numbers in square brackets. All the links appear at the end of the email. Bold text is surrounded in asterisks and italic text enclosed in slashes. Markup is removed. Breaks and paragraphs are converted to single and double carriage returns. Other whitespace is converted. We use the new string.htmlToEmail verb to do the transformations on the story text.

Now the docs. To add this feature to your UserLand-hosted Manila site, add a macro to your template, generally right after the {bodytext} macro is a good place to put it. The macro is {mailStory ()}. It takes an optional parameter that determines the link text. It can be an image if you prefer images over text. The link will only appear on stories and discussion group messages. On other pages the macro returns the empty string. This is the only configuration that's needed to add the feature to a Manila site.

Macros.UserLand.Com: mailStory.

Questions and comments on the Manila-Newbies mail list.

Tweak: The message now makes it clear that we don't know for a fact who sent the message, and we also include the sender's IP address, which makes it less likely this feature will be used in an abusive way. (There are some real sick people out there.)

     

Last update: Friday, September 07, 2001 at 10:21 PM Eastern.

Dave Winer Mailto icon
 

Click here to view the OPML version of Scripting News.

Morning Coffee Notes, an occasional podcast by Scripting News Editor, Dave Winer.

September 2001
Sun
Mon
Tue
Wed
Thu
Fri
Sat
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
Aug   Oct


Click here to see an XML representation of the content of this weblog.


          



© Copyright 1997-2005 Dave Winer. The picture at the top of the page may change from time to time. Previous graphics are archived.


Previous/Next