Quantcast
Channel: Active questions tagged feedjira - Stack Overflow
Browsing all 30 articles
Browse latest View live
↧

How to access xml in Feedjira parser classes

Say I have the following Feedjira nested parser subclasses. How can I access the xml for the Trunk, Branch, and Leaf classes so I can log/save it in the case of an error? Preferably just the xml for...

View Article


Ruby on Rails save images and videos in different fields

How to save images and videos in different fields from rss feedI have enclosure_url and enclosure_typeIf this type is image save in picture fieldFor example:feed = Feedjira::Feed.fetch_and_parse...

View Article


How to check the extension type then save in the proper location

I have model with pictures and videosHow to check the enclosure_type then save in the proper location?feed_entry.rbclass FeedEntry include Mongoid::Document field :enclosure_url, type: String field...

View Article

How to add limit for the saved links in feedjira

I use ruby on rails, mongoid and feedjira to parse RSS links.How to add a limit for the number of saved feed_entries at a time or a limit by the date of the link?For example save only last 10...

View Article

Feedjira setup for YouTube rss parsing

I am trying to pull in the first video from an unlisted YouTube playlist. I found the simple_parser gem but since it hasn't been updated in a few years, I decided to go with feedjira instead. I'm not...

View Article


Rails: Timeout when opening file on same server

I have a Rails controller method that does nothing but opens a file on the same server:open 'http://lvh.me:3000/feeds/madonna.rss'About 60% of the time, when I start the server, and hit this controller...

View Article

Rails: Fetch feed entries from certain date with Feedjira

How's it going SO'ers?I've appended a Recent News section to the top of Users Dashboard, where it fetches news stories through Feedjira, saves the NewsEntry to the database (postgres) and then picks...

View Article

Parse youtube links with feedjira

I use rails 5.2, feedjira 2.1.0If I parse youtube linkI have this error:undefined method `image' for #Feedjira::Parser::AtomYoutubeEntry:0x00007fa14be348d0other links workmy code:def...

View Article


Feedjira: Can you parse multiple URLs?

EDIT** From this post Jon mentions that he wants to move away from concurrency in 2.0, and instead a single url be passed and concurrency dealt with in the application, workers being the likely...

View Article


Rails Feedjira gem unable to parse RSS with xml-stylesheet

I use Feedjira gem v2.0 in my Ruby on Rails project to parse RSS feeds. Recently, I have encountered this feed https://www.deutschlandfunknova.de/podcast/update which it is unable to parse. If I omit...

View Article
Browsing all 30 articles
Browse latest View live


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