How to create rss file using code

Discussion in 'HTML & Website Design' started by getbestproduct, Jan 5, 2011.

  1. #1
    How to create my site rss file
     
    getbestproduct, Jan 5, 2011 IP
  2. ceytimes

    ceytimes Peon

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    This is an example rss.Hope this helps you.


    <?xml version="1.0" encoding="UTF-8" ?>
    <rss version="2.0">
    
    <channel>
    <title>RSS Example</title>
    <description>This is an example of an RSS feed</description>
    <link>http://www.domain.com/link.htm</link>
    <lastBuildDate>Mon, 28 Aug 2006 11:12:55 -0400 </lastBuildDate>
    <pubDate>Tue, 29 Aug 2006 09:00:00 -0400</pubDate>
    
    <item>
    <title>Item Example</title>
    <description>This is an example of an Item</description>
    <link>http://www.domain.com/link.htm</link>
    <guid isPermaLink="false"> 1102345</guid>
    <pubDate>Tue, 29 Aug 2006 09:00:00 -0400</pubDate>
    </item>
    
    </channel>
    </rss>
    HTML:

    Regards.:)
     
    ceytimes, Jan 5, 2011 IP
  3. MayaLocke

    MayaLocke Peon

    Messages:
    1,016
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #3
    The easiest way to create an RSS feed is to use software. The software I would recommend is FeedForAll (there is a Windows and a Mac version). There is a built-in wizard that will walk you through the process of creating a feed.

    You can download an evaluation version from http://www.feedforall.com

    If you prefer to create the feed by hand this website details how to hand code the RSS feed http://www.make-rss-feeds.com

    Best of luck!
     
    MayaLocke, Jan 19, 2011 IP