I want to put an RSS news feed on my site.?
Answer:
You need a server-side script to interpret the feed; you could also do this with JavaScript / AJAX.
It would be helpful to know what server-side scripting languages your Web server supports (PHP / ASP.NET).
If it supports PHP, you can use Magpie:
http://magpierss.sourceforge.net/...
If you support ASP.NET, you can find a tutorial for adding RSS to an ASP.NET page here:
http://aspnet.4guysfromrolla.com/article...
If you want to try using AJAX, you can find a tutorial here:
http://www.xml.com/pub/a/2006/09/13/rss-...
Copy the code for your RSS feed and paste it in your page code as a link, or if you want it as a inline page then code it in like an inline page.
An RSS feed is just a file. It contains an XML formatted list of entries, that follow the RSS format. So really you could use any software you want to create and update the RSS file. You can host this RSS file on your regular web server without doing anything special.
Usually people use blogging software or other software to automatically generate an RSS feed with a summary of an article and a link to the whole article.
If you want to put a link to the RSS feed inside an HTML file, you can use a normal <A HREF="location/of/file"> tag, and in addition you can add these special links to the HEAD tag, depending on which version of RSS you follow. They'll tell people's web browser or feed reader where the RSS feed for the site is.
<link rel="alternate"
type="application/rss+xml"
title="RSS 2.0"
href="location/of/file" />
<link rel="alternate"
type="text/xml"
title="RSS .92"
href="location/of/other/file" />
This tutorial on w3schools will teach you how to format your RSS file:
http://www.w3schools.com/rss/rss_intro.a...
Try this tool http://www.dynawebdesigns.com/dynamic/xm...
More Questions & Answers...