0

By using ROM library, I am able to get the RSS feeds like title,description,publishedDate...etc. But I want to read following RSS feeds:

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

I'm unable to read the photo tag here.

Please suggest me on this.Thanks in advance...

Ahmad Raza
  • 2,850
  • 1
  • 21
  • 37
PSR
  • 39,804
  • 41
  • 111
  • 151

1 Answers1

0

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>

And Rome wont provide the <photo> tag because it does not belong to the namespace it is in.

Similar issue as this: get image url of rss with rome library

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

Community
  • 1
  • 1
janih
  • 2,214
  • 2
  • 18
  • 24