On Thu, Nov 04, 2004 at 07:04:32PM +0000, Ben Francis wrote:
Thanks slef for the page on Syndication Tools in the ALUG Wiki.¹
I was just wondering, why is it that certain HTML produced by LiveJournal² (especially images) breaks Planet ALUG/Mabloss³? I'm assuming it's because LiveJournal produces bad code in the RSS feed. Is this the case?
Generally, it's because the markup, possibly entered by the evil user of LiveJournal, is not XHTML compliant. Certainly the Planet ALUG code does only work with XHTML compliant markup in the RSS feed, otherwise it escapes all entities. It's not "broken", it's just dealing with the input in the easiest way possible.
It could be that people are using <img src="somewhere"> instead of <img src="somewhere" alt="something" />.
What's the best approach to fix this?
Make the world learn how to post clean XHTML.
Cheers,