Hello everyone,
DMP OPIDoR have been using the RSS feed for our own news. It seems to be broken since Feedjira 3.0.
The Feed.fetch_and_parse method has been removed in this version.
|
def about_us |
|
dcc_news_feed_url = "http://www.dcc.ac.uk/news/dmponline-0/feed" |
|
@dcc_news_feed = Feedjira::Feed.fetch_and_parse dcc_news_feed_url |
|
respond_to do |format| |
|
format.rss { redirect_to dcc_news_feed_url } |
|
format.html |
|
end |
|
end |
There is two ways of fixing this :
- Fixing the gem version to V2.2.0
- Include the HTTParty gem and change the code as shown in the README : https://github.com/feedjira/feedjira/blob/master/README.md
I tested the second solution, it seems to work without too much changes.
Should I send you a PR ?
Hello everyone,
DMP OPIDoR have been using the RSS feed for our own news. It seems to be broken since Feedjira 3.0.
The
Feed.fetch_and_parsemethod has been removed in this version.roadmap/app/controllers/static_pages_controller.rb
Lines 5 to 12 in a54f85a
There is two ways of fixing this :
I tested the second solution, it seems to work without too much changes.
Should I send you a PR ?