how to make RSS notifications??? (Full Version)

All Forums >> [Web Development] >> General Web Development



Message


Yammy -> how to make RSS notifications??? (5/25/2009 3:35:00)

Hey I'm trying to build up a new website and I'm quite new at this so I didn't know who to ask. I want to add an RSS option, recently I've encountered with the following site, Stress injuries Vancouver, and I really liked their style. How can I script it myself?




treetopsranch -> RE: how to make RSS notifications??? (5/25/2009 11:29:12)

So many ways to do that. Try to Google "Add RSS to website" and you will get 202,000,000 hits. Pick one. Maybe someone on this forum will respond with their best method.




TexasWebDevelopers -> RE: how to make RSS notifications??? (5/25/2009 12:09:43)

At its most simple you manually update an xml page in this format:

quote:

<?xml version="1.0"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Your Feed Title</title>
<atom:link href="http://www.yoursite.com/yourfeed.xml" rel="self" type="application/rss+xml" />
<link>http://www.yoursite.com/</link>
<description>Feed description goes here</description>
<language>en-us</language>
<pubDate>Mon, 05 Mar 2007 09:00:00 GMT</pubDate>
<lastBuildDate>Fri, 20 Feb 2009 01:08:57 GMT</lastBuildDate>
<webMaster>you@yoursite.com (firstname lastname)</webMaster>

<item>
<title>Title of article</title>
<link>http://www.yoursite.com/page.htm</link>
<guid isPermaLink="true">http://www.yoursite.com/articlepage.htm</guid>
<description>One of the most visited examples of our site is the blah, blah, blah...</description>
<pubDate>Mon, 25 May 2009 10:00:00 GMT</pubDate>
</item>

<item>
<title>Title of previous article</title>
<link>http://www.yoursite.com/page2.htm</link>
<guid isPermaLink="true">http://www.yoursite.com/articlepage2.htm</guid>
<description>Article previous the blah, blah, blah...</description>
<pubDate>Sun, 24 May 2009 10:00:00 GMT</pubDate>
</item>

</channel>
</rss>


Save it (like the example code) as "yourfeed.xml" and upload it. The link to the xml page is now your feed. Add additional items by replicating the format of the <item></item> tags.

After uploading the xml page validate the feed using http://feedvalidator.org/

Now, a cautionary tale: We have seen our RSS feed use drop almost to zero as more and more folks use Twitter. We use both but Twitter has become the more useful tool.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.0625