Making an RSS Feed
by Sharon Housley
Everyday more and more websites, news services and blogs are adding RSS content. RSS is a method of syndicating content.The concept of aggregating content in one central location or repository is very appealing. Consumers have become tired of push technology, RSS allows users the flexibility to regain control of their content. RSS feed creators provide content without forcing it on consumers. In fact with RSS consumers are able to choose the content they wish to view.
How to Make an RSS Feed
RSS feeds contain what are referred to as "items". The items are usually connected in some way and contain a common theme or other similarity.
The following feed
http://www.notepage.net/feed.xml contains eight items. The items are all SMS and paging related news articles that would likely benefit someone interested in the wireless market.
Each item contains:
title
description
link
The title and description should be written to describe the content and the link should reference the webpage that contains that actual content.
Like html, the xml file uses open and close tags to designate the title, description and link. Tags are enclosed in brackets , like standard html and the close tag contains a forward slash /.
The following is what an item in a xml file looks like:
titleThe Title Goes Here/title
descritpionThe description goes here/description
linkhttp://www.linkgoeshere.com/link
As I mentioned earlier, an RSS feeds contains items and like the tags above, an open and close tag is used to distinguish between items.
item
titleThe Title Goes Here/title
descritpionThe description goes here/description
linkhttp://www.linkgoeshere.com/link
/item
item
titleAnother Title Goes Here/title
descritpionAnother description goes here/description
linkhttp://www.anotherlinkgoeshere.com/link
/item
Now an RSS Feed is a series of items, these items are chained together to create what is called a "Channel".
The Channel appears at the top of the file and tells people how the items relate to each other. Like items channels use title, description and link tags to describe its content. The open channel tag chanel occurs before the first item and the close tag /channel occurs after the last item.
channel
titleThe Channel Title Goes Here/title
descriptionThe explanation of how the items are related goes here/description
linkhttp://www.directoryoflinksgohere/link
item
titleThe Title Goes Here/title
descritpionThe description goes here/description
linkhttp://www.linkgoeshere.com/link
/item
item
titleAnother Title Goes Here/title
descritpionAnother description goes here/description
linkhttp://www.anotherlinkgoeshere.com/link
/item
/channel
Finally you will need to designate the file by indicating it is an XML file by inserting xml and rss defining tags at the beginning and /rss at the very end.
?xml version="1.0"?
rss version="2.0"
channel
titleThe Channel Title Goes Here/title
descriptionThe explanation of how the items are related goes here/description
linkhttp://www.directoryoflinksgohere/link
item
titleThe Title Goes Here/title
descritpionThe description goes here/description
linkhttp://www.linkgoeshere.com/link
/item
item
titleAnother Title Goes Here/title
descritpionAnother description goes here/description
linkhttp://www.anotherlinkgoeshere.com/link
/item
/channel
/rss
When you save the file be sure to save it as an xml file.
Warning
If you create the file using Dreamweaver or a similar tool becareful that it does not strip out tags it feels are redundant. In order to be be an RSS feed your file needs at bare minimum that tags that were discussed above, and the file will not be valid if tags are stripped out.
I found a cool little free program that helped in xml file creation called First Object Editor
http://www.firstobject.com/ Validation
As my math teacher use to say, check your work! Once your file is complete and uploaded einter it into the feed validator at
http://feedvalidator.org Syndication / Submission
If you've made it this far you are in good shape it is time to "syndicate" your content! Submit your RSS feed (the xml file you created) to sites just like you would submit a web page. Some of the more popular sites that accept RSS files can be found under "Post RSS Feed"
http://www.softwaremarketingresource.com/rss-feeds.html About the Author:
Sharon Housley manages marketing for NotePage, Inc.
http://www.notepage.net a company specializing in alphanumeric paging, SMS and wireless messaging software solutions. Other sites by Sharon can be found at
http://www.softwaremarketingresource.com ,
http://www.messaging-software.net and
http://www.small-business-software.net| DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware. |
More Website Content Articles
More By Developer Shed
developerWorks - FREE Tools! |
David Barnes, Lead Evangelist for IBM Emerging Internet Technologies will discuss aspects of Web 2.0 that bring value to corporations, academia, and government. He'll also discuss IBM's vision around Web 2.0, including the importance of remixability and consumability. The discussion will culminate with examples of various IBM Software Group solutions you can use to get ahead of the Web 2.0 adoption curve. FREE! Go There Now!
|
|
|
|
Effective governance for lean development isn’t about command and control. Instead, the focus is on enabling the right behaviors and practices through collaborative and supportive techniques. Hear from Scott Ambler on how it is far more effective to motivate people to do the right thing than it is to force them to do so. Learn how to form a lightweight, collaboration-based framework that reflects the realities of modern IT organizations. FREE! Go There Now!
|
|
|
|
Learn to enable users to both rate existing animations and to combine existing animations into new snippets. This is the third in a series of three tutorials that chronicle the building of a site that enables collaborative discussion and animation building using Domino and OpenLaszlo. FREE! Go There Now!
|
|
|
|
Join this Rational Talks to You teleconference on December 4 at 1:00 pm ET to discuss how Rational Method Composer can help meet your compliance objectives. Get your questions answered! FREE! Go There Now!
|
|
|
|
Learn the basics of the IBM Customer Information Control System (CICS). With a hands-on exercise, learn how to get your first CICS application up and running on your desktop using TXSeries V6.1 for Windows. The tutorial shows you how to download and install a free trial version of TXSeries V6.1. FREE! Go There Now!
|
|
|
|
Join this webcast to discover the key requirements for successful change and release management. Learn how to extend your .NET environment to improve productivity and collaboration, and address core problems afflicting team development. In this webcast, we’ll review typical challenges faced by customers and how to resolve them with the IBM Rational Change and Release Management solution, including Rational ClearCase, Rational ClearQuest and Rational Build Forge. Replay is available for 9 months. FREE! Go There Now!
|
|
|
|
Get a free trial download of the latest version of IBM Rational Performance Tester V7.0.1, a load and performance testing solution for teams concerned about the scalability of their Web-based applications. Combining multiple ease-of-use features with granular detail, Rational Performance Tester simplifies the test-creation, load-generation and data-collection processes that help teams ensure the ability of their applications to accommodate required user loads. FREE! Go There Now!
|
|
|
|
The Eclipse community is constantly working to extend Eclipse's functionality. In this webcast, learn about some of the most important and feature-rich projects under development. From multi-language support to plug-in development, tune in to see what Eclipse is capable of now. FREE! Go There Now!
|
|
|
|
The discipline of assembling and delivering software is maturing beyond standard developer-centric compile/test software builds. The end-to-end software development lifecycle is emerging as the new focus moves “Beyond the Build.” Join this on demand webcast to learn about methods for streamlining software delivery and key capabilities of the IBM Rational Build Forge framework for automating build and release management in environments of any size. FREE! Go There Now!
|
|
|
|
User communities play an important role in communication and collaboration around products, solutions and other areas of special interest to members. Successful communities are able to provide the right mix of content and services to deliver a value proposition that resonates with each audience. Join Tom Inman, VP of Marketing for Information and Platform Solutions as he introduces the new LeverageINFORMATION community. During this webcast, learn about the value provided by the community and how customers and partners derive value from the community in addressing their own technical and business challenges. FREE! Go There Now!
|
|
|
|
All FREE IBM® developerWorks Tools! |