RSS Tutorial Home / Chanel Elements / Item Elements / Creating RSS / Publishing RSS

Introduction to RSS Tutorial:

RSS is a great way to distribute your news or podcasts to subscribers so they don't have to visit your web site every time they want updated information. This Introduction to RSS tutorial will explain what an RSS feed is and how to create on in extensible markup language or XML.

Introduction to RSS Tutorial

RSS is a method of distributing web content on one web site to many other web sites by using extensible markup language or XML. RSS is not limited to distributing text-based content. It can also distribute audio or other media content such as podcasts. It has evolved into a popular method of sharing any web-based content between sites and allows your users to get your content without actually having to visit your web site.

 

What is RSS?

RSS stands for Really Simple Syndication and is also known as Rich Site Summary. It is an easy way to share and view headlines and web site content and it enables you to syndicate your site content. RSS uses extensible markup language to create a text-based file save as XML that includes the information about your blog, website, or podcast.

Why Use RSS?

RSS was designed so that users will be informed automatically about new updates to your web site or other files such as podcasts without having to actually visit the site every day. Through an RSS feed, users can find out about updates to your site through a program or web site that gathers and sorts RSS feeds called aggregators.

As a very small text file written in XML, RSS can be used with services such as PDA's and cell phones too.

RSS is a wonderful tool to keep users informed about updates to web sites or podcasts. Sites that frequently change or update information, such as News sites, or catalog sites that frequently post new products or news articles, will find RSS a very useful tool.

Using .NET to generate your RSS? Try windows web hosting.

Everyday, more people find uses of RSS and more web sites begin using it. By using RSS, information on the internet becomes easier to locate. Individuals who are interested can subscribe to XML feeds and be automatically updated through aggregators like My Yahoo.

How Does RSS Work?

RSS is used to share content between websites. To use it, you must register your RSS feed that describes your content with an aggregator. It works by allowing computers to retrieve and understand information in a feed from other computers and present it via a feed aggregator that is customized based on the users interests.

MyYahoo is a well known example of a feed aggregator.

My Yahoo

The first step in using RSS is to create an RSS document and save it as an XML file with the .xml extension. To use RSS, the XML file must be made available on a web server, it needs to be uploaded to a web site. Once it's available on a web server, an aggregator can retrieve the XML file and read the new information. The aggregator can then display the content for you. There are several free aggregators listed below.

Each new story or podcast is defined by an <item> tag in the XML file, which contains a headline or title, a link, and a description. An RSS file can contain up to 15 items.

An Example of an RSS File

RSS files written in XML use a self-describing language and a simple syntax. Look at the simple RSS document in the box below.

<?xml version "1.0" encoding="ISO-8859-1" ?>
<rss version="2.0">
<channel> <title>RSS Tutorials at GuidesandTutorials.com</title>
<link>http://www.guidesandtutorials.com/rssfile.xml</link>
<description>Free Guides and Tutorials</description>
<item> <title>RSS Tutorial</title>
<link>http://www.guidesandtutorials.com/rss.xml</link>
<description>New RSS Tutorial Available</description>
</item>
<item>
<title>Put your title for item 2 here</title>
<link>Put your link for item 2 here</link>
<description>Put your description for item 2 here </description>
</item>
</channel>
</rss>

Line 1
The first line in the document is the XML declaration. It defines the XML version for the aggregator and specifies the character encoding used in the XML document.

Line 2
The second line is the RSS declaration which identifies this as an RSS document of version 2.0.

Line 3
The next line is provides information about the <channel> element which provides information about the RSS feed. The <channel> element requires three additional elements sometimes called sub-elements or child elements.

  • <title> - which defines the title of the channel (Guides and Tutorials)
  • <link> - which provides the hyperlink to the channel (http://www.guidesandtutorials.com/rsstutorial.xml)
  • <description> - this describes the channel and tells what it is about (A New RSS Tutorial on GuidesandTutorials)

Items (<item>) are elements that are included in the channel. A channel element can have one or more <item> elements that provide information about the article, or story, or podcast, or whatever it is describing.

Item elements also have three required components also called sub-elements.

  • <title> - which defines the title of the channel
  • <link> - which defines the hyperlink to the channel
  • <description> - which describes the content included in the item

The Last two lines of the RSS file include the closing tags for the </channel> and the </rss> elements.

You can include comments in RSS files by enclosing them in tags like this:

<!-- This is a Comment in RSS. It begins with a <tag and an exclamation point followed by two dashes -->

Comments are included in the code but will be ignored by aggregators when they read your RSS feed. They are there to provide notes for programmers or to remind you of specifics about the RSS feed.

RSS is Written in XML

Keep in mind the following rules for writing your RSS files in XML:

  1. All RSS elements have have pairs of tags, an opening tag and a closing tag. For example: <title> is the opening tag and </title> is the closing tag, <channel> and </channel>, <item></item> and so forth.
  2. Elements in RSS files are cast sensitive which means that <title> and <Title> are not the same thing.
  3. RSS Elements must be properly nested. This means that you must have your <item> elements nested inside of the <channel> element and not by itself.

Introduction to RSS Tutorial

  1. Introduction to RSS Tutorials
  2. RSS Channel Element Tutorial
  3. RSS Item Elements Tutorial
  4. Creating Your Own RSS Feed Tutorial
  5. Putting Your RSS Feed on the Web Tutorial

 

 

 


Search for Tutorials
 

RSS Tutorials

Introduction to RSS Tutorials
RSS Channel Element Tutorial
RSS Item Elements Tutorial
Creating Your Own RSS Feed Tutorial
Putting Your RSS Feed on the Web Tutorial

All Other Guides and Tutorials

Guides and Tutorials Blog
Listing of the latest tutorials published on the GuidesandTutorials website.
GuidesandTutorials: Audacity Tutorial - Record and Edit Audio
This Audacity tutorial will show you how to use the basic tools and procedures in the open source audio editing program, Audacity. Not just screen shots, but free narrated multimedia tutorials - You'll learn to use Audacity for recording and editing audio files that can be used for podcasting, mixing music and vocals, creating sound tracks, and other audio projects.
Audacity Tips & Tricks
Audacity tips and tricks submitted by users
Digital Photography Guide
This Digital Photography Guide will provide you with the basic information you need to take professional quality photogrphs with your digital camera.
GuidesandTutorials: Dreamweaver Tutorial
Dreamweaver Tutorial - this series of free Dreamweaver tutorials is just what you need to get up and running with Dreamweaver to create interesting and compelling web sites
GuidesandTutorials: Microsoft Excel 2003 Tutorial
This Excel 2003 Tutorial will introduce you to the basics of using the Excel 2003 spreadsheet program. You'll learn to create a spreadsheet, basic Excel workbook skills, work with cells, enter and manipulate data, apply formulas, format data, create and work with charts, and manage Excel workbooks.
Podcasting Tutorial
This Podcasting tutorial includes a step by step guide that will show you how to record, publish and promote your podcast. Using inexpensive equipment and free software, you'll be publishing podcasts in no time.
PowerPoint Tutorial - Microsoft PowerPoint 2003
This PowerPoint tutorial is just what you need to learn how to use PowerPoint 2003 to create effective and engaging presentations.
The PowerPoint 2007 Window
This PowerPoint 2007 tutorial will show you the features and how to get around the PowerPoint Window.
GuidesandTutorials: Free PowerPoint Templates
Free PowerPoint templates that you can download and use today. This is a growing library of free resources for PowerPoint users.
LCD Projector Guide and Tutorial
This LCD Projector Guide will assist you in the use and purchase of a digital LCD projector or DLP projector. It will discuss the differences between LCD and DLP projectors, size and portability considerations, lamp types and brightness, resolution, image quality and other considerations in the use and purchase of a digital projector.
Word Tutorial: Microsoft Word 2003
This Word tutorial is just what you need to learn how to use Word 2003 to create professional looking documents.
Word 2007 Workspace
This Microsoft Word 2007 Workspace tutorial will acquaint you with the new tools and features in the Word 2007 Window. It's changed significantly from previus versions and even experienced users will find this helpful.
Work at Home Jobs
This Work at Home Jobs tutorial will provide information on ways that you can put your skills and knowledge to use in creating part or full time income while working from home.
Guides and Tutorials: Free Guides and Tutoials Site Map
Free guides and tutorials on podcasting, digital video and audio, Audacity, RSS, multimedia development, educational technology, technology integration, K12 Technology, PowerPoint.
Suggest a New Technology Tutorial
Free Technology Tutorials on software and technology applications including PowerPoint tutorials, Podcasting tutorials, Dreamweaver tutorials, Audacity, Non-Linear PowerPoint, Digital Photography, RSS tutorial, and everything educational technology.
Adobe Acrobat 9 Tutorial
This Adobe Acrobat 9 Tutorial will show you how to create PDFs from MS Office applications, from Multipe files, from web pages and from several other types of documents.
GuidesandTutorials: Free Tutorials
Free Tutorials, software, hardware, and technology applications including PowerPoint, Podcasting, Dreamweaver, Audacity,
Excel 2007 Tutorial | GuidesandTutorials: Free Tutorials
This free Excel 2007 Tutorial will show you how to use all of the begginer and intermediate features in Excel 2007

Site Build It!

This site proudly build with Site Build It!

Powered By SiteBuildIt

 

Bluehost.com Web Hosting $6.95 

 

[?] Subscribe To This Site

XML RSS
follow us in feedly
Add to My Yahoo!
Add to My MSN
Subscribe with Bloglines