njx / snackr

Automatically exported from code.google.com/p/snackr
2 stars 0 forks source link

"feed can't be read" error from a Microsoft .Net Framework generated RSS feed #328

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Imported a generated feed from .Net Framework Library 
"System.ServiceModel.Syndication" 
2. Snackr won't load the RSS and it says "feed can't be read"

What is the expected output? What do you see instead?
To display feed entries

What version of the product are you using? (Note: if you pulled the source from 
SVN, enter a revision number here instead of a Snackr version number)
v0.41 

On what operating system?
Windows / Mac

What version of the AIR runtime do you have installed?
v2.5

Please provide any additional information below.

I found the solution for the problem, by default the class that generates the 
RSS in Microsoft .Net Framework (Rss20FeedFormatter) adds the following line on 
top <?xml version="1.0" encoding="utf-8"?>

while this seems correct, snackr won't recognize it as a valid RSS. and What 
you need to do is to add space between the end of the last attribute ( 
encoding="utf-8" ) and the end of the element ( ?> ).

but the Rss20FeedFormatter won't let you do that as it writes the stream data 
directly to the web response output stream.

recognizing encoding="utf-8"?> as a valid line in snackr would solve the 
problem 

Original issue reported on code.google.com by tawam...@gmail.com on 16 Feb 2011 at 7:08

GoogleCodeExporter commented 9 years ago
That's vey interesting. Sounds likely related to:
Microsoft Sharepoint feeds "can't be read" 
[ http://code.google.com/p/snackr/issues/detail?id=300 ]
Hopefully the suggested fix would apply equally.

Original comment by hale...@gmail.com on 5 Apr 2011 at 9:43

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I have the same problem.
Snackr won't load the RSS and it says "feed can't be read"
Please, could somebody take and solve this tiket for the next release?
When could be solved, when is the estimated date for the next update?
Thank you

Original comment by showdelu...@gmail.com on 26 May 2011 at 1:06

GoogleCodeExporter commented 9 years ago
HI i have the same problem ... Feed can't be read for all rss feeds... 
what happens ??? 

Original comment by frankdan...@ymail.com on 22 Aug 2011 at 4:20

GoogleCodeExporter commented 9 years ago
Same problem here with MOSS 2007. Looking forward to a fix.

Original comment by parado...@gmail.com on 16 Nov 2011 at 1:14