Closed yPhil-gh closed 3 years ago
at strictFail (node_modules/sax/lib/sax.js:677:7)
What's the result of the strict: false
option of xml2js ?
https://github.com/Leonidas-from-XIV/node-xml2js#options
What's the result of the strict: false option of xml2js ?
Same :(
You can try downloading the feed yourself, sanitizing the string, and then passing it to parseString
Closing this as it seems like an issue w/ the underlying feed.
Hi, thanks a lot for this project, it rocks.
This feed: https://exode.me/feeds/videos.xml?videoChannelId=484
errors:
In the validator, there are warnings, but the feed is read by other readers, like node-feedParser (1) as one can see here.
Apparently the problem lies in unrecognized tags, like
<media:community>
; I tried various options:But none seem to work for this feed, can this be (fingers crossed) sorted using an option, or is it a #bug?
EDIT : so far I traced it to be a known sax error:
When DLoaded via
wget
the feed doesn't have anything before the first tag, it does however, end with a%
after the last tag, so maybe that's the problem :Feeds that work don't have that trailing char.
At first I though "Oh well, rss-parser is not MediaRSS-compatible" but
%
:Can sax errors be ignored somehow, as they seem to be "generally non critical" (I read this now and then, and this seems to be just the case right now)?
1-the opposite can be true, I have one feed here, that only rss-reader can read, thanks to the
rejectUnauthorized: false
trick :)