A SKETCHCO.COM INFOSITE

 

Home
Blogs
eBooks
General
Ideas
Markets
Motivation
Online Publishing
Promotion
Self-Publishing
Technique
The Job
Tools
Downloads
Links

 

 


SHOP | SUBSCRIBE FREE | SEARCH | WP BLOG | ADD TO FAVORITES

Learn How to Create an RSS Feed

by Ken Dennis

Creating an RSS (Really Simple Syndication) feed is really quite a simple process. RSS is a lightweight XML design that is really easy to setup and implement. It's a great way to pass on important updates, send out your articles or news, or send out your favorite website links!

RSS feeds can be setup in a very short time, literally a few minutes! Simply put, an RSS feed is basically a text file with a couple HTML looking tags. There is an area with the information about the feed, then individual blocks of code for each article or piece of content being syndicated. It may sound bad now, but I assure you it's very simple to setup and I'll give you a full working example by the end of this article!

The first thing you need to do is to create a file that you want to call your RSS feed. It can be anything, the name isn't important. For this article I will call it cool_feed.xml.

All the following code will be placed inside the cool_feed.xml file. This file is the primary file you will use, in fact outside of one minor modification to other pages in your website you will use this file exclusively for sending out your feed updates.

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" "http://my.netscape.com/publish/formats/rss-0.91.dtd">
<rss version="0.91">

The above block of code as you can see is very similar to HTML,; all it is doing is telling people the version of XML you are using, and the version of RSS you are conforming to, as you can see this is XML v1.0 and RSS v0.91.

The next thing we need to do is setup your "channel" which is the name of your feed, and a description of it. In addition to the description it gives some contact information, the language and the website you run.

<channel>
<title>Your Website Title</title>
<link>http://YourWebsite.com/</link>
<description>What is your RSS Feed about?</description>
<language>en-us</language>
<copyright>Your Copyright Line</copyright>
<managingEditor>Your@email.com</managingEditor>
<webMaster>Your@email.com</webMaster>

As I've mentioned several times before, it's similar to HTML in that it has an open and closing block after each parameter. But you also may have noticed there isn't a closing block for CHANNEL. That is because it is sort of the equivalent of the BODY block in HTML, it will do its close near the very end. Actually, we opened the RSS block up in the first block of code I gave you also, where we set the version, that is the equivalent to the HTML block and will be the very last thing closed at the end of the XML file.

<item>
<title>Article Number One</title>
<link>http://YourWebsite.com/Article_Number_One.html</link>
<description>1-3 sentences about your article</description>
</item>

This ITEM block is your first article, every time you want to add an update you just create another ITEM block similar to this one. It simply has an article title, link to where the article is on your website, and a description field, which is normally 1-3 sentences long.

</channel>
</rss>

These are the final closing blocks of code for the channel and RSS blocks that you setup in the top of the file. You must have these blocks of code at the very end, in this order. I will give a couple of links to websites that can check your code to make sure it works properly.

Once you have saved all that code in your file, the next thing we need to do is modify your website. This set is NOT required by any means, but it tells your users web browsers that you have an RSS feed, if their browser supports viewing them.

All you have to do is add the following line to the HEAD field of your website:

<LINK href="http://YourWebsite.com/cool_feed.xml" rel="alternate" type="application/rss+xml" title="your cool feed title" />

Congratulations, you are the proud owner of a brand new RSS feed!

Ken Dennis is an Aerospace Telecommunications Technician and amateur journalist. Check out his website for more articles and content.
 

[ BOOKMARK THIS PAGE ]
 

  BOOKMARK THIS PAGE
 
 

CLICK HERE NOW FOR THE WORDPRENEUR “INSTANT DOWNLOAD” ARCHIVES
 

 

 
Google
Web wordpreneur.com
 

Wordpreneur Markets
The best freelance writing job boards, where to find writing jobs online, and more...

Wordpreneur Promotion
How to multiply your freelance writing income, how to pitch a story, and more...

Easy Book Binding
Create your own trade paperback books at home, easily with bookstore quality tesults.

Free Trade Magazines
Annual subscriptions; 250+ business, trade, and professional magazines to choose from.

Freelance Work Exchange
Instantly access thousands of freelance jobs.

EasyEbookPRO
You supply the content and EasyEbookPRO will create the infoproduct!

eBook Secrets Exposed!
How to make massive amounts of money in record time with your own eBook.

Essential Copyright
Easily file for copyright protection.

How to Write and Publish Your Own eBook... in as Little as 7 Days!
Here's your chance to become a bestselling eBook author!

PDF-Creator
Create professional PDF eBooks from anything.

Quick Cash Writing
Make big money writing... in just 5 minutes!

 

 

 

Home | Blogs | eBooks | General | Ideas | Markets | Motivation | Online Publishing | Promotion | Self-Publishing | Technique | The Job | Tools | Downloads | Links

CONTACT US | DISCLAIMER | PRIVACY POLICY | SITE MAP

Copyright © 2004-2005 SketchCo.com. All rights reserved.

A SketchCo.com Free InfoSite

Free InfoSite