WordPress.org

Support

Support » Plugins and Hacks » Modify links in the RSS2 feed?

Modify links in the RSS2 feed?

  • 3stripe
    Participant

    @3stripe

    Hi folks, happy new year!

    I was wondering how to tweak the RSS2 feed so that the links are slightly different.. I’m using WordPress as a CMS for a Flash website, so the links need to point to that, and not the html page…

    So instead of:
    <link>http://www.website.com/?p=15</link>

    You would have maybe:
    <link>http://www.website.com/flashwebsite.html?postid=15</link>

    Do I need to modify feed-functions.php? (I’m using WP 1.5 btw)

    Cheers,

    James

Viewing 1 replies (of 1 total)
  • 3stripe
    Participant

    @3stripe

    Worked it out 😀

    In wp-rss2.php, I changed the <link> line to go like this:

    <link>http://www.website.com/?postid=<?php the_ID(); ?></link>

Viewing 1 replies (of 1 total)
  • The topic ‘Modify links in the RSS2 feed?’ is closed to new replies.