Archives
Sep 1999
Oct 1999
Nov 1999
Dec 1999
Jan 2000
Feb 2000
Mar 2000
Apr 2000
May 2000
Jun 2000
Jul 2000
Aug 2000
Sep 2000
Oct 2000
Nov 2000
Dec 2000
Jan 2001
Feb 2001
Mar 2001
Apr 2001
May 2001
Jun 2001
Jul 2001
Aug 2001
Sep 2001
Oct 2001
Nov 2001
Dec 2001
Jan 2002
Feb 2002
Mar 2002
Apr 2002
May 2002
Jun 2002
Jul 2002
Aug 2002
Sep 2002
Oct 2002
Nov 2002
Dec 2002
Jan 2003
Feb 2003
Mar 2003
Apr 2003
May 2003
Jun 2003
Jul 2003
Aug 2003
Sep 2003
Oct 2003
Nov 2003
Dec 2003
Jan 2004
Feb 2004
Mar 2004
Apr 2004
May 2004
Jun 2004
Jul 2004
Aug 2004
Sep 2004
Oct 2004
Nov 2004
Dec 2004
Jan 2005
Feb 2005
Mar 2005
Apr 2005
May 2005
Jun 2005
Jul 2005
Aug 2005
Sep 2005
Oct 2005
Nov 2005
Dec 2005
Jan 2006
Feb 2006
Mar 2006
Apr 2006
May 2006
Jun 2006
Jul 2006
Aug 2006
Sep 2006
Oct 2006
Nov 2006
Dec 2006
Jan 2007
Feb 2007
Mar 2007
Apr 2007
May 2007
Jun 2007
Jul 2007
Aug 2007
Sep 2007
Oct 2007
Nov 2007
Dec 2007
Jan 2008
Feb 2008
Mar 2008
Apr 2008
May 2008
Jun 2008
Jul 2008
Aug 2008
Sep 2008
Oct 2008
Nov 2008
Dec 2008
Jan 2009
Feb 2009
Mar 2009
Apr 2009
May 2009
Jun 2009
Jul 2009
Aug 2009
Sep 2009
Oct 2009
Nov 2009
Dec 2009
Jan 2010
Aug 2010
Sep 2010
Oct 2010
Nov 2010
Dec 2010
Feb 2011
Mar 2011
Apr 2011
May 2011
Sep 2011
Oct 2011
Nov 2011
Feb 2012
Mar 2012
May 2012
Apr 2023
May 2023
Jun 2023
Jul 2023
Sep 2023
Oct 2023

Mar
9
2005
I must say, fellow programmers, that RSS sucks. Sure, I put RSS back up on this site, I fit it into Sex~Kitten's updates...not too bad. simple construction, very easy to interpret visually, most of it could be created in a text editor without any special training.

Then, Gracie and I got talking about what RSS is, and she indicated she'd like an aggregator on her website. Sure, I said. If I can create the RSS XML, then I can use PHP's XML reading process and decode RSS just as easy, right?

Fuck that.

Now, I'm not one to swear in this blog, but my god, could the various fragments of RSS be any more incompatible? The way dates are saved is the absolute worst, especially when sorting for recent content is important -- you can't just ignore them, like creator information. Then, the actual blog content is stored in numerous different ways. Some places use namespaces, which messes up my tagreading. Stupid me, I even decided I should add Atom RSS support -- now, if that wasn't the stupidest thing ever.

So, just from my recent ramblings, here's my decisions:

  • Atom sucks. The use of attributes instead of making it the element's content is a horrible thing, especially when you end up with an empty element in the end. LINK tag, I'm pointing at you -- the URL is more important than being relegated to an attribute. Next, the date format is 'broken' from a standards point of view, even though I approve of the multiple date options. Then, you have a TITLE element, and the URL has a TITLE attribute? Which do you want us to use? There's the other useless incompatiblities...why change ITEM from standard RSS to ENTRY? It's not like you use ITEM someplace else important.
  • Don't use namespaces. A simple RSS feed should not need to have namespace definitions. I believe MoveableType is the culprit of this, as well as Them.Ws Feeds. The date element was flawed like Atom is in both the them.ws and MT feeds, and the way namespaces is used breaks the other elements.
  • The basics of RSS 0.92 and RSS 2.0 are close enough to be backwards-compatible for the important info; these required no debugging on my part. Thank you Livejournal, whose rss feeds (add "/data/rss" to the end of the Livejournal URL) are simple, clean, and nearly human readable all by themselves. Make is easy, and you'll attract users
  • Overall, dates are the most misused things: Date elements are nonstandard, sites leave them out, and the date format isn't standard. Next is the use of tags and elements with in "content" elements - one, it affects parsing if you have a tag in your text, without a closing tag. Also, you don't know where the feed is going - don't screw up their formatting with your HTML -- strip out tags before creating the RSS feed. And, finally, don't use fancy non-ANSI/ASCII characters. By the time they're downloaded, saved someplace, then formatted for reading, they're gonna look ugly.

Why is there RSS splintering anyway? If the purpose of RSS is to distribute your blog/news content in a universally standard format that's easily readable by anyone with a reader, then just use the freakin' standard elements. If you want to create a RSS feed that fits your own purposes, then add your own elements and leave existing ones alone (LiveJournal does this nicely, too). It's a lot easier for programmers to ignore superfluous elements than to try and learn the umteen different elements that all mean the same damn thing.

No comments at this time.


Your Name:
Email:
Webpage:
Your comment:



blog advertising is good for you
Looking For "Wookies"?