dangnvbkit / sparserss

Automatically exported from code.google.com/p/sparserss
Other
0 stars 0 forks source link

RSS Parse Error on feeds without proper header #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I've used Sparserss for the past few weeks, and it's really great.
I have lots of feeds that work, but just one that doesn't.

YCombinator Hacker News
http://news.ycombinator.com/rss

When entered, the Feed Returns:
Error: At line 1, column 0: no element found

My guess is some parsing error, but I can't be sure if its a result of the 
program or their feed. I know it works fine with other programs I've tried.

I'm on the HTC Hero, Android 2.1.

Thanks!

Original issue reported on code.google.com by cactuspo...@gmail.com on 9 Jun 2010 at 7:16

GoogleCodeExporter commented 9 years ago
The problem with this specific feed is that it is missing the xml-declaration 
and the parser is very strict to this.

I try to work around this.

Original comment by handschuh.stefan on 22 Jun 2010 at 9:03

GoogleCodeExporter commented 9 years ago
I have the same problem with a feed i made. The feed PASSES w3c feed 
validation, so i guess its not a syntax error..

Original comment by cthulh...@gmail.com on 3 Aug 2010 at 8:34

GoogleCodeExporter commented 9 years ago
Sorry for the long delay.

cthulhu87, can you look at the first line of your feed? Does it start with 
"<?xml ..." or with "<rss ..." ?

Original comment by handschuh.stefan on 16 Aug 2010 at 10:19

GoogleCodeExporter commented 9 years ago
Having the same issue with: http://www.mysqlperformanceblog.com/feed/

Original comment by patrickd...@gmail.com on 18 Aug 2010 at 2:49

GoogleCodeExporter commented 9 years ago
Fixed in revision 36.

The problem was, that the feeds identified themselves as "text/html".

Today (CEST) will be a new release.

Original comment by handschuh.stefan on 25 Aug 2010 at 12:01

GoogleCodeExporter commented 9 years ago
Released in version 0.4.2

Original comment by handschuh.stefan on 25 Aug 2010 at 12:11

GoogleCodeExporter commented 9 years ago
yay, it works :)

Original comment by patrickd...@gmail.com on 26 Aug 2010 at 4:09