• Resolved brittanie

    (@brittanie)


    I use Safari, which has “autodiscovered” a feed on my blog, which would be great except the feed it noticed first was the comments feed, not the posts feed. I fixed this by deleting all references to other feeds in my header except RSS 2.0.

    Now, the autodiscovery is finding RSS 2.0, but it’s only outputting the post excerpts, even though I have selected to publish the full content in the dashboard.

    How can I fix this? Do I need to edit the core files? If so, what do I change?

Viewing 5 replies - 1 through 5 (of 5 total)
  • It’s because your feed reader is using the description rather than the “content:encoded”.

    http://rulebrittaniea.org/wp-rss2.php

    By editing your wp-rss2.php or by writing a small plugin, you could probably change the two.

    It could be because you have the following parsing error in your feed:

    XML Parsing Error: undefined entity
    Location: http://rulebrittaniea.org/wp-rss2.php
    Line Number 12, Column 15:

    Thread Starter brittanie

    (@brittanie)

    Okay, the undefined entity is fixed but that didn’t solve the problem. Viper, I’m sure I need to edit my RSS 2 file but I don’t know what to edit.

    I have looked at this thread but I don’t have htaccess. The rest is all gibberish to me.

    I’m hesitant to edit the 2.0 file without really knowing what I’m doing. Viper, do you have more specific advice?

    Open up the file and look for this:

    <?php else : ?>
    <description><![CDATA[<?php the_excerpt_rss() ?>]]></description>
    <?php if ( strlen( $post->post_content ) > 0 ) : ?>

    Replace “the_excerpt_rss()” with “the_content('', 0, '')“. Should work.

    Thread Starter brittanie

    (@brittanie)

    Well, I don’t know what happened but I just opened the file and didn’t change a thing, just re-saved, and suddenly it works. So thanks for the quick reply.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘issues with RSS and autodiscovery’ is closed to new replies.