WordPress.org

Support

Support » Themes and Templates » [Resolved] My WordPress blog doesn't work with FeedBurner

[Resolved] My WordPress blog doesn't work with FeedBurner

  • Hello Forum –

    I have a site hosted by Network Solutions, which uses a WordPress plugin for the blog. Instead of building a custom WordPress theme for the blog (I was intimidated by the prospect), I pull data from my WordPress database into my webpage using PHP calls I copied from the default template (Kubrick). The only problem I’ve had so far is that I cannot get FeedBurner to work.

    WordPress is definitely generating a valid RSS feed: I can pick up the feed with using Google Reader. When I switch to a WordPress blog theme, Feedburner works just fine. But when I use my custom layout, FeedBurner poops out.

    I have tried several addresses in FeedBurner’s “original feed” field. When using “http://www.gretchenpeterson.com/blog/?feed=rss/” for the original feed, Feedburner comes back with the error “The URL does not appear to reference a valid XML file” and feedvalidator.org says “Server returned HTTP Error 500: Internal Server Error”.
    When using “http://www.gretchenpeterson.com/blog/wp-rss2.php,” I get the same Feedburner error and feedvalidator.org says “XML parsing error: <unknown>:264:0: junk after document element”.
    When using “http://www.gretchenpeterson.com/blog/feed”, the error message for both FeedBurner and feedvalidator.org is “An error occurred connecting to the URL: Error getting URL: 404 – Not Found”

    As far as I can tell, the problem is that FeedBurner is looking for an XML file; WordPress seems to use PHP files to generate XML on the fly (no XML file). I have tried unsuccessfully to track down the code in the various WordPress files that controls the RSS feed. There’s obviously something about how WordPress handles RSS feeds that I don’t understand and my custom layout doesn’t include whatever the magic RSS thingie is.

    The blog is: http://gretchenpeterson.com/blog/

    If anyone has any advice to offer, I’d greatly appreciate it.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • I have tried unsuccessfully to track down the code in the various WordPress files that controls the RSS feed.

    I guess this one: wp-includes/feed-rss2.php

    Hi Gisha –
    That file contains a note that says it’s deprecated and exists only for backwards compatibility.

    It also contains this code:

    require( ‘./wp-load.php’ );
    wp_redirect( get_bloginfo( ‘rss2_url’ ), 301 );

    Maybe the get_bloginfo bit is the key?

    The answer to this, btw, was not to try to understand how WordPress handles RSS feeds between myriad files and functions but to rebuild the entire blog, based on a working template, testing all along the way, to make sure whatever code is necessary isn’t deleted.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] My WordPress blog doesn't work with FeedBurner’ is closed to new replies.
Skip to toolbar