Academic Tutorials



English | French | Portugese | German | Italian
Google

Home Source Codes E-Books Downloads Contact Us About Us

RSS Tutorial
RSS Introduction
RSS History
RSS Syntax
RSS Channal
RSS Item
RSS Publish Your Feed
RSS Readers

HTML Tutorials
HTML Tutorial
XHTML Tutorial
CSS Tutorial
TCP/IP Tutorial
XML Tutorials
XML Tutorial
XSL Tutorial
XSLT Tutorial
DTD Tutorial
Schema Tutorial
XForms Tutorial
XSL-FO Tutorial
XML DOM Tutorial
XLink Tutorial
XQuery Tutorial
XPath Tutorial
XPointer Tutorial
RDF Tutorial
SOAP Tutorial
WSDL Tutorial
RSS Tutorial
WAP Tutorial
Web Services Tutorial
Browser Scripting
JavaScript Tutorial
VBScript Tutorial
AJAX Tutorial
DHTML Tutorial
HTML DOM Tutorial
WMLScript Tutorial
E4X Tutorial
Server Scripting
ASP Tutorial
PHP Tutorial
PERL Tutorial
SQL Tutorial
ADO Tutorial
.NET (dotnet)
Microsoft.Net
XML Web Services
ASP.Net
.Net Mobile
C# : C Sharp
ADO.NET
VB.NET
Multimedia
SVG Tutorial
Flash Tutorial
Media Tutorial
SMIL Tutorial
Web Building
Web Browsers
Web Hosting
W3C Tutorial
Web Building
Web Quality
Web Semantic
Web Careers
Java Tutorials
Java Tutorial
JSP Tutorial
Servlets Tutorial
Struts Tutorial
EJB Tutorial
JMS Tutorial
JMX Tutorial
Programming Langauges
C Tutorial
C++ Tutorial
Visual Basic Tutorial
Data Structures Using C
Soft Skills
Communication Skills
Time Management
Project Management
Team Work
Leadership Skills
Corporate Communication
Negotiation Skills


RSS Channel

Previous Next



The RSS element describes the RSS feed.RSS is written in XML, and how XML works we can take a look at what an actual RSS feed looks like:



<channel>
Channel information
Items
</channel>


The channel information and items also comprise of XML elements.

The <channel> Element:

The RSS <channel> element is where items are displayed. It is like an RSS headline. Channel elements normally do not change very often.

There are three required elements inside the <channel> element: <title>, <link>, and <description>.


The <title> element should contain a short description of your site and your RSS feed:

<title>Academic Tutorial RSS</title>


The <link> element should define the link to your site's main page:

<link>http://www.academictutorials.com </link>


The final required element is <description>. This element should describe your RSS feed.

<description>Acedemic Tutorials Site</description>




Optional Elements in <channel>:

Element Description
<category> Defines one or more categories the channel belongs to
<cloud> Allows notification of updates.
<copyright> Notifies about copyrighted material
<docs> An URL to documentation on the RSS version the channel is using
<generator> If the channel is created using an automatic generator, this is defined here
<image> Inserts a picture to the channel.
<language> Describes what language the channel uses. By using this tag it is possible for RSS aggregators to group sites based on language.
<lastBuildDate> Defines the last date the channel was modified
<managingEditor> Defines an e-mail address for the editor of the site
<pubDate> Defines the last publication date for the channel
<rating> Parental control rating of the page
<skipDays> Defines days where it is unnecessary for RSS aggregators to update the feed
<skipHours> Defines hours where it is unnecessary for RSS aggregators to update the feed
<textInput> Creates a text input for the channel
<ttl> (ttl = time to live) Defines how many minutes the channel can stay cached before refreshing
<webMaster> Defines an e-mail address for the webmaster of the site



The <item> element

The <item> element is where you link to and describe the update on your site.

The RSS <item> is where updates are show. It is kind of like a headline for an article. <item> elements are created every time there is an update on your site that you would like displayed in your RSS feed.

There are many optional <item> elements, but either the <title> or the <description> are required.

A RSS should include the <title>, <link> and <description> elements.

The first element is your news item's title.This give short description of your site and also your RSS feed.


<title>Vyom's New Tutorial</title>


The next element is the link to the part of your site the item is referring to:

<link>http://www.academictutorials.com/rss </link>


The next line is the RSS feed description. This should describe your RSS feed item.

<description>BizLiner RSS Tutorial</description>




Optional Elements in <item>

Element Description
<author> Defines the author of the item.
<category> Places the item in one or more of the channel categories.
<comments> An URL to a comment's page for the item.
<enclosure> Describes a media object related to the item
<guid> GUID = Globally Unique Identifier. Defines a unique identifier to the item.
<pubDate> The publication date for the item.
<source> Is used to define a third party source.



The <channel> element usually contains one and more than one <item> elements. Each <item> element defines an article or "story" in the RSS feed.

Furthermore, there are several optional child elements of <channel>. We will explain the most important ones below.




The <category> Element:

The <category>child element is used to specify a category for your feed.

The <category> element makes it possible for RSS aggregators to group sites based on category.

The category for the RSS document above could be:


<category>Tutorial </category>




The <copyright> Element:

The <copyright>child element notifies about copyrighted material.

The copyright for the RSS document above could be:


<copyright>2006 Refsnes Data as. All rights reserved.</copyright>




The <image> Element:

The <image> child element allows an image to be displayed when aggregators present a feed.

The <image> element has three required child elements:

<url> - Defines the URL to the image

<title> - Defines the text to display if the image could not be shown

<link> - Defines the hyperlink to the website that offers the channel

The image for the RSS document above could be:


<image>

<url>http://www.academictutorial.com/images/rss.gif </url>
<title>academictutorial.com </title>
<link>http://www.academictutorial.com </link>

</image>




Share And Enjoy:These icons link to social bookmarking sites where readers can share and discover new web pages.
  • blinkbits
  • BlinkList
  • blogmarks
  • co.mments
  • connotea
  • del.icio.us
  • De.lirio.us
  • digg
  • Fark
  • feedmelinks
  • Furl
  • LinkaGoGo
  • Ma.gnolia
  • NewsVine
  • Netvouz
  • RawSugar
  • Reddit
  • scuttle
  • Shadows
  • Simpy
  • Smarking
  • Spurl
  • TailRank
  • Wists
  • YahooMyWeb

Previous Next

Keywords:RSS Channel


HTML Quizes
HTML Quiz
XHTML Quiz
CSS Quiz
TCP/IP Quiz
XML Quizes
XML Quiz
XSL Quiz
XSLT Quiz
DTD Quiz
Schema Quiz
XForms Quiz
XSL-FO Quiz
XML DOM Quiz
XLink Quiz
XQuery Quiz
XPath Quiz
XPointer Quiz
RDF Quiz
SOAP Quiz
WSDL Quiz
RSS Quiz
WAP Quiz
Web Services Quiz
Browser Scripting Quizes
JavaScript Quiz
VBScript Quiz
AJAX Quiz
DHTML Quiz
HTML DOM Quiz
WMLScript Quiz
E4X Quiz
Server Scripting Quizes
ASP Quiz
PHP Quiz
PERL Quiz
SQL Quiz
ADO Quiz
.NET (dotnet) Quizes
Microsoft.Net Quiz
XML Web Services Quiz
ASP.Net Quiz
.Net Mobile Quiz
C# : C Sharp Quiz
ADO.NET Quiz
VB.NET Quiz
Multimedia Quizes
SVG Quiz
Flash Quiz
Media Quiz
SMIL Quiz
Web Building  Quizes
Web Browsers Quiz
Web Hosting Quiz
W3C Quiz
Web Building Quiz
Web Quality Quiz
Web Semantic Quiz
Web Careers Quiz
Java Quizes
Java Quiz
JSP Quiz
Servlets Quiz
Struts Quiz
EJB Quiz
JMS Quiz
JMX Quiz
Programming Langauges Quizes
C Quiz
C++ Quiz
Visual Basic Quiz
Data Structures Using C Quiz
Soft Skills Quizes
Communication Skills Quiz
Time Management Quiz
Project Management Quiz
Team Work Quiz
Leadership Skills Quiz
Corporate Communication Quiz
Negotiation Skills Quiz

Privacy Policy
Copyright © 2003-2008 Vyom Technosoft Pvt. Ltd., All Rights Reserved.