What Is Atom in RSS? - RSS

What Is Atom in RSS?

An Atom is a XML document used to describe related information which is known as feeds. This document can contain elements or attributes from other XML namespaces. Atom is most commonly used for syndication of Web content such as Weblogs and news headlines to Web sites.

What Is Atom in RSS?

They both are similar technology developed for helping people receiving automatic updates. Bookmarking the website is the process before Atom / RSS and it is complicated trying to keep track of many book marked sites. By using Atom, the new web site content will be sent, each time the site is updated regularly.

An example of RSS document with explanation:
The following is the RSS document.
<?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="2.0">

<channel>
     <title>My Home Page</title>
     <link>http://www.mysite.com</link>
     <description>RSS tutorials for beginners</description>
     <item>
          <title>RSS Tutorial</title>
<link>http://www.mysite.com/rss</link>
<description>RSS tutorials for community</description>
</item>
<item>
<title>Atom Tutorial</title>
<link>http://www.mysite.com/atom</link>
<description>Atom tutorials for the community</description>
</item>
</channel>
</rss>

- First line is the XML declaration
- Second line is the RSS declaration to identify the RSS document
- Next line contains <channel> element, used for describing the RSS feed
- <channel> element has 3 sub elements
1. <title> for defining the title of the item
2. <link> for defining the hyperlink of the item
3. <description> for describing the item
- And last 3 lines to close item, channel and rss tags.
An example of RSS document with explanation - RSS
The first line defines the XML version and the character encoding used in the document. The next line defines the version of RSS.......
20 Soap Interview Questions and Answers
SOAP interview questions with answers for freshers and experienced, SOAP interview FAQ - In this series, we have covered all about SOAP and answered the questions that might be asked during an interview.
What is SOAP? - SOAP
SOAP, Simple Object Access Protocol is a communication protocol, a way to structure data before transmitting it......
Post your comment