TapInvalid RSS feed

An RSS feed is an XML document with an implicit DTD. Unlike XHTML, this DTD doesn’t specify any named character entities so the only ones allowed are &, ', ", <, and >. This means that feed generators, like the one in WordPress and other blog & content management systems should convert any other character entities into numeric form before serving the feed document. WordPress 1.5, at least, doesn’t.

As a result, the feed received by the reader may generate a syntax error. In practice, most don’t seem to notice entities in the description text and pass them straight through for rendering but some, including Feedreader, choke if there are any in the title.

Conclusion—don’t use named entities in your blog titles.

4 Responses to “Invalid RSS feed”

^ Top