Click to See Complete Forum and Search --> : RSS Feeds for website
ecross
01-24-2005, 06:29 PM
I have a fairly small website and I keep hearing about these RSS feeds. I have downloaded a RSS Reader. Now, that I'm a little familiar how it works I would like to translate a few of my pages into RSS feeds. I really don't know how that works. Exactly how does this work or do I have to hand code it for my website?
PeOfEo
01-24-2005, 11:00 PM
What server side language are you using? If you are not using one you cannot have one that is automatically populated.
ecross
01-25-2005, 11:00 AM
I create my pages in FrontPage 2003. My server has ASP support and uses FP 2002 Extensions, supports JavaScript and server side includes (SSI).
PeOfEo
01-25-2005, 05:05 PM
It is a shame asp.net is not supported because you can create an rss feed with one line of code with asp.net :/
I googled and this was all I came up with for asp classic:
http://dotnetjunkies.com/WebLog/demiliani/archive/2004/01/22/5935.aspx
ecross
01-25-2005, 06:58 PM
Yes, my server does support .NET Active Server Pages too. However, I'm not familiar with the technology. Basically, can I just create a .xml file and publish it to the web? Then use an RSS Reader to view them or is it much more...:confused:
Here is the .xml file that I created:
<?xml version="1.0"?>
<rss version="2.0">
<channel>
<title>The Channel Title Goes Here</title>
<description>The explanation of how the items are related goes here</description>
<link>http://www.directoryoflinksgohere</link>
<item>
<title>The Title Goes Here</title>
<descritpion>The description goes here</description>
<link>http://www.linkgoeshere.com</link>
</item>
<item>
<title>Another Title Goes Here</title>
<descritpion>Another description goes here</description>
<link>http://www.anotherlinkgoeshere.com</link>
</item>
</channel>
</rss>
PeOfEo
01-25-2005, 07:29 PM
Yes, in a nut shell, but you see it will not be a live thing anymore. If you want this thing to be updated with your site then you should do all of this server side.
http://aspnet.4guysfromrolla.com/articles/021804-1.aspx
http://aspnet.4guysfromrolla.com/articles/031903-1.aspx
I suggest that your whole news system be automated too, it really saves a lot of time in the long run.
ecross
01-25-2005, 08:50 PM
Since you say that will work, I think that's what I want to do rather than messing with ASP.Net. Bascially, when new content becomes available from Microsoft, I want to add new links to keep people updated but seperate from my website altogether.
I noticed that page that you posted included <pubDate> and </pubDate>. Does that need to be included and can I insert it anywhere I wish?
Perhaps, between <Description> and <Link>?
PeOfEo
01-25-2005, 10:05 PM
pubdate is an optional element. It should work where you wish to put it.
tgrk35
01-26-2005, 12:41 AM
How would I go about creating an RSS file for my site?
I would like to do it in PHP if at all possible as my server doesn't support ASP.
Another question:
If I FIND an RSS feed from some place, how do I go about putting it on my site?
Thanks a lot,
Will