• Here’s the feed with problems:
    http://www.macuser.ro/feed/rss2/

    I am using Romanian characters encoded something like that:

    & i c i r c ;
    & # 2 5 8 ;

    (nevermind the spaces between letters).
    I assume they are the cause of RSS feed being broken. How can I fix it?

Viewing 1 replies (of 1 total)
  • you need to add CDATA tags around your content.

    for example your rss error is in the title so to fix it ….

    change
    <title><?php bloginfo_rss("name") ?></title>
    to
    <title><![CDATA[<?php bloginfo_rss("name") ?>]]></title>

    do that with wp-rss.php, wp-rss2.php and wp-atom.php and things should work ok for you, if the error appears again just check which tags contain the error and wrap the content in CDATA again.

Viewing 1 replies (of 1 total)
  • The topic ‘RSS broken by foreign characters’ is closed to new replies.