Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <item><title>Left hopes BJP surge will eat into Mamata’s votes </title><link>http://timesofindia.feedsportal.com/c/33039/f/533916/s/39439a29/sc/7/l/0Ltimesofindia0Bindiatimes0N0Cindia0CLeft0Ehopes0EBJP0Esurge0Ewill0Eeat0Einto0EMamatas0Evotes0Chome0Clok0Csabha0Celections0C20A140Cnews0CLeft0Ehopes0EBJP0Esurge0Ewill0Eeat0Einto0EMamatas0Evotes0Carticleshow0C336252890Bcms/story01.htm</link><description>At times sworn enemies can be of help to each other, albeit indirectly. In the current political winds of West Bengal, no one knows it better than the Left.<img width='1' height='1' src='http://timesofindia.feedsportal.com/c/33039/f/533916/s/39439a29/sc/7/mf.gif' border='0'/><br clear='all'/><br/><br/><a href="http://da.feedsportal.com/r/194480044196/u/409/f/533916/c/33039/s/39439a29/sc/7/rc/1/rc.htm" rel="nofollow"><img src="http://da.feedsportal.com/r/194480044196/u/409/f/533916/c/33039/s/39439a29/sc/7/rc/1/rc.img" border="0"/></a><br/><a href="http://da.feedsportal.com/r/194480044196/u/409/f/533916/c/33039/s/39439a29/sc/7/rc/2/rc.htm" rel="nofollow"><img src="http://da.feedsportal.com/r/194480044196/u/409/f/533916/c/33039/s/39439a29/sc/7/rc/2/rc.img" border="0"/></a><br/><a href="http://da.feedsportal.com/r/194480044196/u/409/f/533916/c/33039/s/39439a29/sc/7/rc/3/rc.htm" rel="nofollow"><img src="http://da.feedsportal.com/r/194480044196/u/409/f/533916/c/33039/s/39439a29/sc/7/rc/3/rc.img" border="0"/></a><br/><br/><a href="http://da.feedsportal.com/r/194480044196/u/409/f/533916/c/33039/s/39439a29/sc/7/a2.htm"><img src="http://da.feedsportal.com/r/194480044196/u/409/f/533916/c/33039/s/39439a29/sc/7/a2.img" border="0"/></a><img width="1" height="1" src="http://pi.feedsportal.com/r/194480044196/u/409/f/533916/c/33039/s/39439a29/sc/7/a2t.img" border="0"/></description><pubDate>Fri, 11 Apr 2014 19:26:07 GMT</pubDate><guid isPermaLink="false">http://timesofindia.indiatimes.com/india/Left-hopes-BJP-surge-will-eat-into-Mamatas-votes/home/lok/sabha/elections/2014/news/Left-hopes-BJP-surge-will-eat-into-Mamatas-votes/articleshow/33625289.cms</guid></item>
- agent.visit("http://timesofindia.feedsportal.com/c/33039/f/533916/index.rss");
- Elements items=agent.doc.findEach("<item>");
- for(Element item:items)
- {
- headline=item.findFirst("<title>").getText();
- link=item.findFirst("<link>").getText();
- System.out.println("headline:"+headline+"nlink:"+link+"n");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement