I have integrated the RSS Reader in my application. How do I grab the Webpage with the RSS Feed URL? Is there any free api which does this directly in Java using the URL?
I have to process the content o开发者_JS百科f the webpage (news articles to be precise) and do some algorithmic stuff with that.
The problem now is to do a small part of Crawler. Is there any free light weight api's?
For getting the "content" of any URL, look at the java.net.URL
class. It has some useful methods to get the content, like openConnection()
and openStream()
to get the content.
精彩评论