WordPress.org

Support

Support » Themes and Templates » RSS Theme?

RSS Theme?

  • Okay, I have seen in some RSS feeds that the Thunderbird RSS reader I use that the template and theme comes through in the post. In mine it’s not. I’m using a modified version of the 1.2.2 theme in my posts, although I have upgraded to 1.5.

    So what I would like to do is to insert the theme into that feed, but I don’t see how to do so. And the WIKI really isn’t much help.

    Any suggestions.

Viewing 8 replies - 1 through 8 (of 8 total)
  • are you talking about styling the output of your rss feed?

    You can use XSLT or CSS to style RSS feeds.

    I’ve been looking at doing this as well. Podcasting leaves me displaying my RSS feeds a lot.

    So my question is:
    <?xml version=&quot;1.0&quot; ?>
    <?xml-stylesheet type=&quot;text/css&quot; href=&quot;http://you.com/rss.css&quot; ?>

    how do you add this to your feed in WP?

    Put it in your wp-rss2.php file.

    Actually…

    Only errors return when adding this to the wp-rss2.php

    Nothing but unexpected T-STRING errors…

    somehow this has to be written into the output, or the functions.

    anyone have a more straightforward solution to adding a link to a style sheet for the RSS or ATOM output of WP?

    possible answer:

    Add it as a php echo tag in the file’s header.

    <?php echo '<?xml-stylesheet type=&quot;text/css&quot; href=&quot;http://you.com/rss.css&quot; ?>'; ?>

    I got this working and wrote it up here

    Thanks everyone for your help!

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