KBD

Keith Devens .com

Saturday, September 6, 2008 Flag waving
And we know that in all things God works for the good of those who love him, who have been... – Paul (Romans 8:28)
← Echo and wingS web application frameworksDublin Core irks me →

Daily link icon Monday, June 16, 2003

Updating to RSS 2.0

I'm finally upgrading my RSS feed to 2.0 tonight. It's about time I had a creationDate Smiley Darn, now am I supposed to use content:encoded or xhtml:body? :-/ Or just <description>?

I suppose I'll look at Sam's and Mark's to see what tags I should use.

← Echo and wingS web application frameworksDublin Core irks me →

Comments XML gif

Mark (http://diveintomark.org/) wrote:

Every page validate? All the time? Are you sure? Go with xhtml:body. Otherwise, go with content:encoded.

Save [description] for plain-text excerpts.

∴ Mark | 16-Jun-2003 10:51pm est | http://diveintomark.org/ | #2206

Keith (http://www.keithdevens.com/) wrote:

Yep, every page validates, every time. I write my weblog posts in StructuredText, and the HTML output the parser generates is always valid XHTML.

Do all aggregators read xhtml:body now? I don't currently write excerpts for my posts, so I wouldn't have anything to put in description... and I'd hate to duplicate the entire post in xhtml:body and <description>.

Keith | 16-Jun-2003 10:55pm est | http://www.keithdevens.com/ | #2207

Keith (http://www.keithdevens.com/) wrote:

I suppose maybe I'll dump the first N characters of the StructuredText source as the description, and dump the whole thing in xhtml:body. Depending on how SharpReader deals with it...

Keith | 16-Jun-2003 11:02pm est | http://www.keithdevens.com/ | #2208

Keith (http://www.keithdevens.com/) wrote:

Oh, screw this. If you have a &nbsp; in xhtml:body the XML parser complains it's an undefined entity. I hate XML. Going back to content:encoded, and then maybe description if I'm not happy... grr.

Keith | 16-Jun-2003 11:16pm est | http://www.keithdevens.com/ | #2209

Ole Eichhorn (http://w-uh.com/) wrote:

Use xhtml if you want, but it isn't necessary. Please see http://w-uh.com/rss.xml for a plain vanilla feed with titles, links, publication dates and GUIDs. Even an icon which some aggregators like SharpReader display.

Good luck!

Ole

∴ Ole Eichhorn | 16-Jun-2003 11:18pm est | http://w-uh.com/ | #2210

Keith (http://www.keithdevens.com/) wrote:

Thanks Ole! I read the rss2 spec, and it turns out you're still allowed to put entity encoded HTML in there, so, like you, that's what I'm doing. And since there's a pubDate element in 2.0 I don't need dc:date, so my RSS is namespace free, which is how I like it Smiley

Keith | 16-Jun-2003 11:33pm est | http://www.keithdevens.com/ | #2211

M. Bean wrote:

Speaking of RSS... check this little app out:
http://www.graemef.com/weblogx/CategoryView.aspx/PopHeadlines

I'll have to try it out once I get home, unable to test it from here @ work, but I like the idea of getting RSS in my email client... at least, until I try it out and see if I will continue to like it Smiley winking

∴ M. Bean | 18-Jun-2003 8:40am est | #2218

M. Bean wrote:

Looks like there is another implementation out there that does the same thing... posting here, on your site, for reference.Smiley sticking out its tongue

http://www.fettig.net/projects/hep/

I really should get my own site up, eh? Smiley winking

∴ M. Bean | 18-Jun-2003 8:42am est | #2219

Graeme Foster (http://www.graemef.com) wrote:

Give me a chance to improve the parser before you make your mind up Smiley winking

∴ Graeme Foster | 18-Jun-2003 5:14pm est | http://www.graemef.com | #2222

Keith (http://www.keithdevens.com/) wrote:

You know, this is a great idea. I had tried that RSS to NNTP gateway program and had to dump it because A. I didn't like any newsreader program I tried with it, and B. it didn't parse broken feeds correctly (which was a LOT of them).

However, the RSS to e-mail thing is a great idea. The only requirement I'd have for this is that I'd need some kind of script to automatically set up folders for every feed as well as set up rules in my e-mail program to filter incoming items. There's NO way I'd set up folders manually AND set up corresponding rules manually that I'd then have to maintain, etc. etc. So I'd have to have some kind of tool do this for me, that would create them in the first place from something like an OPML file, monitor feeds and change folder names when the feed name changes, etc.

If I get a chance later I'll take a look at how hard this would be to do programmatically, at least for Outlook Express.

Keith | 18-Jun-2003 5:46pm est | http://www.keithdevens.com/ | #2223

Graeme Foster (http://www.graemef.com) wrote:

I think Hep at least has a UI of some sort which might do what you want. It is rather fiddly to set up PopHeadlines, but I've found it worth the effort. After all, how often do you add a new feed? More often than me I guess Smiley
Oh, and if you're using Outlook then NewsGator does this reasonably well.

I don't think NNTP gateways are as useful, mostly because there aren't really any NNTP clients that are as polished as a modern email client.

∴ Graeme Foster | 19-Jun-2003 3:56am est | http://www.graemef.com | #2225

Keith (http://www.keithdevens.com/) wrote:

After all, how often do you add a new feed? More often than me I guess.

Well, it's not quite that I do it so often. It's just that I've accumulated a lot of feeds, so there's no way I'm going through the three steps of: 1. Adding the feed to PopHeadlines; 2. Adding a folder to the feed for Outlook Express; 3. Adding a rule in OE to filter items for that feed into the correct folder, for each of the, I dunno, 100 feeds I have now. Plus, do it in reverse when I delete a feed Smiley winking Plus, change it manually when the name of a feed changes, etc. And, if I'm filtering on the URL of the location of the RSS feed I'd have to change the filter manually when that changes too.

I mean, it might be as simple as a Windows Scripting Host script that "pushes buttons" in the application for you. I dunno. Unfortunately, I have no time to play right now Smiley Boy do I have no time.

Keith | 19-Jun-2003 4:50pm est | http://www.keithdevens.com/ | #2226

Keith (http://www.keithdevens.com/) wrote:

But yes, I really do like the idea in general. I gave NewsGator a try, but didn't like it - possibly mostly because I don't like Outlook Smiley

The best combination seems to be a local server-based app that you write once, combined with some local script specific to an e-mail program that can manipulate folders, set up rules, etc., so long as it's not brittle or a pain in the butt to set up.

Keith | 19-Jun-2003 4:55pm est | http://www.keithdevens.com/ | #2227

Keith (http://www.keithdevens.com/) wrote:

Check this out! I'm a moron, because I didn't even think of having the thing be IMAP based instead of POP based. That would have completely addressed my folder issue. I wonder if IMAP folders can be renamed with the client recognizing it.

Keith | 23-Jun-2003 11:41pm est | http://www.keithdevens.com/ | #2257

Feel free to post a comment below. Please see my comment policy.

Formatting Rules (No HTML):

  • **bold**, *italic*, _underlined_, --strikeout--
  • "text"="url" creates a link, and URLs are auto-highlighted
  • Blockquote: Like e-mail, begin paragraph with > (greater-than sign)
  • Lists: begin paragraph with *,-, or + (unordered), or # (ordered)
  • Code block: ?!code:language=perl|php|sql|javascript|etc.{\n}...{\n}?!/code

:
(will be your IP address if blank)
: (optional)
(Will not be shown on site)

: (optional)
:

September 2008
SunMonTueWedThuFriSat
 123456
78910111213
14151617181920
21222324252627
282930 



RSS feed RSS feed for Keith's Weblog
Atom feed Atom feed for Keith's Weblog
Weblog archive
Recent comments
  on 5 posts

Recent comments XML

new⇒I hate ASP.NET

CF, why pick that piece of trash?​Cold Confusion. Is it finally​really a OO...

ColdConfusion: Sep 5, 8:36pm

new⇒Maps of Iraq

This is for Linda, I will be​visiting that site some time in the​near futur...

Bob: Sep 5, 1:20pm

Girls, please don't get breast implants

Well alright I just read my above​comment and I wanted to add​this...I shou...

76.66.140.8: Sep 4, 7:31pm

Spider solitaire

I don't think the question was​necessarily if there are unbeatable​games.  ...

Jared: Sep 4, 12:44pm

Convert Pantone Colors to RGB and Hex - Color Conversion Chart

The colors on those website don't​seem to relate to the pantone data​we hav...

blah: Sep 3, 10:12am

Generated in about 0.205s.

(Used 8 db queries)

mobile phone