google-code-export / rtgui

Automatically exported from code.google.com/p/rtgui
1 stars 0 forks source link

RSS feed not valid #77

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Using the feed in a feed reader
2. Passing the feed through http://feedvalidator.org/

What is the expected output? What do you see instead?
Expected output is a feed.  Looks fine in firefox, doesn't work in a reader.

What version of the product are you using? On what operating system?
On Ubuntu, 0.2.7

Please provide any additional information below.
The PHP script is putting out 2 <lastbuilddate> tags.  I commented out line
58 and it validates fine and works in my reader.

Original issue reported on code.google.com by pepp...@gmail.com on 20 Apr 2009 at 2:29

GoogleCodeExporter commented 9 years ago
If my reading of how this is supposed to work is correct, the first 
lastBuildDate on
line 47 should instead be pubDate.

Original comment by llamaXxX@gmail.com on 20 Apr 2009 at 7:00

GoogleCodeExporter commented 9 years ago
Good spot.  Actually the lastBuildDate is valid for the RSS feed, just not for 
every 
item :)

Will be fixed in next version.

Original comment by lemonbe...@gmail.com on 20 Apr 2009 at 7:16

GoogleCodeExporter commented 9 years ago
@llama: I *think* that the lastBuildDate is the date for that entire feed.  And 
the 
pubDate for is the date for the individual item...?

Original comment by lemonbe...@gmail.com on 20 Apr 2009 at 7:20

GoogleCodeExporter commented 9 years ago
My reading is that lastBuildDate is the date of the last change and pubDate is 
the
date of publication.  Wikipedia uses both in its example for the feed itself 
and just
pubDate per item.

[1] http://www.webreference.com/authoring/languages/xml/rss/feeds/
[2] http://en.wikipedia.org/wiki/Rss#RSS_2.0

Although to be honest, I have not played around with RSS any and do not know if 
there
is any benefit to specifying both or not.

Original comment by llamaXxX@gmail.com on 20 Apr 2009 at 9:06