Bug 264099

Summary: Akregator does not seem to hande initial Byte Order Mark in RSS files
Product: [Applications] akregator Reporter: Torsten Ekedahl <teke>
Component: feed parserAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: 1.6.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Torsten Ekedahl 2011-01-23 18:12:06 UTC
Version:           1.6.5 (using KDE 4.5.5) 
OS:                Linux

Suddenly Akregator stopped accepting the feed 
http://www.dn.se/huvudnyheter-rss
reporting 'Could not read feed (unknown format)'.

Looking at the file it seems that it now has an initial Byte Order Mark (U+FEFF). This is something an UTF-8 encoded XML file may have (according to the XML standard) and therefore should be allowed.

Reproducible: Always

Steps to Reproduce:
Add http://www.dn.se/huvudnyheter-rss to feeds.

Actual Results:  
The feed becomes marked with a red square with a white cross and the above message is reported when cursor is put over the feed.

Expected Results:  
The feed should be working.

OS: Linux (i686) release 2.6.35-24-generic
Compiler: cc
Comment 1 Christophe Marin 2011-01-24 23:46:54 UTC
Sounds like the feed url is not valid. 
As far as I understand, http://www.dn.se/huvudnyheter-rss is redirected to an error page on www.dn.se
Comment 2 Torsten Ekedahl 2011-01-25 06:30:29 UTC
In the meantime they changed the URL to http://www.dn.se/toppnyheter-rss... However, that one still has the Byte Order Mark at the beginning but now Akregator accepts it. It seems that something else may have been wrong with the contents of the old URL and I misdiagnosed the reason. Sorry about that. In any case it works now.