PLEASE GIVE ME THE
JAVA CODE FOR THIS:-
I have a configuration xml file , where i want to keep the
news provider details such as url, name, interval etc.
Read that configuration file and then get the url and other
information and then do the RSS parsing for the urls you get from the
config file...
<config>
<provider>
<name>Times of india</name>
<category>India</category>
<url>
http://timesofindia.indiatimes.com/rssfeeds/-2128936835.cms</url>
<interval>30</interval>
</provider>
<provider>
<name>Times of india</name>
<category>International Business</category>
<url>
http://timesofindia.indiatimes.com/rssfeeds/-2128680634.cms</url>
<interval>30</interval>
</provider>
<provider>
<name>CNN</name>
<category>world news</category>
<url>
http://rss.cnn.com/rss/cnn_world.rss</url>
<interval>30</interval>
</provider>