WordPress.org

Forums

RSS error ? (7 posts)

  1. Co
    Member
    Posted 7 years ago #

    Hello,

    I have no idea why my RSS are broken... I haven't any addon installed, so no possible blank line (?).

    I'm sorry it is all in french, I'm hoping that going on the page in question you'll see the text in english :)

    Erreur d'analyse XML : données incompréhensibles après l'élément de document
    Emplacement : http://bdfil.ch/wordpress/wp-rss.php
    Numéro de ligne 4, Colonne 10 :			</div><?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2" -->
    ------------------------------^

    http://bdfil.ch/wordpress/wp-rss.php

    Many thanks in advance for the help !

  2. Co
    Member
    Posted 7 years ago #

    Hello,
    I would deeply appreciate any help.
    Thanks.

  3. moshu
    Member
    Posted 7 years ago #

    Where that </div> comes from? I don' think it should be there...

    Next. Where is the blog? This: http://bdfil.ch/wordpress/ gives a 404 - not found.

  4. Co
    Member
    Posted 7 years ago #

    Hello and thanks for the reply !

    I've got no idea where the <div> came from, I didn't touch that rss file at all. Do you think it may be causing this ?
    I opened the RSS file : That's all you can finde inside :

    if (empty($wp)) {
    	require_once('wp-config.php');
    	wp('feed=rss');
    }
    
    require (ABSPATH . WPINC . '/feed-rss.php');

    The blog is located here : http://www.bdfil.ch/
    It was already configured like this last year and it did work fine. Now that I changed the template it doesn't work anymore.

  5. moshu
    Member
    Posted 7 years ago #

    Back to the basics:
    Your feeds are here - not where you said they are!
    http://www.bdfil.ch/feed

    they are even valid!

  6. Co
    Member
    Posted 7 years ago #

    Wow :) Is that something that has been changed with the latest WP update, or has it ever been like this ?

    BTW, many thanks :)

  7. moshu
    Member
    Posted 7 years ago #

    If you use nice permalinks - the feeds are at
    example.com/feed
    and if you don't use them they should be at
    example.com/?feed=rss2

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags