WordPress.org

Ready to get started?Download WordPress

Forums

RSS Theme? (9 posts)

  1. Daven
    Member
    Posted 9 years ago #

    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.

  2. dss
    Member
    Posted 9 years ago #

    are you talking about styling the output of your rss feed?

  3. brainwidth
    Member
    Posted 9 years ago #

    You can use XSLT or CSS to style RSS feeds.

  4. dss
    Member
    Posted 9 years ago #

    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?

  5. dgstinner
    Member
    Posted 9 years ago #

    Put it in your wp-rss2.php file.

  6. dss
    Member
    Posted 9 years ago #

    Actually...

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

  7. dss
    Member
    Posted 9 years ago #

    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?

  8. dss
    Member
    Posted 9 years ago #

    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; ?>'; ?>

  9. dss
    Member
    Posted 9 years ago #

    I got this working and wrote it up here

    Thanks everyone for your help!

Topic Closed

This topic has been closed to new replies.

About this Topic