How to make your articles available for RSS feed

Discussion in 'Programming' started by Abu_Ali, Jun 23, 2009.

  1. #1
    I have a lot of articles in my site, and I want to make them available for Rss feed, my website build with asp.net technology, any ideas
     
    Abu_Ali, Jun 23, 2009 IP
  2. dweebsonduty

    dweebsonduty Active Member

    Messages:
    131
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    71
    Digital Goods:
    1
    #2
    If your articles are stored in a DB than you can just create a php or ASP page that calls the articles from the db and have it replace the items with *'s around them with your content.:

    
    rss version="2.0">
    −
    <channel>
    <title>*Title Of Your Site*</title>
    <atom:link href="*link to feedpage*" rel="self" type="application/rss+xml"/>
    <link>*link to site*</link>
    <description/>
    <lastBuildDate>*last update date*</lastBuildDate>
    <language>*language*</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    −
    <item>
    <title>*atricle title*</title>
    −
    <link>
    *article link
    </link>
    −
    <comments>
    *article comment link*
    </comments>
    <pubDate>*date published</pubDate>
    <dc:creator>*author*</dc:creator>
    <category>*category*</category>
    <guid isPermaLink="false">*permalink*</guid>
    −
    <description>
    *short version of post*
    </description>
    −
    <content:encoded>
    *full Article Text*
    </content:encoded>
    −
    <wfw:commentRss>
    *comment RSS8
    </wfw:commentRss>
    <slash:comments>*comment count*</slash:comments>
    </item>
    </channel>
    </rss>
    
    PHP:
     
    dweebsonduty, Jun 27, 2009 IP