Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter sitapati

    (@sitapati)

    Thanks for the tips guys. I did the elimination of the plugins, and it turned out to be Elliot Back’s WordPress Hashcash.

    Word!

    Thread Starter sitapati

    (@sitapati)

    Here’s the first few lines of wp-rss2.php:

    <?php

    if (empty($wp)) {
    require_once(‘wp-config.php’);
    wp(‘feed=rss2’);
    }

    header(‘Content-type: text/xml; charset=’ . get_settings(‘blog_charset’), true);
    $more = 1;

    ?>
    <?php echo ‘<?xml version=”1.0″ encoding=”‘.get_settings(‘blog_charset’).'”?’.’>’; ?>

    The xml version line is output, but the header line is not, which is why feedvalidator complains about it being sent as text/html. At the same time two blank lines are put into the feed.

    Any ideas on why? My php-fu is pretty weak.

    Thread Starter sitapati

    (@sitapati)

    Perhaps I haven’t explained it nicely.

    I want the content tag of the rss feed to contain what is display on the front page of my blog. At the moment I can choose between a few sentences or the whole thing. On the front page I can control where it is truncated by using the more tag. So I want exactly that content of the front page syndicated in the feed, including or excluding the “more” hyperlink.

    This is b2evo’s default behaviour. It will pass the entire article, or if the article has been paged it will pass the first part, along with the hyperlink to “Read more”

Viewing 3 replies - 1 through 3 (of 3 total)