Essays:

Userland -
-



Sam Ruby
< It's just data >

Updated: 10/1/2002; 3:52:05 PM.

Saturday, September 07, 2002

Just for fun, I've followed Aaron's instructions, and made intertwingly available in plain text format.  No XML.  Mime content type is text/plain.  Perhaps that should be added to the spec.

Unfortunately, I don't think that Mark's ultra-liberal RSS parser is quite liberal enough to handle this.


  11:40:15 AM   Comment 

Shelley Powers proposed an RDF friendly version of RSS 2.0.  Now she is disappointed that people haven't picked up faster on this.  Let me do what I can to help cheer Shelley up... now you can view intertwingly in all it's RDF splendor.  Perhaps the description shouldn't have been XML encoded?  Let me know and I will fix.

Also, I chose to make the rdf:about different than the link.  Is this wrong?

How should comments and trackbacks be handled?


  11:32:03 AM   Comment 

Jon Udell is Experimenting with RSS 2.0.  I really like his new feed, though I think that the <docs> and <dc:date> elements need to be updated.  The Dublin Core defines dates as a profile of ISO 8601.  There probably are better fixes than what I am about to suggest, but here is a relatively brute force means (most of the logic deals with formatting the time zone and padding):

date.get (adrpost^.when, @day, @month, @year, @hour, @minute, @second);

tz = date.getCurrentTimeZone() / 60;
if (tz < 0) {tzsign = '-'} else {tzsign = '+'};
tz = abs(tz);
tzh = tz / 60;
tzm = tz - tzh*60;

month = string.mid("0" + month, string.length(month), 2);
day = string.mid("0" + day, string.length(day), 2);
hour = string.mid("0" + hour, string.length(hour), 2);
minute = string.mid("0" + minute, string.length(minute), 2);
second = string.mid("0" + second, string.length(second), 2);
tzh = string.mid("0" + tzh, string.length(tzh), 2);
tzm = string.mid("0" + tzm, string.length(tzm), 2);

dcdate = year + "/" +month + "/" + day + "T" + hour + ":" + minute + ":" + second + tzsign + tzh + ":" + tzm;


  8:58:40 AM   Comment 





September 2002
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 to see the XML version of this web page.


Related: Help link
Scripting News
Simon Fell > Its just code
John Robb's Radio Weblog
Peter Drayton's Radio Weblog
Bitworking
rebelutionary
Don Box's Spoutlet
Sjoerd Visscher's weblog - w3future.com
Bright Eyed Mister Zen
The .NET Guy

Click here to visit the Radio UserLand website.

[Macro error: Can't evaluate the expression because the name "channeltitle" hasn't been defined.]


Last update: 1/25/2002; 7:23:12 AM

© Copyright 2002 Sam Ruby

-