Essays:

Userland -
-



Sam Ruby
< It's just data >

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

Thursday, September 19, 2002

Phil Wainewright I have begun to document what seems to me to be mainstream best practice in the use of RSS 2.0 feeds.  I am doing this on my other blog, AppSwitching Diary.  That would be way cool.  I'd like to point out that this is not a trivial task.  If you do embark on such an effort, it is important to capture why for each recommendation.  A good model to base this on might be Mark Pilgrim's Dive Into Accessibility.
  8:16:33 PM   Comment 

In my comments section, Timothy Appnel is evangelizing the use of CDATA.  Unfortunately, at the moment his RSS 0.91 Index Feed is not well formed XML, whereas his RSS 1.0 Index Feed is.  Both use CDATA, but the difference is that the RSS 1.0 feed contains the string

<?xml version="1.0" encoding="iso-8859-1" ?>

This allows the use of Microsoft's so-called "smart quotes" to be rendered as a rectangle.  Somewhat better rendering would be achieved through the use of

<?xml version="1.0" encoding="windows-1255"?>

Another approach would be to use the demoronizer tool.


  1:43:49 PM   Comment 

At the present time, neither scripting.com's nor aaronsw's RSS feeds are well formed XML 1.0.

Update: scripting.com's RSS feed is once again well formed.  Thanks Dave!

Update: Aaron's RSS feed is once again well formed, but Aaron questions whether or not such encoding problems affect the validity of the document.  Perhaps this will help settle the issue: I have tried such documents against the Python xml.sax, Xerces, and the msxml parsers, and each refuse to parse documents containing such errors.


  11:10:13 AM   Comment 

In RSS's humble beginnings, items had two child elements, named title and link.  In the name of simplicity and in a stand against discontinuities, the RSS for today's scripting news has neither.

But no matter, what is truly important is doubleplusgood features that ensure that attention is not drawn to rewriting history.

Meanwhile Dave's take on this: Look at what people are proposing, esp Sam. In what way would that resemble RSS? It wouldn't at all. RSS is what it is.

Exactly.

Update: Dave removed the first three sentences quoted above. 

Meta comment: It *is* possible to stick to the subject, make points that may be unpopular, and do so in a respectful and constructive manner.  All too frequently, I am asked to choose sides between A and B.  Whenever possible, I try to find a way to pick A and B.  In as an intertwingly a manner as possible.  Case in point: am I totally satisfied with RSS 2.0?  Definately not.  But I did get Dave to add some things and take one thing out.

Meta Meta comment: if you are running a newsreader which doesn't take into account RSS 2.0's optional guids, you will see this update.  If, however, you are using a newsreader which does take into account guids, well you will still see this update as my RSS 2.0 feed doesn't have guids.  So there.


  10:13:50 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

-