获取URL的动态内容?

时间:2013-04-30 16:05:12

标签: iphone ios parsing

我使用MWFeedParser返回BBC新闻RSS源的故事。作为一个例子,他们返回以下内容:

item: MWFeedItem: “Woman guilty of family fire killings” - 2013-04-30 15:04:31 +0000
identifier: http://www.bbc.co.uk/news/uk-wales-22294592
title: Woman guilty of family fire killings
link: http://www.bbc.co.uk/news/uk-wales-22294592#sa-ns_mchannel=rss&ns_source=PublicRSS20-sa
date: 2013-04-30 15:04:31 +0000
updated: (null)
summary: A woman is convicted of murdering five members of a neighbouring family, including three children, by starting a house fire.
content: (null)
enclosures: (null)

转到其中任何一个链接都会返回文章,如下所示: http://www.bbc.co.uk/news/uk-wales-22294592

我想从该页面获取图片和文章内容。我该怎么做?

1 个答案:

答案 0 :(得分:1)

您已经迈出了第一步:您知道该文章位于http://www.bbc.co.uk/news/uk-wales-22294592。所以你从该页面下载并解析它。