Skip to content

RSS news feed is broken #2411

Description

@benjaminfaure

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 :

  1. Fixing the gem version to V2.2.0
  2. 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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions