Quantcast
Channel: ruby RSS parser not returning correct information - Stack Overflow
Viewing all articles
Browse latest Browse all 2

Answer by Jimmy for ruby RSS parser not returning correct information

$
0
0

entry.content is an instance of RSS::Atom::Feed::Entry::Content:

feed.entry(1..10).first.content.class# => RSS::Atom::Feed::Entry::Content < RSS::Element

It has a bunch of public methods that could allow you to inspect the tag's content, including content and to_s. You can inspect it's public methods by looking up the documentation or by doing: entry.content.public_methods.


Viewing all articles
Browse latest Browse all 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>