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

Error when I try to load feed entries in feedjira

I have error when I try to load feed entriesArgumentError (wrong number of arguments (2 for 1)):I use feedjira 2.0, mongoidNo error when using 1.6.0. def load_feed_entries last_entry =...

View Article



Feedjira: Feed update returns duplicates

I am trying to print rss/atom feed updates using ruby. Feedjira seems to be the best bet for this. Unfortunately the update feature does not seem to work properly. I get duplicate entries.Here is a...

View Article

How to add custom parser to feedjira?

I have a xml feed in format like this:<league country="england"><match status="15:00" time="15:00"><home name="Newcastle Utd"/><away name="Norwich"/></match><match...

View Article

Can't find List ID for a Saved RSS Entry

I’m building an RSS feed using the Feedjirra gem with the option to save feed entries into a list. When I try to edit the saved entries to add tags, or delete an entry, I get an error that it cannot...

View Article

How to skip parsing the promoted image content in RSS feed using Feedzirra /...

I am using the gem called feedjira to parse rss feeds in rails.Feedjira::Feed.add_feed_class Feedjira::Parser::RSSfeed = Feedjira::Feed.fetch_and_parse site[:url]news = feed.entriesFor example, It...

View Article


Parse Images With Feedjira

I am using the Feedjira gem, trying to render img_src.//My Controllerdef index Feedjira::Feed.add_common_feed_entry_element("image") feed =...

View Article

Get Feeds source with Feedjira Gem

I use Feedjira Gem (Rails) to fetch/grab the rss-feeds from several websites. Everything works fine, but the only that has bugged me long time is the source-feed (the website I grab the rss from).I...

View Article

How to get Feedjira to follow redirects?

I am using Feedjira's fetch_and_parse method to parse RSS feeds in my app, but some RSS feeds that I feed it are feed URLS that redirect to another feed URL, and Feedjira doesn't follow these redirects...

View Article


How do I place instances on a page without access to params in my create method?

I have three models, Subscription, Show, and Episode. Subscription's role is to parse the feed in its :url column and instantiate Show and Episode, filling their columns with Feedjira properties. I'm...

View Article


Feedjira gem does not work on Heroku

I am using the Feedjira gem on Rails 4 to display feeds on my web application. Currently it is working locally, however when I push the application to Heroku for production I get a blank page with no...

View Article

Trying to Parse and Display Image Using Feedjira Gem

I'm trying to display an image using the Feedjira gem for an RSS reader that I'm working on.I created the method in the model:Feed.rbdef self.feed_image(url) Feedjira::Feed.add_common_feed_element...

View Article

Github activity feed urls dont include domain

I want to display a user's activity feed in an rails application. I am using feedjira.2.2.4 :006 > xml_feed = Feedjira::Feed.fetch_raw "https://github.com/prasadsurase.atom"2.2.4 :006 >...

View Article

Feedjira: VCR not recording cassetes

I have a very simple controller that grabs some data from rss using Feedjira. I want to test this controller by recording the RSS response. Here is the controller code: def index @news =...

View Article


Ruby: How to set feedjira configuration options?

In the Feedjira 2.0 announcement blog post, it says that if you want to set the user agent, that should be a configuration option, but it is not clear how to do this. Ideally, I would like to mimic the...

View Article

Feedjira not adding content and author

I've just started on Rails again and have recently followed the Sitepoint guide to building an RSS Feed app. I followed the instructions verbatim, but am getting the error undefined method 'html_safe'...

View Article


How to scrape different URLs from database with Nokogiri with different...

I tried using Feedjira to assist with content analysis from newsfeeds, but it appears that RSS feeds now only link to content rather than including them with RSS as I found out in "Feedjira not adding...

View Article

Rails - Feedjira No valid parser for XML

I used Feedjira gem in rails. I want to get some data from URL but I got an error like this: Feedjira::NoParserAvailable No valid parser for XML.My code:url =...

View Article


Gizmodo RSS Feed getting stale

I started pulling information from blogs into an app I am building using RSS. I have a cron job that runs every minute and does a fetch and parse of the rss feeds of multiple sites. New blog posts are...

View Article

When/Where to call self.update_from_feed_continuously?

Just a quick question. After watching RailsCasts ep #168 and coming across the following code:class FeedEntry < ActiveRecord::Base def self.update_from_feed(feed_url) feed =...

View Article

How to fetch rss feeds from website using rails

I am using Feedjira in my application which is an excellent option to get rss feeds and getting all feeds when we provide a valid feed URL. But Now I want to get feeds when I provide website url...

View Article
Browsing all 31 articles
Browse latest View live




Latest Images