开发者

RSS Reader and then Grabbing the page content

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜