Rob,
Thanks for all the great info.
I've sent everything that I can find in "Snoopy.class.inc", and I fixed $wgHttpProxy.
Still no go....it just generates this error when I preview the page (local intranet feeds still pull fine):
Warning: Invalid argument supplied for foreach() in F:\WebServer\GeCWiki\extensions\rss.php on line 159 And Warning: Invalid argument supplied for foreach() in F:\WebServer\GeCWiki\extensions\rss.php on line 228
I've been digging around the web with Google, but so far I'm not really find any other decent extensions.
Dave
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Rob Church Sent: Friday, January 19, 2007 12:50 AM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Wiki sitting behind a corporate firewall issues
On 18/01/07, David_S_Green@dell.com David_S_Green@dell.com wrote:
Ok, I've verified the curl extension is running. I am using 1.8.3 MediaWiki, and I put $wgHttpProxy = true; into my LocalSetting.php
file.
$wgHttpProxy needs to be set to the value of your proxy server.
This is the extension I am using: http://meta.wikimedia.org/wiki/GISWiki/RSS
Well, that's coincidental - I was hacking up a later hacked-up copy of that damn extension the other day in order to iron out a couple of bugs for someone. As luck would have it, I've still got the magpie dependency files here, so I can examine them...
Magpie's fetch_rss() function, which the extension uses to do most of the fetching and parsing, appears to use a third-party PHP HTTP fetching library called Snoopy. This *does* appear to support proxies, but it seems to use curl binaries, which may or may not be available. I can't see any straightforward way to set the proxy settings to Snoopy via Magpie or the extension itself, so I suspect you'll have to manually set this - it'll be in magpie/extlib/Snoopy.class.inc, near the top of the class definition.
If this doesn't work out, then have another search around the web; there's more than one RSS aggregator extension for MediaWiki out there.
Rob Church
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l