The validity of the RSS feed

Message boards : Web interfaces : The validity of the RSS feed
Message board moderation

To post messages, you must log in.

AuthorMessage
Yin Gang

Send message
Joined: 21 Sep 05
Posts: 12
China
Message 3035 - Posted: 12 Feb 2006, 3:17:58 UTC
Last modified: 12 Feb 2006, 3:19:16 UTC

RSS is a wonderful tool to keep us informed of the lastest project news, but the RSS feeds provided by all project sites are likely to cause some problems in most RSS readers.

The probems seem to come from the improper use of the guid element, the following URL goes to the specification of the RSS 2.0:
http://blogs.law.harvard.edu/tech/rss#ltguidgtSubelementOfLtitemgt


<guid> sub-element of <item>

<guid> is an optional sub-element of <item>.

guid stands for globally unique identifier. It's a string that uniquely identifies the item. When present, an aggregator may choose to use this string to determine if an item is new.

<guid>http://some.server.com/weblogItem3207</guid>

There are no rules for the syntax of a guid. Aggregators must view them as a string. It's up to the source of the feed to establish the uniqueness of the string.

If the guid element has an attribute named "isPermaLink" with a value of true, the reader may assume that it is a permalink to the item, that is, a url that can be opened in a Web browser, that points to the full item described by the <item> element. An example:

<guid isPermaLink="true">http://inessential.com/2002/09/01.php#a2</guid>

isPermaLink is optional, its default value is true. If its value is false, the guid may not be assumed to be a url, or a url to anything in particular.


If a feed doesn't use the guid element, it can also use the link element to make news globally unique (not just unique in the current feed).

Best regards,
Yin Gang


Welcome To Team China!
ID: 3035 · Report as offensive
Yin Gang

Send message
Joined: 21 Sep 05
Posts: 12
China
Message 3144 - Posted: 18 Feb 2006, 13:37:41 UTC

The following site is a validator for syndicated feeds:

http://www.feedvalidator.org/


Welcome To Team China!
ID: 3144 · Report as offensive
Walter Leonhard

Send message
Joined: 12 Mar 06
Posts: 5
Austria
Message 3451 - Posted: 12 Mar 2006, 14:56:06 UTC - in response to Message 3144.  

The RSS-Feed on the main page does not work any more. Could you please check this?
ID: 3451 · Report as offensive
UBT - Halifax--lad
Avatar

Send message
Joined: 20 Feb 06
Posts: 60
United Kingdom
Message 3452 - Posted: 12 Mar 2006, 15:34:00 UTC

Works perfectly fine here, what you trying to use to view it in?
Join us in Chat (see the forum) Click the Sig
ID: 3452 · Report as offensive
Walter Leonhard

Send message
Joined: 12 Mar 06
Posts: 5
Austria
Message 3453 - Posted: 12 Mar 2006, 17:11:32 UTC - in response to Message 3452.  
Last modified: 12 Mar 2006, 17:43:18 UTC

In IE6 I sould be able to see the XML, but it shows an XML-Error because of a not defined entity: "&uuml;"

"
This project, based at the University of M&uuml;nster in Germany,
----------------------------------------------------^
"

And my RSS-Feed import for our phpBB-Board also cannot read it.
Error-Message: "XML error: undefined entity at line 32"
ID: 3453 · Report as offensive
Walter Leonhard

Send message
Joined: 12 Mar 06
Posts: 5
Austria
Message 3457 - Posted: 12 Mar 2006, 18:10:39 UTC - in response to Message 3453.  
Last modified: 12 Mar 2006, 18:17:02 UTC

Maybe the character-encoding was changed, it should be iso-8859-1. All RSS-feeds from the projects are working correctly, but this one suddenly stopped working: http://boinc.berkeley.edu/rss_main.php

When you copy this feed into the validator (see some posts below), you can see what is wron with this feed:

http://www.feedvalidator.org/check.cgi?url=http%3A%2F%2Fboinc.berkeley.edu%2Frss_main.php

Result:

Sorry
This feed does not validate.

line 18, column 19: guid must be a full URL, unless isPermaLink attribute is false (9 occurrences)

line 24, column 37: pubDate must be an RFC-822 date-time (9 occurrences)

line 32, column 46: Undefined named entity: uuml


ID: 3457 · Report as offensive
Nikolay A. Saharov

Send message
Joined: 1 Sep 05
Posts: 15
Russia
Message 7171 - Posted: 29 Dec 2006, 11:07:23 UTC

BOINC RSS feed is not valid again.

Here is an error message from http://www.feedvalidator.org/

This feed does not validate.

line 21, column 24: Undefined named entity: Eacute [help]

    and is based at the &Eacute;cole Polytechnique in Paris.</description>
ID: 7171 · Report as offensive
Rytis Slatkevicius

Send message
Joined: 29 Aug 05
Posts: 15
Message 7177 - Posted: 29 Dec 2006, 16:25:59 UTC

I checked in the patch into CVS, it just has to be applied to the BOINC site. Should be there shortly.
ID: 7177 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 14733
Netherlands
Message 7178 - Posted: 29 Dec 2006, 16:26:14 UTC - in response to Message 7171.  

A fix has now been committed. It should be updated within 24 hours.
ID: 7178 · Report as offensive
Nikolay A. Saharov

Send message
Joined: 1 Sep 05
Posts: 15
Russia
Message 7183 - Posted: 29 Dec 2006, 22:47:17 UTC

Thanks, the rss-feed is correct now.
ID: 7183 · Report as offensive

Message boards : Web interfaces : The validity of the RSS feed

Copyright © 2021 University of California. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.