RSS Version 3 Forum Index
definition is not backwards compatible!

 
Post new topic   Reply to topic    RSS Version 3 Forum Index -> RSS 3 Development
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Thu Aug 18, 2005 7:36 pm    Post subject: definition is not backwards compatible! Reply with quote

The suggestion that should be in seconds and not minutes like the 2.0 standard by default will require a number of feed changes. For example, 60 currently means 60 minutes, not seconds.

Is this a mistake?

Patrick O'Lone
Back to top
jonathan_avidan
Site Admin


Joined: 27 Jul 2005
Posts: 6

PostPosted: Thu Aug 18, 2005 10:12 pm    Post subject: Reply with quote

You are correct; the RSS 2.0 spec says the default value is minutes. This will be corrected.
Back to top
View user's profile Send private message
PhilRingnalda



Joined: 22 Aug 2005
Posts: 1

PostPosted: Mon Aug 22, 2005 10:44 pm    Post subject: Backwards compatible means the genie's out of the bottle Reply with quote

Actually, being backwards compatible means more than just using the same defaults: you can't be misunderstood by a consumer that only knows RSS 2.0, which means you can't do many of the things you want.

Not only do you have to have the same default for ttl, you can't add an attribute that RSS 2.0 doesn't know about that changes the meaning of the content. Your span="days" would mean that an RSS 3.0 consumer would think three days when an RSS 2.0 consumer would think three minutes.

The same is true for your guid changes: without an isPermaLink="false" attribute, a guid with type="code" is an opaque string to an RSS 3.0 consumer, and a (broken) permalink to an RSS 2.0 consumer.

HTML in description is another genie that you can't stuff back into the bottle: if you say that it's text, then when I want to discuss an HTML example I will escape the greater-than character just once, without then double-escaping the ampersand as well. To an RSS 3.0 consumer that's an example of code, and to an RSS 2.0 consumer it *is* code.

Similarly, you can't redefine language or pubDate to refer to the linked resource with an attribute that existing clients don't know about, because they will incorrectly assume you mean the feed.
Back to top
View user's profile Send private message
Edward



Joined: 14 Sep 2005
Posts: 23
Location: -= RSS 3.0 LiTe Fan =-

PostPosted: Fri Sep 16, 2005 3:44 am    Post subject: Reply with quote

I would like to have "minutes", too. The example with 60
"seconds" let´s me suck from our server too often.

The Version 2.0 and 3.0 are separate versions, i decide
after grabbing the versions from rss to tell the independent
Element parser which class to assign a instance to hang into
the Tree.

And Phil, you are right. Reading a 3.0 rss in my 2.0
newsreader would not assign the span, too. I glady have
let the ttl stay unused, but shown, in the reader. About
aggregating to disk: i skipped the code here.

The decision, how often the rss will be refreshed, lies at
the author. He knows, how often he will let the others get
the latest rss. "minutes" should be the the default value.

If you know that experience shows no updates for over n
"hours" being the most distributed, let the higher value
be the default.
Back to top
View user's profile Send private message Visit poster's website
Post new topic   Reply to topic    RSS Version 3 Forum Index -> RSS 3 Development All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


FSGreen phpBB Template by SkaidonDesigns
Powered by phpBB © 2001, 2002 phpBB Group