• https://www.amyobsessive.com
    I had RSS issues before (which was my server), but now I’ve changed to bloghosts and I figured that’d allow my RSS to work just fine. I did all that I needed to do to get everything switched over, but my RSS feed isn’t working, only the Comments one is.
    There seems to be some sort of issue with the encoding, and I don’t know what I can do to fix that and/or why it works for one but not the other.
    Also, what is the difference between the two RSS feeds? Maybe a dumb question, but I’d be dumber not to ask and just live without knowing ??
    Thanks, in advance, for any help.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Probably because you have some whitespace in wp-rss2. It should look like this:
    ?>
    <?php echo ‘<?xml version=”1.0″ encoding=”‘.get_settings(‘blog_charset’).'”?’.’>’; ?>
    Make sure there are no spaces after the first ?> above

    Thread Starter amyobsessive

    (@amyobsessive)

    I understood what you meant… There isn’t any extra whitespace that I can see. Plus, I don’t recall ever really tampering with it to where there would even be whitespace. :-/ Check which file for whitespace?

    wp-blog-header.php
    I’m sure Matt or somebody will come along soon with the “obvious” answer.

    Thread Starter amyobsessive

    (@amyobsessive)

    Well the thing that gets me is that my comments RSS works but not the other one. Does that even make sense? Are there files associated with only one but not the other? This could be obvious but it just seems strange to me that one works but the other one doesn’t.

    For your feed, I get the following
    in your feed, if I view source, I see a space before the <?xml
    I see

    <?xml version="1.0" encoding="utf-8"?>
    - <!-- generator="wordpress/1.2"
    -->
    - <rss version="0.92">

    space included
    and the error thrown is :
    XML Parsing Error: xml processing instruction not at start of external entity
    Location: https://www.amyobsessive.com/feed/rss/
    Line Number 2, Column 1:
    So it seems like you have an extra space, or blank line before the <?xml
    line.
    You could fix it by editing the file to remove whitespaces.
    For one, try removing the space here:
    header('Content-type: text/xml', true);
    ?>

    Thread Starter amyobsessive

    (@amyobsessive)

    I’m sorry for possibly being lame, but I don’t know which files I should be checking for this whitespace. I tried downloading the files from wordpress and putting in fresh new files from the site, unaltered by me (which they never were in the first place), and its the same issue. Those files shouldn’t have the whitespace should they? especially if they work on everyone else’s sites.
    When the source is viewed, I don’t know which php files those are coming from because I don’t know enough about what is going into the /feed/rss stuff. I just need a little more ellaboration on what it is I should be doing to which files so I don’t get confused and mess more things up.
    Thanks again for the help so far… Your responses are really appreciated ??

    Thread Starter amyobsessive

    (@amyobsessive)

    THANK YOU SO MUCH FOR ALL OF YOUR HELP ?? I got it working. I feel like sending you both thank-you notes. All I can provide though are pictures of me and, like, gmail accounts. Ha.

    Alvin

    (@alvin)

    Maybe you could tell us where did you find the whitespace?

    jsbadillo

    (@jsbadillo)

    I hace the same problem, but did it what you suggest and don?′t work RSS… another idea?

    jsbadillo

    (@jsbadillo)

    I use wordpress 1.5, and I can?′t read my RSS, I’ve tried with some themes, but happen the same. I use Pluck in order to read the RSS. In some themes (actually) I can read the comments RSS, but no the general RSS. Tks. https://www.aweblog.org
    The comments are in: https://www.aweblog.org/wp-commentsrss2.php and th general RSS in https://www.aweblog.org/wp-rss2.php

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘RSS for Comments working, other RSS not.’ is closed to new replies.