[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[syndication] Bad entities
Julian Bond writes:
> In the last few days, I've seen a few rss feeds that have malformed
> XML due to non XML entities in encoded html in the <description>
> element. These are almost always perfectly valid html entities.
Ian Graham gave the only proper XML fix I know of, but I think this
speaks to the problem of .91 versus the practice in .92 of encoding
HTML in the description field.
Given that My Netscape has allegedly gone away (although they still
remind me when my feed is non-conforming), the right way to do this
for the syndicators which are currently out there seems to be
double-escaping, ie:
HTML: Gonzáles
Would become:
XML RSS: Gonz&aacute;les
Until a better thought out standard appears, telling people to fix
their feeds to the latter seems like the reasonable solution.
Dan