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
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
|
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
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.)
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.