You are currently browsing the daily archive for February 18, 2007.

My current project will require a RSS Feed. The Feed will contain a snip of the main news article & two of the latest product reviews. After search around, I found a wikipedia article on XML & RSS.

To start the XML Feed you will need to create a new file. The header will look like this:
<?xml version=”1.0″?>
<rss version=”2.0″>

The Channel property will define the main information about your feed and should look like this:
<channel>
<title>Name of Feed</title>
<link>http://yoursite.com/</link&gt;
<description>Description of Feed</description>
<language>en-us</language>
<pubDate>Sun, 17 Feb 2007 12:52:00 MNT</pubDate>
<lastBuildDate>Sun, 17 Feb 2007 12:52:00 MNT</lastBuildDate>
<docs>http://yoursite.com/rss</docs&gt;
<managingEditor>editor@yoursite.com</managingEditor>
<webMaster>webmaster@yoursite.com</webMaster>

Then your item, each item should look like this:
<item>
<title>January 16th, 2007 </title>
<link>http://rockymtnracquets.net/</link&gt;
<description>One more final push. The catalog aspect of the site is almost ready.
Thanks for your patience and understanding.</description>
<pubDate>Sun, 17 Feb 2007 01:03:25 MNT</pubDate>
<guid>http://rockymtnracquets.net/</guid&gt;
</item>

Then of couse close your channel then rss then xml. That was it. Not that hard. I’ll update more with images soon.

Welcome! I felt this would be a good place to share my experiences with linux and my web development. So look for more. And just a little bit about me; I am a 23 year old free-lance web developer living in Boulder, Colorado. I have been designing since I was 13 years old and hope to have a future in the industry. I have been using linux for about 8 years now. I started out with Slackware linux. Over the years I moved on to Fedora Core for ease. Last November I moved on to Ubuntu 6.10 (Edgy Eft).

February 2007
M T W T F S S
 1234
567891011
12131415161718
19202122232425
262728  

Blog Stats

  • 9,047 hits