有一个 RSS 提要的这个 XML 文件,它有一个正文:
<description>
<div>
<img width=120 src='http://enjoythebest.ph/photos/news/150/57_1_100204125514.jpg'>
</div>
<![CDATA[Hey come to Manor tomorrow night yo! featuring performances by BEATPHONIK X ADDLIB with KABAYAN KRUMP MOVEMENT and MANILA'S KRUMP PIONEERS KRUMP PINOY! and of course our Fat Fridays line up: DJs KING,REGGIE and OLIE on the deck! EMCEE PHAT JORGE on the mic! FAT FRIDAYS! See How Manor does it!]]>
</description>
我无法获取图像的数据(div 内的那个)和主体的数据(包含在 CDATA 中的那个)。
XCode 似乎只能读取开始描述标记之后的第一个“<”。
我无法从后端编辑 XML 文件,所以我将不得不使用它。
有任何想法吗?TIA。