aureliendavid / rsspreview

WebExtension to preview RSS feeds in the browser
MIT License
99 stars 6 forks source link

Problem with html-codes eg. eacute #39

Closed rular closed 4 years ago

rular commented 5 years ago

Hey,

is this a bug or is it by design?

when I open my rssfeed, I get an error "undefined entity at row xxx column xx" and at this position is an "é" (haha, it's just showing an é but I mean an "& eacute ;"

did you encountered the same?

aureliendavid commented 5 years ago

do you have an example feed where this happens?

rular commented 5 years ago

Yes, try this one:

Http://bondage.dynns.com/bondage/Podcast10b.xml

Mit freundlichem Gruß

Am 18.06.2019 um 17:35 schrieb A. David notifications@github.com:

do you have an example feed where this happens?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

aureliendavid commented 5 years ago

Thanks.

It looks like html entities (like é) aren't available in xml except for these 4: https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references#Predefined_entities_in_XML

It results in an invalid xml file and rsspreview can't do anything with it because the parser fails.

You can replace é with é for the same result but that produces a valid xml file.

You can get the numerical codes here for example: https://www.w3schools.com/charsets/ref_html_entities_e.asp

rular commented 5 years ago

Yeah, tried that. But then, itunes won‘t be able to read this. Bcs another feed is released via itunes/apple - I had to turn all these special characters to normal ones.

Fkn apple shit

Regards

Am 19.06.2019 um 14:02 schrieb A. David notifications@github.com:

Thanks.

It looks like html entities (like é) aren't available in xml except for these 4: https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references#Predefined_entities_in_XML

It results in an invalid xml file and rsspreview can't do anything with it because the parser fails.

You can replace é with é for the same result but that produces a valid xml file.

You can get the numerical codes here for example: https://www.w3schools.com/charsets/ref_html_entities_e.asp

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.