Parsing RSS via RaptureXML

时光总嘲笑我的痴心妄想 提交于 2019-12-08 08:26:25

问题


How to work with tags <itunes:summary>text</itunes:summary>?

These following codes does not work:

episode.summary = [item child:@"summary" inNamespace:@"itunes"].text;

or

episode.summary = [item child:@"summary:itunes"].text;

回答1:


RaptureXML automatically deletes namespaces.

episode.summary = [item child:@"summary"].text;


来源:https://stackoverflow.com/questions/19730027/parsing-rss-via-rapturexml

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!