CertCities.com -- The Ultimate Site for Certified IT Professionals
Keep on Top of the Latest Certification News: Subscribe to CertCities.com Newsletter Share share | bookmark | e-mail
  Microsoft®
  Cisco®
  Security
  Oracle®
  A+/Network+"
  Linux/Unix
  More Certs
  Newsletters
  Salary Surveys
  Forums
  News
  Exam Reviews
  Tips
  Columns
  Features
  PopQuiz
  RSS Feeds
  Press Releases
  Contributors
  About Us
  Search
 

Advanced Search
  Free Newsletter
  Sign-up for the #1 Weekly IT
Certification News
and Advice.
Subscribe to CertCities.com Free Weekly E-mail Newsletter
CertCities.com

See What's New on
Redmondmag.com!

Cover Story: IE8: Behind the 8 Ball

Tech-Ed: Let's (Third) Party!

A Secure Leap into the Cloud

Windows Mobile's New Moves

SQL Speed Secrets


CertCities.com
Let us know what you
think! E-mail us at:



 
 
...Home ... Editorial ... Columns ..Column Story Saturday: April 5, 2014


 Inside the Kernel  
Emmett Dulaney
Emmett Dulaney


 Working with RSS Feeds
RSS stands for Really Simple Syndication. RSS is a format for syndicating -- gathering and making available -- the content of Web sites, primarily news-oriented sites and blogs.
by Emmett Dulaney  
11/2/2010 -- RSS stands for Really Simple Syndication. RSS is a format for syndicating -- gathering and making available -- the content of Web sites, primarily news-oriented sites and blogs. RSS can be used to provide any kind of information that can be broken down into discrete items and put into RSS format. Such RSS-formatted content is an RSS feed, and an RSS-aware program can check the feed periodically for changes, download new items and make them available to the user. The RSS format is a dialect of XML (eXtensible Markup Language). All RSS files conform to XML 1.0 specification.

Many versions of RSS are available, but three versions -- 0.91, 1.0, and 2.0 -- are in widespread use. Netscape designed RSS version 0.90 for gathering and displaying headlines from news sites. A simpler version, 0.91, was proposed, and UserLand Software picked up that version for use in its blogging product. At the same time, another noncommercial group had evolved RSS 0.90 into RSS 1.0, which is based on resource description format, or RDF (see www.w3.org/rdf). UserLand didn't accept RSS 1.0 but instead continued evolving RSS 0.91 through versions 0.92, 0.93 and 0.94 and finally settled on RSS 2.0 (skipping 1.0 because that version number was already taken). Currently, many blogs and Web sites use RSS 0.91 for basic syndication (title, URL and description), RSS 1.0 for readers that use RDF, and RSS 2.0 for advanced syndication with more metadata. (Think of metadata as data about data, which is what the RSS format provides: It provides data about other information, such as blogs and news.) RSS 1.0 files have a .rdf extension, whereas RSS 0.91 and 2.0 files have a .xml extension. However, all RSS files are text files that use XML tags.

Examining an RSS Feed
An RSS feed is a text file with XML tags that describe a Web site's content. You typically use an automated program to periodically generate the RSS feed file, but you can prepare the RSS feed file using a text editor. It's good to know what an RSS feed looks like, just so you can debug problems with the feed.

The specific details of an RSS feed depend on the version of RSS. The simplest feed is RSS 0.91, and here's a typical RSS 0.91 feed:

<?xml version=”1.0”  ?>
<!-- A comment line --->
<rss version=”0.91”>
<channel> <!--- This tag specifies general information about the feed--->
<title>Title of this feed</title>
<link>URL of this feed, for example, http://edulaney.typepad.com/</link>
<description>Brief description of feed</description>
<language>en-us</language>
<item>
<title>Title of this item</title>
<link>URL for this item</link>
<description>Description of this item</description>
</item>
... more items ...
</channel>
</rss>
As you can see from that listing, an RSS feed includes a channel with a title, link, description, and language followed by a series of items, each of which has a title, link and description. The format is more verbose for RSS 1.0, which uses the RDF format. RSS 1.0 essentially provides the basic information that's in RSS 0.91 and adds more details such as item-level authors, subject and publishing dates, which RSS 0.91 doesn't support.

Reading RSS Feeds
Many GUI programs are available for subscribing to RSS feeds and reading items from a feed. These programs are RSS aggregators because they can gather information from many RSS feeds and make everything available in a single place.

The two types of RSS aggregators are Web browser plug-ins and standalone programs. Browser plug-ins, such as NewsMonster, run in a Web browser so that the feeds appear in the Web browser. Standalone programs such as GNOME Straw and KDE Akregator are complete GUI applications and usually look similar to other mail and newsreader programs.

Fedora and SUSE come equipped with the Akregator program, a standalone RSS feed aggregator. To run it, look for a link in the GUI desktop's applications menu (choose Application, then Internet and Akregator). If you don't see Akregator listed, type akregator in a terminal window. In Debian, you can install Akregator by typing apt-get install akregator (after typing su - to become root).

When Akregator first runs, it displays its main window without any RSS feeds. To subscribe to a feed, choose Feed, then Add Feed from the menu or right-click All Feeds in the left pane of the window and select Add Feed from the pop-up menu. Then type the URL for the feed in the Add Feed dialog box and click OK. For example, to read Slashdot's RSS feed, type http://slashdot.org/index.rss. The feed's title appears in the left pane of the window. Click the feed title to view the items in this feed. Then you can click an item in the upper-right pane, and that item appears in the lower-right pane. You can add many different RSS feeds, organize them into folders and browse them in Akregator.


Emmett Dulaney is the author of several books on Linux, Unix and certification. He can be reached at .

 


More articles by Emmett Dulaney:

-- advertisement --


There are 25 CertCities.com user Comments for “Working with RSS Feeds”
Page 1 of 3
6/30/13: louis vuitton outlet online from [email protected] says: good share. louis vuitton outlet online http://www.louisvuittonttoutlet.com
7/1/13: michael kors outlet from [email protected] says: ths michael kors outlet http://www.michaelkorsioutlet.org/
7/5/13: christian louboutin outlet from [email protected] says: ths christian louboutin outlet http://www.christianlouboutinoutleta.com
7/5/13: gucci outlet from [email protected] says: ths gucci outlet http://www.guccioutletstore-online.com
7/26/13: Gucci Leder Handtaschen from [email protected] says: thanks for share! Gucci Leder Handtaschen http://www.gucci-online.de/
8/30/13: american football jerseys from [email protected] says: thanks for share! american football jerseys http://www.americanfootballlshop.com
9/5/13: moncler jackets for sale from [email protected] says: good articles moncler jackets for sale http://www.monclerejacketssale.org
9/5/13: nfl jerseys china wholesale from [email protected] says: thanks for share! nfl jerseys china wholesale http://www.cheapnflljerseysfromchina.com
9/9/13: moncler jackets sale from [email protected] says: nice articles moncler jackets sale http://www.monclerejacketssale.org
9/9/13: ugg boots for sale from [email protected] says: thank you for share! ugg boots for sale http://uggsbootssale.eu
First Page   Next Page   Last Page
Your comment about: “Working with RSS Feeds”
Name: (optional)
Location: (optional)
E-mail Address: (optional)
Comment:
   

-- advertisement (story continued below) --

top