Easy way to Create RSS 2.0 Feed

Discussion in 'Programming' started by ferostive, Sep 23, 2008.

  1. #1
    Step 1: XML Declaration
    <?xml version="1.0" encoding="utf-8"?>
    
    Code (markup):
    Step 2: RSS Channel
    <rss version="2.0">
    <channel>
    
    Code (markup):
    Step 3: RSS Feed Information
    <title>The title of my RSS 2.0 Feed</title>
    <link>http://www.example.com/</link>
    <description>This is my rss 2 feed description</description>
    <lastBuildDate>Mon, 12 Sep 2005 18:37:00 GMT</lastBuildDate>
    <language>en-us</language>
    
    Code (markup):
    Step 4: RSS Items
    <item>
    <title>Title of an item</title>
    <link>http://example.com/item/123</link>
    <guid>http://example.com/item/123</guid>
    <pubDate>Mon, 12 Sep 2005 18:37:00 GMT</pubDate>
    <description>[CDATA[ This is the description. ]]</description>
    </item>
    <!-- put more items here -->
    
    Code (markup):
    Step 5: Close Channel and RSS tags.
    </channel>
    </rss>
    
    Code (markup):
    Step 6: Validate your feed

    Validate your feed using FeedValidator.org.

    Your RSS Feed is ready now .
     
    ferostive, Sep 23, 2008 IP
    Vooler likes this.
  2. Vooler

    Vooler Well-Known Member

    Messages:
    1,146
    Likes Received:
    64
    Best Answers:
    4
    Trophy Points:
    150
    #2
    Nice help for beginners. :)

    Thanks for sharing.

    regards
     
    Vooler, Sep 23, 2008 IP