Last modified: 2014-11-18 18:07:28 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T32028, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30028 - "Error parsing XML and HTML for RSS" - improve and harden Extension:RSS when parsing differently flavoured RSS feeds
"Error parsing XML and HTML for RSS" - improve and harden Extension:RSS when ...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
RSS (Other open bugs)
unspecified
All All
: High normal with 2 votes (vote)
: ---
Assigned To: T. Gries
http://www.mediawiki.org/wiki/Extensi...
:
: 30658 33744 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-23 14:28 UTC by Subfader
Modified: 2014-11-18 18:07 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Subfader 2011-07-23 14:28:50 UTC
Using MW 1.17 but it doesn't work, not even on mediawiki.org altho {{OnWikimedia}} is used.
Example:
http://www.mediawiki.org/wiki/Extension_talk:RSS#Failed_to_load_RSS_feed
Comment 1 Sam Reed (reedy) 2011-07-23 14:32:32 UTC
Works for me

http://www.mediawiki.org/wiki/User:Reedy/Test

It's actually a site issue, I'd guess, as I'm guessing the servers won't be able to directly reach the outside world

Which is a site issue, not an extension issue
Comment 2 Subfader 2011-07-23 14:41:32 UTC
I don't want to fetch MW feeds, I want the whole interweb! :P

Random RSS feeds: http://www.mediawiki.org/wiki/User:Subfader/RSS None works.

Error parsing XML for RSS
Error fetching URL: connect() timed out!
Error fetching URL: couldn't connect to host

It's not a site issue. It works with an older Extension:RSS version using MagpieRSS.

Epic fail imo.
Comment 3 Mark A. Hershberger 2011-07-23 15:28:20 UTC
The configuration is probably not set up with the correct proxy.
Comment 4 Mark A. Hershberger 2011-07-25 23:02:32 UTC
Sam,

CommonSettings.php seems to allow $wmgRSSAllowedFeeds, but I can't tell what is in that variable.
Comment 5 T. Gries 2011-08-10 06:50:06 UTC
In RSS.php at the end, or in your LocalSettings.php after loading the extension via require_once( RSS.php ) you need perhaps to set your proxy through 

// Proxy server to use for fetching feeds
$wgRSSProxy = false;
Comment 6 T. Gries 2011-08-15 08:01:05 UTC
(In reply to comment #2)
> Random RSS feeds: http://www.mediawiki.org/wiki/User:Subfader/RSS None works.
> 
> Error parsing XML for RSS
> Error fetching URL: connect() timed out!
> Error fetching URL: couldn't connect to host
> 
> It's not a site issue. It works with an older Extension:RSS version using
> MagpieRSS.

I check the RSS Feeds on my server, and must admit, that
- the extension in version 1.8 does not work for all kind and flavours of RSS Feeds
- your observations are correct
- comparing the rendering of your feed list on mediawiki.org and on my server, it is apparent, that site issues (time-out settings, proxy) are minor part of the issue, and that
- the extension still needs to be improved, especially in to avoid "Error parsing XML for RSS"

I change the bug subject to include that.
Comment 7 T. Gries 2011-08-31 21:34:56 UTC
*** Bug 30658 has been marked as a duplicate of this bug. ***
Comment 8 T. Gries 2011-08-31 21:36:40 UTC
changed title to include the subject matter of bug30658 .
Comment 9 T. Gries 2011-08-31 21:38:54 UTC
set to high importance. Yes, it is.
Comment 10 T. Gries 2012-01-20 21:52:17 UTC
*** Bug 33744 has been marked as a duplicate of this bug. ***
Comment 11 T. Gries 2012-02-16 08:38:00 UTC
(keep-alive message: I am working on a solution. The problem comes from the XML parser, which fails to render a huge group of non-RSS feeds.)
Comment 12 T. Gries 2012-02-27 01:11:36 UTC
fixed in r112465 .

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links