WordPress.org

Ready to get started?Download WordPress

Forums

xml css style (6 posts)

  1. adapting
    Member
    Posted 8 years ago #

    Hi,
    I want to style my wordpress rss feed at http://www.alanwho.com/feed (site currently under development).

    When I view the feed in my browser all I see is XML code.

    I would like the XML to have a style similar to that on BBC rss links such as http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss.xml

    I did some searching on the only matching article is http://fernando.dubtribe.com/archives/2005/05/14/rss-style-for-your-wp-feed/
    which has no link for the XML CSS file.

    Does anyone know where I can get a CSS stylesheet for a WordPress RSS feed?

    Alan.

  2. whooami
    Member
    Posted 8 years ago #

  3. adapting
    Member
    Posted 8 years ago #

    Cheers whooami. Currently checking them out.

  4. adapting
    Member
    Posted 8 years ago #

    Yo,
    Checked out the above links. I think I will need to do some learning on a later date. Is there definetly no CSS or XSL files designed specifically for WordPress RSS feeds online and available now?

  5. whooami
    Member
    Posted 8 years ago #

    "Checked out the above links. I think I will need to do some learning on a later date. Is there definetly no CSS or XSL files designed specifically for WordPress RSS feeds online and available now?"

    Learning is something that should be done on every date.

  6. adapting
    Member
    Posted 8 years ago #

    For the record:

    I found an XSL and associated files that achieve my aims above at http://66.249.93.104/search?q=cache:cSlWA8P7dVgJ:kpumuk.info/xslt/sorting-rss-feed-by-date-using-xslt/+wordpress+feed+xsl+stylesheet&hl=en&gl=uk&ct=clnk&cd=1.

    The only edit on the WordPress wp-rss2 file is aroudn line 10 after the XML declation. Add:
    '
    <?php echo '<?xml-stylesheet title="XSL_formatting" type="text/xsl" href="rss.xsl"?>'; ?>
    '

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags