Adding RSS Feeds

Discussion in 'HTML & Website Design' started by J1mmy, May 4, 2013.

  1. #1
    How does one add the title of RSS feeds into a webpage and apply CSS editing? Is there an additional plugin that allows this to happen?
     
    J1mmy, May 4, 2013 IP
  2. Nosliw

    Nosliw Well-Known Member

    Messages:
    77
    Likes Received:
    2
    Best Answers:
    1
    Trophy Points:
    123
    #2
    What page are you applying the CSS to? You can style rss feed, but you need to be able to edit the XML file that outputs your RSS, and edit the first line(s) like this:

    <?xml version= "1.0"?>
    <?xml-stylesheet type="text/css" href="yourRSS.css"?>
    <rss version= "2.0">
    <channel>
    <item>
    <title> The title of a feed item </title>
    <description> The text in your feed </description>
    <link> http://obviously.com/a-link/ </link>
    </item>

    Then you can style each element in your css file with

    item {

    display: block;
    }
    title {
    color: black }

    etc

    Hope this helps!
     
    Nosliw, May 5, 2013 IP