Support » Requests and Feedback » wp-rss2.php broken after localization

Viewing 15 replies - 1 through 15 (of 18 total)
  • I also have some serious trouble with my 1.5 installation and RSS-feeds. Tere are two major problems:

    The feeds read OK in a browser, but the only feed reader that will accept my RSS-feeds is Mozilla Thunderbird. I try to add my feeds to RSS Bandit, SharpReader and NewsGator. They all say that the feed does not exist.

    If I add a post with special norwegian characters in the subject of the post the feed gets broken. It shows this error in a browser:
    XML Parsing Error: undefined entity
    Line Number 18, Column 21: <title>Tittel med ø</title>

    This will actually crash Mozilla Thunderbird.

    In other words, RSS is completely useless in WordPress 1.5

    I am currently converting from MovableType, but if WordPress 1.5 can not give me RSS-feeds I have to go back to MovableType again…

    Any suggestions?

    Here are two of my blogs:

    Some additional info:

    1. The Atom-feed for my testblog actually works in RSS-Bandit, but is not possible to add in NewsGator

    2. The Atom-feed works even after the norwegian characters in the subject

    Check this feed:
    RSS-Feed that is broken because of a norwegian character:

    Working atom feed for the same blog:

    Another example:
    The RSS-feed for the MovableType-version of one of my blogs:
    …works in all readers I have tried.

    The RSS-feed for the WordPress copy of the same blog:
    …is completely broken…

    Thread Starter lucero


    due the update of more and more wordpress blogs to 1.5, many rss2 feeds are broken – i thing this bug should marked as “urgent” 😉

    all 1. 5 blogs with localization are affected!

    is there bugtracking system for wordpress?

    There are two problems here. One concerning localization. The other concerning the fact that the RSS-feed (regardless of localization) is not accepted in a large number of feed readers!

    For the blogs I have mentioned before in this thread, I have not done any localization of WordPress! But, I have content in my blogs that contain norwegian characters.

    So, basically all my installations of WordPress is practically without RSS-feeds. Any suggestions? I refuse to believe that everybody using WordPress have RSS-feeds that does not validate. Something has to be wrong with my installation (in addition to the fact that WordPress 1.5 has a major problem with localization).

    I have done some more tests.

    I cleaned my testblog completely for all special characters and did some tests:

    Read the feed in Firebird:

    Add the feed in RSS Bandit:
    Web Failure
    Refresh feed ‘\Testblogg’ failed with error: Unexpected HTTP httpResponse: NotFound

    Add the feed in NewsGator:
    Error: subscription could not be added. Please check the URL and try again.

    Add the feed in Sharpreader:
    Error reading URL: The remote server returned an error: (404) Not Found.

    Testing the feed in
    Server returned HTTP Error 404: Not Found

    Adding the feed in Mozilla Tunderbird:
    Works fine!

    ….then I add one post with one Norwegian character in the subject:

    It stops working in Thunderbird and will not read in a browser.

    So, the RSS-feed is actually quite useless in any cases. And, completely useless if you have a special character in the subject of a feed.

    I have now added a norwegian character to one of the posts in this testblog, so right now it does not read at all…

    This is the feed:

    I have not done any localization of WordPress, and these are the feeds of my other blogs:

    …does not work very well…

    Suggestions are welcome!

    Thread Starter lucero


    the title should not contain html entities.

    a “ø” works fine for me
    &oslash; wont work

    here ist a list of unicodes, they should work instead:

    a <![CDATA[<?php the_title_rss() ?>]]> in wp-rss2.php should fix it, but i think its unfunctional cause a reader will show the plain html entity instead.

    Thread Starter lucero



    echo utf8_encode(html_entity_decode($title));

    instead of echo $title;

    in wp-includes/feed-functions.php line 12

    will fix this problem.

    Thank you very much! That fixed the problem with the completely broken feed. I know that this might not be the correct use of norwegian characters, but after a transfer from MovableType, and after posting to the blog through mail, these things happen to the norwegian characters…

    Your fix did the trick!

    However, the most serius problem with my feeds is the fact that Mozilla Thunderbird is the only reader that will accept them.

    Try this one:

    It now reads fine in the browser (thanks to lucero), but it is still refused in NewsGator, SharpReader and RSS Bandit… etc.

    Any suggestions?

    Thread Starter lucero


    Well, lucero has just made one person up there in cold and dark Norway very happy!

    This works perfectly well, in NewsGator, in RSS-Bandit…!

    Thank you very much.

    (…so why is the default link in the default theme when you install WP a link to wp-rss2.php, if that cause trouble?)

    Well, I have to try again:

    The links to my comment-rss feeds are just as bad when it comes to validation:

    Any suggestions here?

    And a last one:
    Of course I want to change the links to the feeds according to luceros example. I can see that my template file gets the feed url from template tags:


    I do not want to hard code the change in the theme. But, I can not find a place where I can change the tag itself so it will change all places where this tag is read.

    Thread Starter lucero


    Well, what should I say? This works like a charm. Thank you again!

    As far as I can understand, right now I need to do some hard coding to fix the problem in my templates.

    …looking forward to 1.5.1 and again: huge thanks to lucero for all the help.

    For anyone with the same problems, I have tried to sum it all up here with instructions on how I have changed my feed links to the ones lucero has suggested:

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘wp-rss2.php broken after localization’ is closed to new replies.