Displaying 3 results from an estimated 3 matches for "feedzirra".
2009 Nov 03
1
Installing Feedzirra (and Curl/Curb) on Windows Vista
I''m trying to use Feedzirra within my rails app and am having a
mountain of trouble trying to get the gem installed.
Running "gem install pauldix-feedzirra" gives me the following output.
ERROR: Error installing pauldix-feedzirra:
ERROR: Failed to build gem native extension.
"C:/Program Files/Ruby/1...
2010 Sep 30
2
How to use a class, put it inside a model?
class Feeds
FEEDS = %W(
http://feed.kennisnet.nl/Basisonderwijs
http://feed.kennisnet.nl/Voortgezetonderwijs
http://wp.digischool.nl/nieuws/feed/
)
def load_feeds
@feeds_ds = feeds.first
@feeds = vopo? ? feeds.second : feeds.last
end
def feeds
@feeds ||= Feedzirra::Feed.fetch_and_parse(FEEDS).values.map { |
feed| feed.entries.first(6) }.entries
end
def vopo?
params[:vopo] == ''po''
end
end
This is my class.
I would like to display the feeds on every page. Where should i put
it? in a model or controller?
and how doe i use it?
def...
2010 Sep 13
10
Could not find [GEM] locally or in a repository
Hey Guys,
How could I fix the following:
"gem install --no-rdoc --no-ri kete-feedzirra"
ERROR: could not find gem kete-feedzirra locally or in a repository
"gem install --no-rdoc --no-ri libxml-ruby"
ERROR: could not find gem libxml-ruby locally or in a repository
"gem install --no-rdoc --no-ri http_url_validation_improved"
ERROR: could not find gem http_u...