Questions tagged [feedjira]

Feedjira (formerly Feedzirra) is a Ruby library designed to fetch and parse feeds.

40 questions
0
votes
1 answer

How to add custom parser to feedjira?

I have a xml feed in format like this:
pyfl88
  • 1,680
  • 16
  • 26
0
votes
1 answer

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

I am using the gem called feedjira to parse rss feeds in rails. Feedjira::Feed.add_feed_class Feedjira::Parser::RSS feed = Feedjira::Feed.fetch_and_parse site[:url] news = feed.entries For example, It returns the following summary field…
prabu
  • 6,121
  • 8
  • 35
  • 39
0
votes
1 answer

Adding Feeds to Feedjira via Front-End

I'm looking to add feeds via the front-end to be fetched by Feedjira, I've followed the basic Railscast tutorial and got 1 feed set up and working. What I can't wrap my head around is allowing me to add a feed to feedjira via the front end (e.g.…
Jonathan
  • 673
  • 1
  • 10
  • 32
0
votes
1 answer

What kind of entries Feedjira has?

I started to use feedjira. I'm getting entries from url: feed = Feedjira::Feed.fetch_and_parse(self.url) puts "Fetching from #{self.url}" feed.entries.each do |entry| unless Feed.exists? guid: entry.id newFeed = Feed.create(name:…
Mr.D
  • 7,353
  • 13
  • 60
  • 119
0
votes
1 answer

How to implement an rss feed to a rails application using feedjira

I want to firstly apologize for asking a very similar question to ones that already exist. However, I couldn't quite find the thread and answers I was looking for. Everywhere I research about implementing an rss feed to a rails application it's…
Baronh2o
  • 1
  • 2
0
votes
1 answer

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 added to my database everytime a new article…
Adim
  • 811
  • 2
  • 10
  • 25
0
votes
1 answer

Parse Images With Feedjira

I am using the Feedjira gem, trying to render img_src. //My Controller def index Feedjira::Feed.add_common_feed_entry_element("image") feed = Feedjira::Feed.fetch_and_parse("http://cltampa.com/tampa/Rss.xml?section=2065818") @entry =…
Danny Sullivan
  • 277
  • 2
  • 12
0
votes
1 answer

How to make feed_entries downloaded every 3 minutes in mongoid

I have two models source.rb and feed_entries.rb. How to make feed_entries downloaded every 3 minutes. I've tried through gem 'whenever' and received an error NoMethodError: private method `select' source.rb class Source include Mongoid::Document …
Anton Ipatov
  • 169
  • 2
  • 14
0
votes
1 answer

RSS Parsing + Feedjira + Unable to read RSS value after using Feedjira gem

In my sample project, I am trying to read one new ress feed and I am using most popular gem 'feedjira' but I am not able to fetch the values. I tried simple-rss gem as well. Still no progress. user@localhost ~]$ irb 2.1.2 :001 > urls =…
Rubyist
  • 6,486
  • 10
  • 51
  • 86
-1
votes
1 answer

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 options previously provided in Feedjira 1.0,…
Evan Appleby
  • 284
  • 4
  • 17
1 2
3