View Issue Details

IDProjectCategoryView StatusLast Update
0001366HTML & PERLBug Report - Miscpublic2009-03-04 10:59
Reporterhimek Assigned Toantennen  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Summary0001366: RSS notifications do not work anymore with thunderbird
DescriptionSince last update in december or so, notifications by rss are broken.
Thunderbird hangs on "Veryfing the RSS feed..." when I try to subscribe.
Works well with Firefox though.
Additional InformationEasily reproducible: subscribe to rss feed CnPasted from profile page.
Thunderbird v2.0.0.18 on both Windows and Linux

http://feedvalidator.org/ gives some errors, but dunno if that may be the cause.
Tagsnotifcation, RSS

Activities

spider0042

2009-03-04 07:26

reporter   ~0002588

Last edited: 2009-03-04 07:48

The exact changes/solutions necessary to close this bug are listed below.

I have tested these solutions, and can verify that making these quick changes WILL FIX the Thunderbird problem (and possibly other reader issues).

The Thunderbird Problem which is being experienced is due to the '<rdf:li> issue' which is mentioned below.

Thunderbird may only need the <rdf:li> change (explained below), but the other two changes are just as trivial, and will move the feed closer to valid. (If anything is done, at least make the <rdf:li> change, as it will surely fix Thunderbird support (and possibly other reader support).

This issue is also 'related' to 0001441

The solutions follow...
-------

Below, you will find the minimum number of changes needed to make this valid for RSS 1.0, and thus allow Thunderbird to accept the feed. Only a very small number of changes need to be made (at least in terms of output).

In theory, this is a relatively simple fix.

[ Problems ]

- RSS1.0 <channel> requires 'rdf:about' attribute
- RSS1.0 <channel> requires a child element <description>
- 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?

[ Consider Before the Quick Fix ]

AniDB's 'Latest Files feed' is close to 'properly' formatted (you can ignore the missing timezone if desired). http://anidb.info/anidb.rdf This is a good reference for a 'working' format. Is any of the (perl) code reusable?

If not, you (or I) can easily close this bug in ~ 5 minutes by making 3-4 very trivial changes:

[ Trivial Solutions ]

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

- Add: The missing, but RSS1.0 required <description> element
    old: missing
    new: <description>User Notifications for $INSERT_USERNAME_HERE</description>
   Add this just below the <link> element (ie. anywhere within <channel>)

- Change: the <rdf:li> element 'tags' within <items>
    old: <rdf:li>htt p//anidb.net/f555850</rdf:li>
    new: <rdf:li rdf:resource="htt p//anidb.net/f555850" />
    ( 'htt p//' used to trick mantis bug tracker url parsing -_-; )

- 'Optional': 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 )

[ Details ]

The feed link is obtained when a user is logged in and viewing his/her 'Profile' Interface, and under the tab "RDF/Jabber".

The feed is generated/served by animedbrdf.pl : htt p//anidb.net/perl-bin/animedbrdf.pl?id=INSERT_UID_HERE-MAYBE_SHARED_SECRET_STRING_HERE&pri=1

-------------------

[ Related Ticket # 1441 ]

http://tracker.anidb.info/bug_view_advanced_page.php?bug_id=1441

The 'Latest Files Feed' at http://anidb.info/anidb.rdf has similar issues which make the feed an 'invalid RSS 1.0 feed'.

It does work with Thunderbird, but while one is fixing the 'User Notifications feed', it would be very nice/trivial to fix the same issues in the 'Latest Files Feed'. (Quick fixes for '<channel> missing rdf:about' and 'dates that are missing a timezone' are all that's necessary to archive a 'valid RSS 1.0 feed') ^_^;

Feeds can also be easily checked by uri, or even just by pasted xml : http://validator.w3.org/feed/

(editing mayhem @_@ - time for some sleep)

antennen

2009-03-04 10:59

administrator   ~0002589

Issue fixed, thank you for providing a wonderful bug report like that.

antennen

Issue History

Date Modified Username Field Change
2009-01-01 17:14 himek New Issue
2009-01-03 15:52 himek Tag Attached: notifcation
2009-01-03 15:52 himek Tag Attached: buddies
2009-01-03 15:52 himek Tag Attached: RSS
2009-01-08 00:45 fahrenheit Status new => assigned
2009-01-08 00:45 fahrenheit Assigned To => antennen
2009-01-31 14:46 himek Tag Detached: buddies
2009-03-04 07:26 spider0042 Note Added: 0002588
2009-03-04 07:32 spider0042 Note Edited: 0002588
2009-03-04 07:37 spider0042 Note Edited: 0002588
2009-03-04 07:38 spider0042 Note Edited: 0002588
2009-03-04 07:38 spider0042 Note Edited: 0002588
2009-03-04 07:39 spider0042 Note Edited: 0002588
2009-03-04 07:41 spider0042 Note Edited: 0002588
2009-03-04 07:42 spider0042 Note Edited: 0002588
2009-03-04 07:46 spider0042 Note Edited: 0002588
2009-03-04 07:48 spider0042 Note Edited: 0002588
2009-03-04 10:59 antennen Note Added: 0002589
2009-03-04 10:59 antennen Status assigned => resolved
2009-03-04 10:59 antennen Resolution open => fixed