【问题标题】:Reading custom rss feed details using ROME library使用 ROME 库读取自定义 rss 提要详细信息
【发布时间】:2016-02-26 14:31:43
【问题描述】:

通过使用 ROM 库,我可以获取标题、描述、发布日期等 RSS 源。但我想阅读以下 RSS 提要:

<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>

我无法在此处读取照片标签。

请就此向我提出建议。在此先感谢...

【问题讨论】:

    标签: java rss feed rome


    【解决方案1】:

    The feed isn't valid:

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

    而且Rome不会提供&lt;photo&gt;标签,因为它不属于它所在的命名空间。

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

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-01-09
      • 2012-05-23
      • 2023-04-09
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-01-22
      相关资源
      最近更新 更多