danmactough / node-feedparser

Robust RSS, Atom, and RDF feed parsing in Node.js
Other
1.97k stars 192 forks source link

Not a Feed Error #232

Closed jaseemkp closed 6 years ago

jaseemkp commented 7 years ago

Getting parse error on http://www.thenewsminute.com/andhra.xml and http://www.indiaglitz.com/home_1.xml

BadgerBadgerBadgerBadger commented 7 years ago

@jaseemkp Can you elaborate on the exact error? Maybe share the error message?

If you check: https://www.feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.indiaglitz.com%2Fhome_1.xml you'll see the second feed is, in fact, not valid.

danmactough commented 6 years ago

@jaseemkp It looks like you need to uncompress or un-gzip http://www.thenewsminute.com/andhra.xml before you pass it to feedparser. You should be able to adapt the example.

As @ScionOfBytes noted (thanks!), http://www.indiaglitz.com/home_1.xml is not a valid feed.