Jan 4, 2010

RSS and JSP/Java/J2EE

Creating RSS feeds with JSP is very very simple. Before you continue you should have a basic understanding of  XML,HTML,JSP.

What is RSS?
•RSS stands for Really Simple Syndication
•RSS allows you to syndicate your site content
•RSS defines an easy way to share and view headlines and content
•RSS files can be automatically updated
•RSS allows personalized views for different sites
•RSS is written in XML
More ...

 Why use RSS?
RSS was designed to show selected data.
Without RSS, users will have to check your site daily for new updates. This may be too time-consuming for many users. With an RSS feed (RSS is often called a News feed or RSS feed) they can check your site faster using an RSS aggregator (a site or program that gathers and sorts out RSS feeds).
RSS data is small and fast-loading pages

How it works?
•RSS is used to share content between websites.
•With RSS, you register your content with companies called aggregators.
•So, to be a part of it: First, create an RSS document and save it with an .xml extension. Then, upload the file to your website. Next, register with an RSS aggregator. Each day the aggregator searches the registered websites for RSS documents, verifies the link, and displays information about the feed so clients can link to documents that interests them.

 RSS and JSP

•JSP is one of best and easiest way to create dynamic RSS feeds.
•<%@page contentType="text/xml" %>

 Sample JSP Code  ( sample.jsp )




Now run this jsp page and see your RSS feeds. Good Luck!

Write us ( saalram.service@gmail.com ) if you need more clarification on JSP and RSS Feeds.

No comments:

Post a Comment

Saalram.com

Saalram
Publicize yourself ...
http://saalram.com

Free !!!


Place your Ad here - Free!!!
just drop us a mail ... saalram.service@gmail.com

Free !!!