View Issue Details

IDProjectCategoryView StatusLast Update
0001441HTML & PERLBug Report - Miscpublic2009-03-04 15:49
Reporterspider0042 Assigned Toantennen  
PrioritynormalSeveritytweakReproducibilityalways
Status resolvedResolutionfixed 
Summary0001441: RSS Feed - Latest Files - Format Considered 'Invalid'
DescriptionThis issue is 'Related' to Issue ticket # 1366

[B]To be fixed along side the following ticket:[/B]
http://tracker.anidb.info/bug_view_advanced_page.php?bug_id=1366

In theory, the quick fix should take less than 0000008:0000005 minutes.
---------------------

When the 'Latest Files Feed' at http://anidb.net/anidb.rdf is 'verified' against an RSS 1.0 feed validator it will come up as 'invalid'.

In this case, the issues are trivial and do not prevent the feed from being viewed in Thunderbird. (However, there is also the potential that an invalid feed could cause problems for other feed readers.)

Enter, the related ticket:

[B][ Related Ticket ][/B]

The ticket:
http://tracker.anidb.info/bug_view_advanced_page.php?bug_id=1366
is is partly related to this one.

[I]While the request for fixes to the 'Latest Files Feed' comes off as being 'anal-retentive', [B]it would take a minimal amount of effort to fill this request at the same time that someone is working on the [U]'major' issue[/U] with Thunderbird and the invalid 'User Notifications Feed'.[/B]
Steps To ReproduceYou can easily check this by sending the feed to W3C's feed Validator, which can be seen by clicking on the link below:

http://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Fanidb.net%2Fanidb.rdf
Additional InformationBelow are the problems and solutions that are related to [I]this[/I] 'Latest Files Feed'. The 'related ticket' shares all of the following issues (plus a few more. (Theses solutions are also included in the related ticket for convenience.)

[B]I have verified that if all of these trivial changes are made, that the feed will officially pass validation.[/B]

[B][ Problems ][/B]

- RSS1.0 <channel> requires 'rdf:about' attribute
- RSS1.0 <items>, <rdf:li> element needs to be <rdf:li resource="" />

- 'Optional': Fix format for all dates by appending a 'time zone designator' which is trivial, but is not exactly stopping thunderbird from understanding the feed. But, maybe causes problems for other readers?


[B][ Quick Fixes ][/B]

[B]- Change: [/B]
    old: <channel>
    new: <channel rdf:about="http://anidb.net/perl-bin/animedbrdf.pl?id=[I]USER_SPECIFIC_STRING_HERE[/I]">
         OR, rather then the url to the users RSS/RDF feed,
         whatever feels appropriate.

[B]- 'Optional':[/B] Consider Appending the TimeZone to all dates, as the final change required to make the RSS/RDF feed valid. (Note that this is ALSO not being done for the 'Latest Files Feed'.)
    old example: 2009-03-04T05:00:09
    new example: 2009-03-04T05:00:09-01:00
    (see 'TDZ' at http://www.w3.org/TR/NOTE-datetime )

---------------------
Feeds can also be easily checked by uri, or even just by pasted xml :
http://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Fanidb.net%2Fanidb.rdf

Side note: (I believe I've seen an issue with validation and UTF-8 and Japanese ?? but I do not currently have an example.)
TagsNo tags attached.

Activities

antennen

2009-03-04 11:02

administrator   ~0002590

Since my fixing attempts everything seems to validate.

antennen

Issue History

Date Modified Username Field Change
2009-03-04 07:14 spider0042 New Issue
2009-03-04 11:02 antennen Note Added: 0002590
2009-03-04 11:02 antennen Status new => resolved
2009-03-04 11:02 antennen Resolution open => fixed
2009-03-04 11:02 antennen Additional Information Updated
2009-03-04 12:22 fahrenheit Status resolved => assigned
2009-03-04 12:22 fahrenheit Assigned To => antennen
2009-03-04 15:49 antennen Status assigned => resolved