Username: Save?
Password:
Home Forum Links Search Login Register*
    News: Welcome to the TechnoWorldInc! Community!
Recent Updates
[April 24, 2024, 11:48:22 AM]

[April 24, 2024, 11:48:22 AM]

[April 24, 2024, 11:48:22 AM]

[April 24, 2024, 11:48:22 AM]

[April 03, 2024, 06:11:00 PM]

[April 03, 2024, 06:11:00 PM]

[April 03, 2024, 06:11:00 PM]

[April 03, 2024, 06:11:00 PM]

[March 06, 2024, 02:45:27 PM]

[March 06, 2024, 02:45:27 PM]

[March 06, 2024, 02:45:27 PM]

[March 06, 2024, 02:45:27 PM]

[February 14, 2024, 02:00:39 PM]
Subscriptions
Get Latest Tech Updates For Free!
Resources
   Travelikers
   Funistan
   PrettyGalz
   Techlap
   FreeThemes
   Videsta
   Glamistan
   BachatMela
   GlamGalz
   Techzug
   Vidsage
   Funzug
   WorldHostInc
   Funfani
   FilmyMama
   Uploaded.Tech
   MegaPixelShop
   Netens
   Funotic
   FreeJobsInc
   FilesPark
Participate in the fastest growing Technical Encyclopedia! This website is 100% Free. Please register or login using the login box above if you have already registered. You will need to be logged in to reply, make new topics and to access all the areas. Registration is free! Click Here To Register.
+ Techno World Inc - The Best Technical Encyclopedia Online! » Forum » THE TECHNO CLUB [ TECHNOWORLDINC.COM ] » Computer / Technical Issues » Web Design / Graphics Design/ Animation
 RSS Standards for Web Based Content
Pages: [1]   Go Down
  Print  
Author Topic: RSS Standards for Web Based Content  (Read 1460 times)
Taruna
Elite Member
*****



Karma: 13
Offline Offline

Posts: 845

Hi ALL


View Profile
RSS Standards for Web Based Content
« Posted: January 03, 2007, 02:21:12 PM »


RSS Standards for Web Based Content


What is RSS?

"RSS" stands for Really Simple Syndication. Really Simple Syndication is probably the most widely agreed-upon choice.As far as we are concerned, all three acronyms do an inadequate job of describing what RSS actually is: RSS is a standard for publishing regular updates to web-based content. Using this standard, Web publishers provide updates, such as the latest news headlines or weblog postings. Meanwhile, consumers use RSS reader applications (or one of a growing number of online services) to collect and monitor their favorite feeds in one place (RSS content from a publisher, viewed in one of these readers, is often called a "feed"). Using this standard, web publishers provide updates, such as the latest news headlines or weblog postings.

What s in a RSS feed?

A feed contains a list of items, each of which is identified by a link. Each item can have any amount of metadata associated with it. The most basic metadata supported by RSS includes a title for the link and a description of it; when syndicating news headlines, these fields might be used for the story title and the first paragraph or a summary, For example, an simple item might look like;

<item>

<title>Earth Invaded</title>
<link>http://news.krify.com/2004/12/17/invasion</li>
<description>The earth was attacked by an invasion fleet from halfway across the galaxy; luckily, a fatal miscalculation of scale resulted in the entire armada being eaten by a small dog.</description>

</item>

Additionally, the feed itself can have metadata associated with it, so that it can be given a title description, and other fields like publisher and copyright terms.

What problem does RSS solve?

Most people are interested in many websites whose content changes on an unpredictable schedule. Examples of such websites are news sites, community and religious organization information pages, product information pages, medic
al websites, and weblogs. Repeatedly checking each website to see if there is any new content can be very tedious.

Email notification of changes was an early solution to this problem. Unfortunately, when you receive email notifications from multiple websites they are usually disorganized and can get overwhelming, and are often mistaken for spam.

RSS is a better way to be notified of new and changed content. Notifications of changes to multiple websites are handled easily, and the results are presented to you well organized and distinct from email.


How does RSS work?

RSS works by having the website author maintain a list of notifications on their website in a standard way. This list of notifications is called an "RSS Feed". People who are interested in finding out the latest headlines or changes can check this list. Special computer programs called "RSS aggregators" have been developed that automatically access the RSS feeds of websites you care about on your behalf and organize the results for you. (RSS feeds and aggregators are also sometimes called "RSS Channels" and "RSS Readers"). Producing an RSS feed is very simple and hundreds of thousands of websites now provide this feature, as well as many weblogs.

RSS aggregator programs

Think of an RSS aggregator as just a web browser for RSS content. RSS aggregators automatically check a series of RSS feeds for new items on an ongoing basis, making it is possible to keep track of changes to multiple websites without needing to tediously read and re-read each of the websites yourself. They detect the additions and present them all together to you in a compact and useful manner. If the title and description of an item are of interest, the link can be used to quickly bring the related web page up for reading. There are many RSS aggregators available. Some are accessed through a browser, some are integrated into email programs, and some run as a standalone application on your personal computer.

Logged

« Reply #1 Posted: January 03, 2007, 02:21:31 PM »
Taruna
Elite Member
*****



Karma: 13
Offline Offline

Posts: 845

Hi ALL


View Profile
Re: RSS Standards for Web Based Content
« Reply #1 Posted: January 03, 2007, 02:21:31 PM »

RSS Standards for Web Based Content-2


The four main sections of an RSS file

After the root element come the four main sections of the RSS file. These are the channel, image, item, and text input sections. In practical use, the channel and item elements are requirements for any useful RSS file, while the image and text input are optional.

The channel section

The channel element contains metadata that describe the channel itself, telling what the channel is and who created it. The channel is a required element that includes the name of the channel, its description, its language, and a URL. The URL is normally used to point to the channel s source of information.

Listing 3 shows the beginning of the channel element.This part of the channel element defines the channel and begins the channel information.

<channel>

<title>krify</title>
<link>http://www.krify.com</link>
<description>Your source for krify news, advocacy, interviews, builds,
and more! </description>
<language>en-us</language>

</channel>

The channel element contains the remaining channel tags, which describe the channel and allows it to be displayed in HTML. The title can be treated as a headline link with the description following. The Channel Language definition allow aggregators to filter news feeds and gives the rendering software the information necessary to display the language properly.

The </channnel> tag is used after all the channel elements to close the channel. As RSS conforms to XML specifications, the element must be well formed; it requires the closing tag.

You can include nine optional tags in a 0.91 channel definition. Some examples are PICS Rating, Copyright Identifier,Publication Date, and Webmaster. You can use these additional elements for a variety of purposes. For example, sites that aggregate content can use this additional meta information to allow users to filter news feeds on the basis of Platform for Internet Content Selection (PICS) ratings.

The image section

The image element is an optional element that is usually used to include the logo of the channel provider. The default size for the image is 88 pixels wide by 31 pixels high, but you can make your logo as large as 144 pixels wide by 400 pixels wide.
Here is a sample image element:

<image>
<title>krify</title&g t;
<url>http://www.krify.com/image/IE88.gif</url>
<link>http://www.krify.com</link>
<width>88</width>
<height>31</height>

</image>
The image s title, URL, link, width, and height tags allow renderers to translate the file into HTML. The title tag is normally used for the image s ALT text. Keep the image to 88 x 31 or smaller if possible, because many renderers translate channels into fixed width tables as narrow as 100 pixels. Larger graphics could cause the tables to break inappropriately, or cause your image to be left out when displayed.

The items

Items, the most important elements in a channel, usually form the dynamic part of an RSS file. While channel, image, and text input elements create the channel s identity and typically stay the same over long periods of time, channel items are rendered as news headlines, and the channel s value depends on their changing fairly frequently. Here is an example of a channel item:

<item>
<title>Java2 in Navigator 5?</title>
<link>http://www.krify.com/talkback.html?article=407&l t;/link>
<description>Will Java2 be an integrat
ed part of Navigator 5?
Read more about it in this
discussion...</description>

</item>

Fifteen items are allowed in a channel. This is a reasonable limitation, because most people use channels to distribute recent Web content. Titles should be less than 100 characters, while descriptions should be under 500 characters. The item title is normally rendered as a headline that links to the full article whose URL is provided by the item link. The item description is commonly used for either a summary of the article s content or for commentary on the article. News feed channels use the description to highlight the content of news articles, usually on the channel owner s site, and Web log channels use the description to provide commentary on a variety of content, often on third-party sites.

Much of the beauty of the RSS format lies in the item element. As you can see from the above example, items are easy for developers to define and easy for users to read.

The text input

The text input area is an optional element, with only one allowed per channel. Usually rendered as an HTML form, text input lets the user respond to the channel. You might use this feature to enable your users to subscribe to your newsletter or search your site. Here is an example of a text input element:

<textinput>
<title>Send</title> ;
<description>Comments about u?</description>
<name>responseText</name>
<link>http://www.krify.com/cgi-bin/sampleonly.cgi</link>

</textinput>

The title is normally rendered as the label of the form s submit button, and the description as the text displayed before or above the input field. The text input name is supplied along with the contents of the text field when the submit button is clicked.

These are the four main elements of an RSS file. After adding the image, item, and text input elements, remember to close the channel with the </channel> tag and the RSS file with the </rss> tag.

The proposed RSS 1.0 specification introduces modules, which will allow RSS to be extended to accommodate additional information without rewriting the specification. For example, you could write a module to add rich media to your channel for broadband clients while standard clients would still see headlines and descriptions. You may want to learn more about modules so that you can take advantage of them once the 1.0 specification is implemented.

RSS Specifications

If you were going to build your own aggregator or a program to read RSS feeds, you would care, but that s not the point .

Here are the basics of RSS (no matter what the version)

1. It is XML. This means it must be well-formed, include a prolog and DTD, and all elements must be closed.
2. The first element in the document is the <rss> element. This includes a mandatory version attribute.
3. The next element is the <channel> element. This is the main container for all RSS data.
4. The <title> element is the title, either of the entire site (if it s at the top) or of the current item (if it s within an <item>).
5. The <link> element indicates the URL of the Web page that corresponds to the RSS feed, or if it s within an <item>, the URL to that item.
6. The <description> element describes the RSS feed or the item.
7. The <item> element is the meat of the feed. These are all the headlines (<title>), URLs (<link>) and descriptions that will be in your feed.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Copyright © 2006-2023 TechnoWorldInc.com. All Rights Reserved. Privacy Policy | Disclaimer
Page created in 0.218 seconds with 24 queries.