我在ios中制作新闻应用程序。为此,我需要从RSS 获取图像使用目标C如何从RSS提要中提取图像src
这些出现在RSS提要的节点(见下例)
<description> <![CDATA[ <div><img width="745" height="410" src="http://thisisthelink.com/to_my_image.jpg" class="attachment-large wp-post-image" alt="alt tag" style="margin-bottom: 15px;" /></div>Good morning. Normally Friday is a busy day as we prepare for the weekend’s game. Arsene Wenger holds his press conference, we get the latest team news and so on,... ]]> </description>
我目前得到<title> and <content>
没有问题,但我需要提取图像源,以便将其放入我的imageView中,然后放入我的TableRow中。
这是想什么,我从上面的
http://thisisthelink.com/to_my_image.jpg
不知道如何着手帮我出这个.. 此外,我不知道到修剪字符串如何在我的应用程序中包含日历,以便用户可以在任何特定日期获取数据。