• Somewhat mysteriously (we don’t *think* we changed anything since updating to 2.8.4 many weeks ago), our RSS feed seems to be broken. I’ve tried disabling plugins, removing whitespaces, reverting to the default theme, and lots more, but nothing seems to be doing it.

    The blog is at http://mediastorm.org/blog/
    The feed is at: http://mediastorm.org/blog/wp-rss2.php
    ….though that now redirects to http://mediastorm.org/blog/?feed=rss2, whereas it used to show the feed straight from that address. 2.8.4 change, I assume?

    Anyway, it seems that the problem is the way we’re using the blog. We have the usual 4 lines of WordPress PHP (“short and sweet”) wrapped in a larger HTML page, which includes our Flash header and the footer include. Whereas the old code used to return an XML feed that began with the XML declaration, you’ll see (by viewing the source in our feed link above) that it now returns all of the HTML code wrapper around the WordPress include code in addition to the feed XML code in the place of the WordPress include code in the body. As a result, the document isn’t being identified properly as an XML feed, as verified by an RSS validator: http://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Fmediastorm.org%2Fblog%2F%3Ffeed%3Drss

    This never used to work like this; it’d return the clean RSS XML that was expected. Any thoughts on how to fix this?

    THANKS!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter milkmit

    (@milkmit)

    Anyone, please?

    ….though that now redirects to http://mediastorm.org/blog/?feed=rss2, whereas it used to show the feed straight from that address. 2.8.4 change, I assume?

    No. Its been that way for awhile.

    We have the usual 4 lines of WordPress PHP (“short and sweet”) wrapped in a larger HTML page, which includes our Flash header and the footer include.

    That’s not going to work, at least not reliably. WP generates the whole page so you are duplicating things like <htmL>, <head>, and <body> tags that should be unique. you’ve now got a seriously invalid page, and not just the RSS feed. This is not the way to do this. Maybe an iframe. Maybe look into including wordpress functions outside of the WP directory.

    Thread Starter milkmit

    (@milkmit)

    Thanks, apljdi. The invalidity of the site is a whole separate issue (which I know could have been part of the problem here — turns out it wasn’t, directly), and it’s something we’re actually in the middle of (finally) addressing after quite a few years. To compound things, I’m not the person that originally set the blog (or site) up, so it’s been difficult to debug.

    Anyway, I wound up moving things in a slightly more proper direction, putting the header and footer of our site into the WordPress theme’s header.php and footer.php files. Took some fiddling around, but it now seems to be working properly, including RSS.

    To compound things, I’m not the person that originally set the blog (or site) up, so it’s been difficult to debug.

    I feel for your suffering, sincerely.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘yet another RSS feed problem’ is closed to new replies.