• First of all, the drop down menu for version is behind. It doesn’t have 2.7.

    Anyways, I wanted to edit my wordpress’ feed output, but unfortunately the documentation is quite a bit out of date. Now if you open up any of the wp-rss or feed.php all you get is:

    <?php
    /**
     * Redirects to the RSS2 feed
     * This file is deprecated and only exists for backwards compatibility
     *
     * @package WordPress
     */
    
    require( './wp-load.php' );
    wp_redirect( get_bloginfo( 'rss2_url' ), 301 );
    
    ?>

    Oh, uh, okay. I do quite a bit of custom formatting and I’d be pleased if my feed did the same.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You can edit wp-includes -> feed-rss2.php

    Thread Starter guesst

    (@guesst)

    Yes, I can, but all it has is what I quoted above. Generally speaking the words “deprecated” and “backwards compatibility” mean “it’s not done like THIS anymore.” So how is it done? How do i fix it?

    Basically I’d like to add images and dynamicly created links to my feeds, like I do for my programs.

    feed-rss2.php is not depreciated, but you will have to re-update it with every WordPress upgrade. If you want to modify your feed more efficiently, find a plugin for this or write your own.

    Thread Starter guesst

    (@guesst)

    I wish there was a plug in. As for a plug in I wish there was one. I would write my own, but I’m knee deep in other projects right now.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘RSS editing’ is closed to new replies.