WordPress.org

Support

Support » Requests and Feedback » Fix HTML character entities in RSS/Atom feeds

Fix HTML character entities in RSS/Atom feeds

  • Also posted to my blog…
    —–
    A mild gotcha that the WordPress folks (users and coders alike) might want to take notice of:
    My RSS and Atom feeds are currently invalid because I inserted HTML character entities (specifically ô and ñ) into my posts, rather than using the numerical Unicode equivalents or inserting the characters directly.
    The fix, if you choose to code it, is to do a quick search-and-replace sweep for those entities when outputting any sort of XML other than XHTML. The fix, if you choose to author it, is not to be lazy like I am—look up the numbers and use ’em.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Fix HTML character entities in RSS/Atom feeds’ is closed to new replies.