Moodle

rss feed not loading

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Trivial Trivial
  • Resolution: Fixed
  • Affects Version/s: 1.6.1
  • Fix Version/s: 1.9
  • Component/s: RSS
  • Labels:
    None
  • Environment:
    All
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_16_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Description

I go to Manage all my feeds / Add a news feed URL: and add a valid feed. I click the Validate Feed link, my RSS link does validate. (Congratulations! [Valid RSS] This is a valid RSS feed.)

I click on the Add button and I get this error message:

There was an error loading this rss feed. You may want to verify the url you have specified before using it.

I know this issue was closed in earlier versions (1.5+) stable but I have both the version with me,but still the same error , can someone check

Issue Links

Activity

Hide
Martin Dougiamas added a comment -

From Petr Skoda (skodak at centrum.cz) Sunday, 30 July 2006, 05:07 AM:

Is your cron service running?

Anyway could you send me a link to your site for testing?

From Petr Skoda (skodak at centrum.cz) Thursday, 10 August 2006, 04:03 AM:

After more testing some feeds work, some do not. There are several standards - I guess Moodle is supporting only some of them

Assigning to Eloy...

From Eloy Lafuente (stronk7 at moodle.org) Thursday, 10 August 2006, 06:03 AM:

He, he. This seems to be one ping-pong match. :-P

If I'm not wrong that stuff was developed by Daryl Hawes. Assigning it to him.

Ciao

Show
Martin Dougiamas added a comment - From Petr Skoda (skodak at centrum.cz) Sunday, 30 July 2006, 05:07 AM: Is your cron service running? Anyway could you send me a link to your site for testing? From Petr Skoda (skodak at centrum.cz) Thursday, 10 August 2006, 04:03 AM: After more testing some feeds work, some do not. There are several standards - I guess Moodle is supporting only some of them Assigning to Eloy... From Eloy Lafuente (stronk7 at moodle.org) Thursday, 10 August 2006, 06:03 AM: He, he. This seems to be one ping-pong match. :-P If I'm not wrong that stuff was developed by Daryl Hawes. Assigning it to him. Ciao
Hide
Alex Büchner added a comment -

I have the same problem on a Windows 2003 server.

The same feed works on another installation (same Moodle version) running on Linux

Show
Alex Büchner added a comment - I have the same problem on a Windows 2003 server. The same feed works on another installation (same Moodle version) running on Linux
Hide
Stockton Sixth Form College added a comment -

Hi, just to let you know we had this problem with a 1.6.2 vle test server, even though it worked ok with our main server. In the end I traced the problem down to the fact that our firewall (INTY) was blocking a protocol which prevented rss working. Added the ip number of this test server to the firewall to allow full unrestriced access out to the internet and it now works! Hope this helps. Steve Walker. Stockton Sixth Form College.

Show
Stockton Sixth Form College added a comment - Hi, just to let you know we had this problem with a 1.6.2 vle test server, even though it worked ok with our main server. In the end I traced the problem down to the fact that our firewall (INTY) was blocking a protocol which prevented rss working. Added the ip number of this test server to the firewall to allow full unrestriced access out to the internet and it now works! Hope this helps. Steve Walker. Stockton Sixth Form College.
Hide
Matthew Crawford added a comment -

I have recently installed 1.7+ and have the same problem. I can validate the RSS feed but get:

"There was an error loading this rss feed. You may want to verify the url you have specified before using it."

when adding it.

I have another moodle server (1.5.3) working in the same DMZ as the 1.7 version and the RSS feeds work fine there.

Show
Matthew Crawford added a comment - I have recently installed 1.7+ and have the same problem. I can validate the RSS feed but get: "There was an error loading this rss feed. You may want to verify the url you have specified before using it." when adding it. I have another moodle server (1.5.3) working in the same DMZ as the 1.7 version and the RSS feeds work fine there.
Hide
Daryl Hawes added a comment -

Matthew, would you try putting 1.5.3 on the same exact server as the 1.7 version and try, then report back? A different server means a different IP address and therefore possibly different rules for that server's traffic on your network. There were no code changes that would have affected this between 1.5.3 and 1.7 as far as I know.

Show
Daryl Hawes added a comment - Matthew, would you try putting 1.5.3 on the same exact server as the 1.7 version and try, then report back? A different server means a different IP address and therefore possibly different rules for that server's traffic on your network. There were no code changes that would have affected this between 1.5.3 and 1.7 as far as I know.
Hide
Petr Škoda (skodak) added a comment -

I hope this is fixed now, please note that cURL extension is highly recommended

Show
Petr Škoda (skodak) added a comment - I hope this is fixed now, please note that cURL extension is highly recommended
Hide
Daniel Kahn Gillmor added a comment -

I'm still seeing this inconsistent behavior between the validator and the feed aggregator using an installation of moodle 1.9+ weekly (downloaded 2008-12-30). Upon further review, the problem seems to be related to the difference between plain HTML pages that embed a link to RSS or Atom feeds, and the RSS or atom feeds themselves.

I find this when i go to add a feed. the page title is "Configuring a Remote RSS Feeds block". If i put http://mrsgibb.blogspot.com/ into the "add a news feed" box, and then click the validate link, the remote feed validator says that the site checks out.

This is because the remote feed validator is parsing the html returned from http://mrsgibb.blogspot.com/, finding the 'link rel="alternate" type="application/atom+xml"...' element in the page head, and actually pulling the feed from there instead.

But if i just click "add" with that same URL, moodle tells me that the feed is not valid.

OTOH, If i pass the href information for the associated feed ( http://mrsgibb.blogspot.com/feeds/posts/default ) directly to moodle, it accepts the feed just fine.

So it seems to me that the right way to address this is to have moodle know how to scrape out the alternate feed links from the text/html data if the data fetched isn't a feed, and try again. (only allow this kind of retry once, of course, to make sure that a malicious remote site can't get moodle stuck in an infinite recursion of retries).

Show
Daniel Kahn Gillmor added a comment - I'm still seeing this inconsistent behavior between the validator and the feed aggregator using an installation of moodle 1.9+ weekly (downloaded 2008-12-30). Upon further review, the problem seems to be related to the difference between plain HTML pages that embed a link to RSS or Atom feeds, and the RSS or atom feeds themselves. I find this when i go to add a feed. the page title is "Configuring a Remote RSS Feeds block". If i put http://mrsgibb.blogspot.com/ into the "add a news feed" box, and then click the validate link, the remote feed validator says that the site checks out. This is because the remote feed validator is parsing the html returned from http://mrsgibb.blogspot.com/, finding the 'link rel="alternate" type="application/atom+xml"...' element in the page head, and actually pulling the feed from there instead. But if i just click "add" with that same URL, moodle tells me that the feed is not valid. OTOH, If i pass the href information for the associated feed ( http://mrsgibb.blogspot.com/feeds/posts/default ) directly to moodle, it accepts the feed just fine. So it seems to me that the right way to address this is to have moodle know how to scrape out the alternate feed links from the text/html data if the data fetched isn't a feed, and try again. (only allow this kind of retry once, of course, to make sure that a malicious remote site can't get moodle stuck in an infinite recursion of retries).

Dates

  • Created:
    Updated:
    Resolved: