Skip to content

How to create a style sheet for xml, rss feeds?

This is a small RSS feed that has 2 items in it. Is it possible to create a stylesheet for rss feeds, so for example make all descriptions in the feeds be underlined? If so how, or could you give me an example please?

Thanks

<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>
<rss version=\"2.0\">
<channel>
<item>
<description>Tony Blair defends his close relationship with the US, following a scathing report from a Chatham House expert.</description>
<link>http://news.bbc.co.uk/go/rss/-/1/hi/uk_politics/6194443.stm</link>
</item>
<item>
<description>Tony Blair defends his close relationship with the US, following a scathing report from a Chatham House expert.</description>
<link>http://news.bbc.co.uk/go/rss/-/1/hi/uk_politics/6194443.stm</link>
</item>
</channel>
<rss>

59 Comments

  1. Jason Homan wrote:

    This small style sheet will make all your descriptions in your feed underlined

    <style type="text/css">
    description {
    text-decoration: underline;
    }
    </style>

    you can save this style sheet in file, example "style.css" and attach to your feed.
    But notice: When you save style sheet as file the "<style" …> and </style> tags must be removed!

    Here is example feed with style sheet:

    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <?xml-stylesheet type="text/css" href="http://yourdomain.com/style.css"?>
    <rss version="2.0">
    <channel>
    <item>
    <description>Tony Blair defends his close relationship with the US, following a scathing report from a Chatham House expert.</description>
    <link>http://news.bbc.co.uk/go/rss/-/1/hi/uk_p…
    </item>
    <item>
    <description>Tony Blair defends his close relationship with the US, following a scathing report from a Chatham House expert.</description>
    <link>http://news.bbc.co.uk/go/rss/-/1/hi/uk_p…
    </item>
    </channel>
    <rss>

    Wednesday, January 27, 2010 at 3:22 pm | Permalink
  2. Jake Cigar wrote:

    if the previous answer works, let me know… I would assume any rss reader (including the one you found) would ignore the directive … but a simple web browser might handle it when viewing the rss directly. but it would need a FULL stylesheet to show each of the different tags… very messy!

    Wednesday, January 27, 2010 at 3:22 pm | Permalink
  3. changed purely from their conclusion from the

    Tuesday, November 8, 2011 at 8:39 am | Permalink
  4. The littlest main difference within ranking quite possible is the pip, and number reason (durante). This is actually the 4 . decimal place of trading. Here is an example, if for example the niche proceeds out of An individual.4307 one.4309, while your amount improved out of Regarding pips.

    Tuesday, November 8, 2011 at 1:32 pm | Permalink
  5. Cured merchandise

    Tuesday, November 8, 2011 at 7:34 pm | Permalink
  6. Dixie Garron wrote:

    I never wondered about easter bunny origins, thanks for sharing this!

    Tuesday, November 8, 2011 at 11:12 pm | Permalink
  7. Locate Position (space as the maxim goes), the principal parities were cared for in ’04, in keeping with BIS:

    Wednesday, November 9, 2011 at 4:33 pm | Permalink
  8. Odlicno Bojane Vise me nece smarati VS..

    Saturday, November 12, 2011 at 10:17 pm | Permalink
  9. Open Day through 23 weeks time, the majority of task occurs when the The capital Currency markets is usually open. Furthermore note that this marketplace happens to be traditionally additional risky mid-week, and also more calm within Courtroom monday and also vendredi1.

    Monday, November 14, 2011 at 12:49 pm | Permalink
  10. Spot on with this write-up, I truly think this website needs much more consideration. I’ll probably be again to read much more, thanks for that info.

    Wednesday, November 16, 2011 at 3:05 pm | Permalink
  11. Careers wrote:

    When I originally commented I clicked the -Notify me when new comments are added- checkbox and now each time a comment is added I get four emails with the same comment. Is there any way you can remove me from that service? Thanks!

    Wednesday, November 16, 2011 at 8:44 pm | Permalink
  12. My brother recommended I might like this website. He used to be entirely right. This publish actually made my day. You can not imagine simply how so much time I had spent for this information! Thank you!

    Friday, November 18, 2011 at 4:40 pm | Permalink
  13. laptop store wrote:

    Thank you for the auspicious writeup. It if truth be told used to be a amusement account it. Glance complicated to more introduced agreeable from you! By the way, how could we be in contact?

    Saturday, November 19, 2011 at 9:24 am | Permalink
  14. dell m6600 wrote:

    My brother recommended I may like this website. He was entirely right. This post actually made my day. You cann’t imagine simply how so much time I had spent for this information! Thanks!

    Monday, November 21, 2011 at 4:07 pm | Permalink
  15. dell m4600 wrote:

    This is very attention-grabbing, You’re a very skilled blogger. I’ve joined your feed and look forward to in search of extra of your great post. Additionally, I’ve shared your website in my social networks!

    Tuesday, November 22, 2011 at 9:22 pm | Permalink
  16. metaphysics wrote:

    Thank you for the auspicious writeup. It actually was a entertainment account it. Glance complex to more added agreeable from you! However, how can we be in contact?

    Wednesday, November 23, 2011 at 11:52 pm | Permalink
  17. I used to be recommended this blog through my cousin. I’m no longer certain whether this submit is written by way of him as nobody else recognize such unique approximately my difficulty. You are incredible! Thanks!

    Saturday, November 26, 2011 at 3:22 pm | Permalink
  18. Hello, i feel that i noticed you visited my web site thus i came to ¡§go back the desire¡¨.I am trying to find things to enhance my site!I guess its good enough to use a few of your concepts!!

    Sunday, November 27, 2011 at 1:58 pm | Permalink
  19. Android Apps wrote:

    Excellent goods from you, man. How to create a style sheet for xml, rss feeds? | Learn XML I’ve understand your stuff previous to and you’re just too excellent. I really like what you’ve acquired here, really like what you are stating and the way in which you say it. You make it enjoyable and you still take care of to keep it smart. I can’t wait to read far more from you. This is really a terrific How to create a style sheet for xml, rss feeds? | Learn XML informations.

    Monday, November 28, 2011 at 2:06 am | Permalink
  20. Hey, your blog site can be quite interesting.. And yes it was something I could definitely relate to Ill constantly stop by at your blog post i really hope you continue making fun and interesting posts identical to it ^_^

    Monday, November 28, 2011 at 8:17 am | Permalink
  21. Hi there! Do you use Twitter? I’d like to follow you if that would be okay. I’m undoubtedly enjoying your blog and look forward to new posts.

    Monday, November 28, 2011 at 11:28 pm | Permalink
  22. Wonderful goods from you, man. How to create a style sheet for xml, rss feeds? | Learn XML I have understand your stuff previous to and you’re just extremely great. I actually like what you’ve acquired here, certainly like what you’re saying and the way in which you say it. You make it enjoyable and you still take care of to keep it wise. I cant wait to read far more from you. This is actually a tremendous How to create a style sheet for xml, rss feeds? | Learn XML informations.

    Tuesday, November 29, 2011 at 4:38 am | Permalink
  23. Android Apps wrote:

    Great goods from you, man. How to create a style sheet for xml, rss feeds? | Learn XML I have understand your stuff previous to and you’re just extremely magnificent. I actually like what you have acquired here, certainly like what you’re saying and the way in which you say it. You make it enjoyable and you still take care of to keep it wise. I cant wait to read much more from you. This is really a wonderful How to create a style sheet for xml, rss feeds? | Learn XML informations.

    Wednesday, November 30, 2011 at 4:38 am | Permalink
  24. Excellent goods from you, man. How to create a style sheet for xml, rss feeds? | Learn XML I’ve understand your stuff previous to and you’re just too magnificent. I actually like what you have acquired here, really like what you’re stating and the way in which you say it. You make it entertaining and you still care for to keep it smart. I can not wait to read far more from you. This is really a wonderful How to create a style sheet for xml, rss feeds? | Learn XML informations.

    Wednesday, November 30, 2011 at 5:10 am | Permalink
  25. Android Apps wrote:

    Fantastic goods from you, man. How to create a style sheet for xml, rss feeds? | Learn XML I’ve understand your stuff previous to and you are just too great. I really like what you’ve acquired here, certainly like what you’re saying and the way in which you say it. You make it enjoyable and you still take care of to keep it wise. I can not wait to read much more from you. This is actually a terrific How to create a style sheet for xml, rss feeds? | Learn XML informations.

    Thursday, December 1, 2011 at 1:59 pm | Permalink
  26. Magnificent goods from you, man. How to create a style sheet for xml, rss feeds? | Learn XML I’ve understand your stuff previous to and you are just extremely fantastic. I actually like what you have acquired here, really like what you are saying and the way in which you say it. You make it entertaining and you still care for to keep it smart. I cant wait to read much more from you. This is really a tremendous How to create a style sheet for xml, rss feeds? | Learn XML informations.

    Thursday, December 1, 2011 at 10:18 pm | Permalink
  27. Fantastic goods from you, man. How to create a style sheet for xml, rss feeds? | Learn XML I’ve understand your stuff previous to and you are just extremely wonderful. I really like what you’ve acquired here, really like what you’re stating and the way in which you say it. You make it entertaining and you still take care of to keep it sensible. I can’t wait to read far more from you. This is actually a terrific How to create a style sheet for xml, rss feeds? | Learn XML informations.

    Friday, December 2, 2011 at 8:40 am | Permalink
  28. Nice weblog right here! Additionally your web site lots up very fast! What host are you the use of? Can I get your associate link on your host? I desire my website loaded up as fast as yours lol

    Friday, December 2, 2011 at 4:44 pm | Permalink
  29. Vi Derousse wrote:

    its horses for courses, everyone has their own opinions and preferences, there is no difference here

    Friday, December 2, 2011 at 5:58 pm | Permalink
  30. healthguide wrote:

    Good day! I simply wish to give a huge thumbs up for the nice information you’ve got right here on this post. I might be coming back to your blog for more soon.

    Saturday, December 3, 2011 at 8:44 am | Permalink
  31. Excellent goods from you, man. How to create a style sheet for xml, rss feeds? | Learn XML I’ve understand your stuff previous to and you are just extremely fantastic. I really like what you have acquired here, certainly like what you are saying and the way in which you say it. You make it enjoyable and you still care for to keep it smart. I cant wait to read much more from you. This is actually a tremendous How to create a style sheet for xml, rss feeds? | Learn XML informations.

    Saturday, December 3, 2011 at 3:40 pm | Permalink
  32. Whats up! I simply want to give a huge thumbs up for the great info you may have here on this post. I will likely be coming back to your weblog for extra soon.

    Saturday, December 3, 2011 at 4:37 pm | Permalink
  33. Howdy! I simply would like to give a huge thumbs up for the nice information you’ve here on this post. I will probably be coming back to your blog for more soon.

    Sunday, December 4, 2011 at 7:20 am | Permalink
  34. Howdy! I simply want to give a huge thumbs up for the great info you’ve gotten here on this post. I will probably be coming again to your blog for extra soon.

    Monday, December 5, 2011 at 5:00 am | Permalink
  35. mobile wrote:

    Hello! I simply wish to give an enormous thumbs up for the great data you have got here on this post. I might be coming again to your blog for more soon.

    Monday, December 5, 2011 at 7:05 am | Permalink
  36. Whats up! I simply wish to give an enormous thumbs up for the nice info you’ve got here on this post. I shall be coming again to your blog for more soon.

    Monday, December 5, 2011 at 12:56 pm | Permalink
  37. Hey! I just would like to give an enormous thumbs up for the great info you will have right here on this post. I shall be coming back to your weblog for extra soon.

    Monday, December 5, 2011 at 1:36 pm | Permalink
  38. I do consider all the concepts you have presented in your post. They are very convincing and will definitely work. Nonetheless, the posts are too quick for newbies. May you please lengthen them a little from next time? Thank you for the post.

    Monday, December 5, 2011 at 1:50 pm | Permalink
  39. Hey! I simply want to give a huge thumbs up for the nice information you have got right here on this post. I will likely be coming back to your blog for extra soon.

    Monday, December 5, 2011 at 4:28 pm | Permalink
  40. Great goods from you, man. How to create a style sheet for xml, rss feeds? | Learn XML I have understand your stuff previous to and you are just too excellent. I really like what you have acquired here, certainly like what you’re saying and the way in which you say it. You make it entertaining and you still care for to keep it sensible. I cant wait to read far more from you. This is actually a terrific How to create a style sheet for xml, rss feeds? | Learn XML informations.

    Monday, December 5, 2011 at 9:29 pm | Permalink
  41. Hey! I just want to give an enormous thumbs up for the nice data you’ve right here on this post. I will probably be coming again to your blog for extra soon.

    Tuesday, December 6, 2011 at 5:32 am | Permalink
  42. Hello! I just would like to give a huge thumbs up for the good info you’ve right here on this post. I will probably be coming again to your blog for extra soon.

    Tuesday, December 6, 2011 at 5:56 am | Permalink
  43. Tech Help wrote:

    Hey! I simply wish to give a huge thumbs up for the nice info you’ve right here on this post. I can be coming again to your weblog for more soon.

    Tuesday, December 6, 2011 at 10:06 am | Permalink
  44. Android Apps wrote:

    Great goods from you, man. How to create a style sheet for xml, rss feeds? | Learn XML I have understand your stuff previous to and you are just too wonderful. I really like what you’ve acquired here, certainly like what you’re saying and the way in which you say it. You make it entertaining and you still care for to keep it wise. I can’t wait to read much more from you. This is really a great How to create a style sheet for xml, rss feeds? | Learn XML informations.

    Tuesday, December 6, 2011 at 11:56 am | Permalink
  45. I have been surfing on-line greater than 3 hours as of late, but I never found any fascinating article like yours. It¡¯s beautiful price sufficient for me. In my view, if all web owners and bloggers made excellent content material as you probably did, the net will probably be much more useful than ever before.

    Tuesday, December 6, 2011 at 11:25 pm | Permalink
  46. Magnificent beat ! I would like to apprentice whilst you amend your website, how could i subscribe for a weblog web site? The account aided me a appropriate deal. I had been tiny bit familiar of this your broadcast provided brilliant clear concept

    Wednesday, December 7, 2011 at 10:13 pm | Permalink
  47. DK PVP wrote:

    Today, while I was at work, my sister stole my iphone and tested to see if it can survive a 30 foot drop, just so she can be a youtube sensation. My iPad is now destroyed and she has 83 views. I know this is completely off topic but I had to share it with someone!

    Wednesday, December 7, 2011 at 10:41 pm | Permalink
  48. Many thanks for sharing around, I believe this excellent website really shines : D.

    Friday, December 9, 2011 at 11:48 am | Permalink
  49. Hey! I just want to give an enormous thumbs up for the good info you’ve right here on this post. I will likely be coming back to your weblog for extra soon.

    Saturday, December 10, 2011 at 1:22 pm | Permalink
  50. Wonderful goods from you, man. How to create a style sheet for xml, rss feeds? | Learn XML I have understand your stuff previous to and you are just extremely magnificent. I really like what you’ve acquired here, certainly like what you’re saying and the way in which you say it. You make it enjoyable and you still care for to keep it sensible. I can’t wait to read far more from you. This is really a wonderful How to create a style sheet for xml, rss feeds? | Learn XML informations.

    Sunday, December 11, 2011 at 5:07 am | Permalink
  51. Wonderful goods from you, man. How to create a style sheet for xml, rss feeds? | Learn XML I have understand your stuff previous to and you’re just too excellent. I really like what you have acquired here, really like what you are stating and the way in which you say it. You make it entertaining and you still care for to keep it sensible. I can not wait to read much more from you. This is really a tremendous How to create a style sheet for xml, rss feeds? | Learn XML informations.

    Sunday, December 11, 2011 at 8:35 am | Permalink
  52. Android Apps wrote:

    Great goods from you, man. How to create a style sheet for xml, rss feeds? | Learn XML I have understand your stuff previous to and you’re just extremely excellent. I actually like what you’ve acquired here, really like what you’re saying and the way in which you say it. You make it enjoyable and you still take care of to keep it sensible. I cant wait to read far more from you. This is really a terrific How to create a style sheet for xml, rss feeds? | Learn XML informations.

    Sunday, December 11, 2011 at 9:15 am | Permalink
  53. I appreciate, cause I found just what I was looking for. You have ended my four day long hunt! God Bless you man. Have a great day. Bye

    Sunday, December 11, 2011 at 1:02 pm | Permalink
  54. Hi there! I just want to give a huge thumbs up for the great info you might have right here on this post. I will be coming again to your blog for extra soon.

    Sunday, December 11, 2011 at 2:04 pm | Permalink
  55. Android Apps wrote:

    Fantastic goods from you, man. How to create a style sheet for xml, rss feeds? | Learn XML I have understand your stuff previous to and you’re just extremely magnificent. I actually like what you have acquired here, really like what you’re saying and the way in which you say it. You make it enjoyable and you still care for to keep it wise. I cant wait to read much more from you. This is really a wonderful How to create a style sheet for xml, rss feeds? | Learn XML informations.

    Monday, December 12, 2011 at 1:10 am | Permalink
  56. Good day! I just would like to give an enormous thumbs up for the nice information you will have right here on this post. I will likely be coming again to your weblog for more soon.

    Monday, December 12, 2011 at 7:14 am | Permalink
  57. Hello, you used to write wonderful, but the last few posts have been kinda boring… I miss your super writings. Past few posts are just a little bit out of track! come on!

    Monday, December 12, 2011 at 12:15 pm | Permalink
  58. I’m still learning from you, as I’m trying to reach my goals. I definitely love reading all that is posted on your blog.Keep the aarticles coming. I loved it!

    Tuesday, December 13, 2011 at 3:31 pm | Permalink
  59. Hello there, simply turned into alert to your blog thru Google,my site is http://www.chilggoooto.com

    Wednesday, December 14, 2011 at 9:56 am | Permalink

Post a Comment

Your email is never published nor shared.