intertwingly

It’s just data

Radically Simple Syndication

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.


Something to cheer Shelley up

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?


Patch for Jon

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;