Skip to:
Content
Pages
Categories
Search
Top
Bottom

WPMU 2.8.4a deep integration breaks RSS feed


  • Greg
    Participant

    @rebootnow

    [posted this on the bbPress forum, but no traction there]

    I have bbPress 1.0.2 and WPMU 2.8.4a (+ BP 1.03) with deep integration (I call wp-blog-header.php in ‘bb-config.php’).

    All of the forum RSS feeds work, except the top level feed of all new posts across the forum: <site URL>/<forum name>/rss/

    This is true for FF, IE and Safari.

    In IE, I see the error:

    Invalid xml declaration.
    Line: 13 Character: 3

    <?xml version="1.0" encoding="UTF-8"?>

    Viewing the source, it looks like WPMU is inserting an XML header above the bbPress XML header:

    <?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.8.4" -->
    <rss version="0.92">
    <channel>
    <title>[SITE NAME] » Page not found</title>
    <link>[SITE URL]</link>
    <description>Just another [SITE NAME] weblog</description>
    <lastBuildDate>Sun, 06 Sep 2009 14:07:54 +0000</lastBuildDate>

    <docs>http://backend.userland.com/rss092</docs>
    <language>en</language>

    </channel>
    </rss>
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- generator="bbPress/1.0.2" -->

    ETC...

    Does anyone else have this issue?

    I have repo’d something very similar on a previous version of the site that is using WPMU 2.2. Any suggestions much appreciated.

Viewing 1 replies (of 1 total)

  • Sven Lehnert
    Participant

    @svenl77

    tray this deep integration script instead, this should fix your problem.

    if ( !defined( ‘ABSPATH’ ) & !defined( ‘XMLRPC_REQUEST’ )) {

    define( ‘WP_USE_THEMES’, false );

    include_once( ‘/your/absolute/path/to/wordpress/wp-config.php’ );

    $wp->init();

    $wp->register_globals();

Viewing 1 replies (of 1 total)
  • The topic ‘WPMU 2.8.4a deep integration breaks RSS feed’ is closed to new replies.
Skip to toolbar