Possible issue parsing delicous RSS feeds

What? There's a problem? Post a message here and we'll try to get it resolved!

Possible issue parsing delicous RSS feeds

Postby DasFreak on Wed Mar 16, 2005 2:08 am

Feel free to push this back and blame delicious. I've been unable to add an RSS feed for http://del.icio.us/rss/tag/ajax as nntprss complains about in invalid feed. I subscribe to the popular RSS feed with no problems.



From comparing a few other delicious rss feeds it appears the problem is with
Code: Select all
line 503, column 18: 'utf8' codec can't decode byte 0xbb in position 20753: unexpected code byte (maybe a high-bit character?)

I don't know enough about feeds processing to know if nntprss is correctly or incorrectly knocking back the feed because of this.
Checking "parse at all costs" resolves the problem.
Posts: 3
Joined: Sun Mar 13, 2005 4:53 am

Postby jason on Wed Mar 16, 2005 12:21 pm

nntp//rss, when using normal parsing, applies standard XML rules about syntax and character set encoding. The parser it uses is pretty strict about ensuring validity of characters within the doc, based upon the explicit or implicit charset (UTF-8 in this case).

I just successfully subscribed to the del.icio.us feed mentioned in your post. I noticed that some of the entries in that feed contained multi-byte characters - it is possible that one of the feed entries that just dropped off the bottom of the feed had some invalid encoding, which caused nntp//rss to reject it.

You should now be able to disable the 'parse-at-all-costs' option - however, note that if another invalid entry comes into the feed, nntp//rss will set a warning on the channel, and will not be able to parse items until the invalid entry disappears off the feed.

If the feed does become invalid again, please save a copy of the RSS doc, and email me a copy. Maybe we can help the del.icio.us guys out with an encoding issue...

Site Admin
Posts: 114
Joined: Sat May 03, 2003 10:44 pm
Location: West Orange, NJ

Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 1 guest