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! |
Hear how IBM Rational Project and Portfolio Management integrated solutions help teams put the right tools and processes in place to maximize the effectiveness and efficiency of project teams and ensure that the business vision is being executed correctly. Learn how to automate and integrate requirements prioritization, top-down project planning, communications and controls, and methodology deployment to keep your scope, costs, and schedules under control. Tackle with an end-to-end approach the management of scope and scope changes, usage of methodology to control and empower project teams, and optimization of resources to align activity costs with the overall project plan. FREE! Go There Now!
|
|
|
|
Build secure Web services with transport-level security using IBM Rational Application Developer V7 and IBM WebSphere Application Server V6.1. Follow this three-part series for step-by-step instructions about how to develop Web services and clients, configure HTTP basic authentication, and configure HTTP over SSL (HTTPS). This first part of the series walks you through building a Web service for a simple calculator application. You generate and test two different types of Web services clients: a Java Platform, Enterprise Edition (Java EE) client and a stand-alone Java client. You also handle user-defined exceptions in Web services. FREE! Go There Now!
|
|
|
|
Download the Rational Application Developer (RAD) v7.5 open beta code and start developing applications for the JEE5 standard which features EJB3.0, JPA, JSF 1.2, JSP 2.1 and Servlet 2.5 standards. When you use this beta you will see how you can increase developer productivity for already existing applications with improved support for refactoring, as well as adding new features to existing applications. In addition, the beta provides tooling for JD Edwards, Oracle, SAP, Siebel and PeopleSoft to improve the developer productivity with these enterprise systems. FREE! Go There Now!
|
|
|
|
Download a free trial version of IBM Rational Software Analyzer Developer Edition V7.0 to identify bug defects earlier in the software development cycle. Rational Software Analyzer is an extensible software development solution that reduces the expense of bug-fixes by enabling static analysis code reviews and bug identification very early in the development cycle. FREE! Go There Now!
|
|
|
|
Visit IBM developerWorks to download a free trial of the Rational Host Access Transformation Services (HATS) Toolkit. The HATS toolkit provides a set of plug-ins for the IBM Rational Software Delivery Platform to help you easily extend your legacy applications. HATS makes your 3270 and 5250 applications available as HTML through the most popular Web browsers, while converting your host screens to a Web look and feel and it also enables you to develop new Web, portal, and rich-client applications. FREE! Go There Now!
|
|
|
|
Join this webcast to see how IBM Data Studio Developer and pureQuery can take the pain out of Java data access. uApplications developed using both Java and SQL have become a common requirement. Database connectivity using Java Database Connectivity (JDBC) to create an application is a multi-step tedious process, and tooling that covers both SQL and Java has been unavailable, until now. IBM Data Studio introduces the pureQuery platform: a high-performance, Java data access platform focused on simplifying the tasks of developing, managing, and optimizing database applications and services. FREE! Go There Now!
|
|
|
|
Ken Krugler, co-founder of code search company Krugle, and Laura Merling, vice president of Marketing and Business Development for Krugle, join to talk about the ins and outs of code search and what it means as a new feature for developerWorks users. FREE! Go There Now!
|
|
|
|
Join this Rational Talks to You teleconference on December 11 at 1:00 pm ET to get tips on building your own plugins with Rational Method Composer. 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!
|
|
|
|
Regression testing -- in which code is thoroughly tested to ensure that changes have not produced unexpected results -- is an important part of any development process. But many testing environments neglect the terminal-based applications that still form the backbone of many industries. In this tutorial, you'll learn how the Rational Functional Tester Extension for Terminal-Based Applications works with other Rational Functional Tester to help test terminal-based applications quickly and easily. FREE! Go There Now!
|
|
|
|
All FREE IBM® developerWorks Tools! |