FS#3706 - Archlinux packages feed not valid

Attached to Project: Arch Linux
Opened by Frantisek Fecko (firefox) - Wednesday, 04 January 2006, 19:24 GMT
Last edited by Judd Vinet (judd) - Saturday, 07 January 2006, 21:02 GMT
Task Type Bug Report
Category Web Sites
Status Closed
Assigned To dorphell (dorphell)
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

According to the feed validator http://www.feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.archlinux.org%2Frdf_feed.php the archlinux packages feed (http://www.archlinux.org/rdf_feed.php) is not valid.

Moreover, in Sage under Firefox 1.5 it will no longer display, because of the <dc:date> error.

Maybe the solution would be to put the dc module explicitly in the header:
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
This task depends upon

Closed by  dorphell (dorphell)
Tuesday, 21 February 2006, 01:57 GMT
Reason for closing:  Fixed
Comment by Frantisek Fecko (firefox) - Monday, 16 January 2006, 16:28 GMT
What seems to be the problem for such a delay?

Quick-and-easy solution, as I already pointed out, is modifying the header, i.e.

old:
<?xml version="1.0" encoding="ISO-8859-1"?>
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://my.netscape.com/rdf/simple/0.9/">

new:
<?xml version="1.0" encoding="ISO-8859-1"?>
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">

(Of course, other xmlns:XYZ can be added if required.)
Comment by Not Important (pholie) - Tuesday, 24 January 2006, 15:25 GMT
I can confirm. In akregator it used to work fine until recently. Now a stop icon appeared next to the feed. After deleting it and trying to subscribe again it says Feed not found from http://www.archlinux.org/rdf_feed.php.

The validator found these errors:
line 16, column 2: Undefined image element: width [help]

<width>90</width>

^

line 17, column 2: Undefined image element: height [help]

<height>74</height>

^

line 24, column 2: XML parsing error: <unknown>:24:2: unbound prefix [help]

<dc:date>2006-01-24T08:23:14</dc:date>

Next, Opera feed reader says XML parsing failed: not well-formed (Line: 93, Character: 57). It is because of the ampersand (&) in the description of geoip package. The feed in opera loads but only first 10 posts are shown, mplayer-plugin, monodoc.... until libgdiplus. Here it stops, geoip and the next packages are not shown.
Comment by randy (sesser) - Tuesday, 14 February 2006, 17:15 GMT
In addition to fixing the xmlns:dc namespace issue, I think the title and description nodes might need to be wrapped in CDATA elements. Either that or adding a ENTITY for all possible entities that might appear in the feeds (&amp;amp;, &amp;nbsp;, etc).
Comment by dorphell (dorphell) - Tuesday, 21 February 2006, 01:57 GMT
fixed by dp --> closing

Loading...