首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >使用ROME库读取自定义rss提要详细信息

使用ROME库读取自定义rss提要详细信息
EN

Stack Overflow用户
提问于 2016-02-26 22:31:43
回答 1查看 704关注 0票数 0

通过使用ROM库,我能够获得诸如标题,描述,publishedDate...etc的RSS。但我想阅读以下RSS提要:

代码语言:javascript
复制
<item>
<photo>http://www.przoom.com/photos/152165_1.jpg</photo>
<title>
Leading Press Release Newswire and Market Research Report Distribution Service Network Celebrates 10 Year Anniversary
</title>
<description>
PRZOOM - Newswire (press release) - 2015/04/20, San Francisco, CA United States - The business news distribution network (PRZOOM.com, NewswireToday.com, and more recently PRTODAY.com) has become the top most used service on a daily basis within the U.S., United Kingdom, France, and Germany
</description>
<link>http://www.przoom.com/news/152165/</link>
<category>Advertising/PPC/Classifieds</category>
</item>

我无法阅读这里的照片标签。

请提前在this.Thanks上推荐我……

EN

回答 1

Stack Overflow用户

发布于 2016-04-23 19:14:38

The feed isn't valid

代码语言:javascript
复制
line 13, column 2: Undefined item element: photo (15 occurrences) [help]
  <photo>http://www.przoom.com/photos/152165_1.jpg</photo>

而且罗马不会提供<photo>标记,因为它不属于它所在的名称空间。

与此类似的问题:get image url of rss with rome library

编辑:by implementing a custom Wirefeed parser, it is possible to save these custom tags

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/35654356

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档