You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been trying to parse media content and don't seem to be able to capture it. I can get the basics but trying to get something like the url of the image below throws an error.
I ran into this today. Has anyone else found an alternative gem that supports media:content and/or media:thumbnail?
I have changed approaches - I'm using the Nori gem (https://github.com/savonrb/nori) to convert RSS into a hash and just navigate through it that way.
# load your RSS somehow then pass into Nori...feed=Nori.new.parse(rss)title=feed["rss"]["channel"]["title"]description=feed["rss"]["channel"]["description"]items=feed["rss"]["channel"]["item"]items.eachdo |item|
item_title=item["title"]content=item["content:encoded"]end
Activity
kou commentedon May 20, 2020
We need to add support for Media RSS: https://www.rssboard.org/media-rss/
onli commentedon Jun 4, 2020
Hi kou. Is that Media RSS support something you are planning to add? It would be very helpful!
kou commentedon Jun 6, 2020
I'll work on it when I can work on it.
brentdodell commentedon Oct 30, 2022
I ran into this today. Has anyone else found an alternative gem that supports media:content and/or media:thumbnail?
christobh commentedon Feb 27, 2023
Same... Seems still can't parse media content
jabbett commentedon Apr 18, 2024
I have changed approaches - I'm using the Nori gem (https://github.com/savonrb/nori) to convert RSS into a hash and just navigate through it that way.