I’m pulling the “Astronomy Picture of the Day” feed from http://apod.nasa.gov/apod.rss
According to feedvalidator.org magpie can’t handle an apostrophe in the feed that has the wrong encoding. That single character is blowing the whole feed, creating a hole in my site where that feed usually goes. The error references an invalid character
First of all, I’m amazed magpie can’t deal with a single weird character. Can’t it ignore it, or put in a question mark, or asterisk instead? I’m only pulling the one latest post, but since the post with the weird character is still in their stack magpie still refuses to parse anything.
Secondly, is there anything I can do about this?
I tried putting in
{exp:magpie url="http://apod.nasa.gov/apod.rss" limit="1" refresh="1" parse="inward" convert_encoding="y" encode="UTF-8"}but that doesn’t seem to help…
I have contacted the feed admins, but I’m not sure they’ll do anything to fix the feed or encode the feed correctly…
I found this page: http://simplestation.com/locomotion/displaying-html-entities-in-magpie-rss/, that suggests a potential solution, but I do not know php encoding.
Please help!