RSS interview questions
RSS - posted on August 29, 2008 at 17:10 pm by Amit Satpute
What is RSS? Explain the purpose RSS?
RSS stands for Really Simple Syndication / RDF Site Summary / Rich Site
Summary.
The frequently updated work like the blog entries, news headlines, audio, and
video need to e published in a standardized format. RSS is a family of such Web
feed formats. An RSS document is also called a feed, web feed or a channel. It
comprises of full or summarized text as well as metadata (dates and
authorship).
The purpose of the RSS is to let the publishers join the content quickly and
automatically. It also benefits the readers who need timely updates from
specific websites. The initials "RSS" are used to refer to the following
formats: " (RSS 2.0)", " (RSS 0.91)".
Explain how RSS Works with an example.
With the help of RSS, the website authors can maintain a list of notifications
on their website in a standard way.
This list can also be used to find out the latest updates even by people.
The RSS aggregators are used to automatically access the RSS feeds and organize
the results per your criteria.
Describe the steps to get your RSS file up on the web.
Authors add the content on the website through the content management programs.
These programs have a publish facility that creates the HTML files.
These programs can even update the RSS feed XML file simultaneously. Thus they
add an item that refers to the new content and then they remove old
content.
Authors who do not use special tools maintain the XML files on their websites by
themselves
Some services even read requested websites themselves periodically and then
determine changes automatically.
Explain RSS
Element.
The <channel> element describes the RSS feed and usually contains one
or more
- elements which define the content in the RSS feed.
Explain child elements of <channel>. i.e. The <category>
Element, The <copyright> Element, The <image> Element,
The <language> Element
Child elements of
has three required child elements:
<title> which defines the title of the channel like a home page.
<link> which defines the hyperlink to the channel.
<description> which describes the channel.
Other than these there are child elements like:
<category> specifies a category of a feed
<copyright> notifies about copyrighted material
<image> allows an image to be displayed when aggregators present a feed
<language> specifies the language used to write a document
|