Forums | Mahara Community

Open Discussion /
RSS Feeds


anonymous profile picture
Account deleted
Posts: 18

02 December 2008, 10:14

We've been having problems with RSS feeds (they don't work when behind a proxy) and was wondering if there was a timescale attached to fixing this bug? (Howard filed it only just today but he swears he filed it separately some time ago... hmmm, you can never really be sure with him thoughSmile)
anonymous profile picture
Account deleted
Posts: 1643

02 December 2008, 16:13

Someone else filed a bug a while ago - bug #3014. Howard filed #3048 today, which I have closed as a duplicate.

We hope to fix it for the 1.1 release. I think the fix can be backported to the 1.0 branch, but I can't tell you for certain when it will be fixed. In the next couple of months would be my best guess.

anonymous profile picture
Account deleted
Posts: 18

03 December 2008, 10:15

A couple of months?.... hmmm... thanks Nigel!
Yaju Mahida's profile picture
Posts: 131

15 February 2009, 22:19

Well after applying the patch bug #3014. it doesn't work. But the patch have one line missing that should fix the problem. In my case that has worked with little alteration. As our installation is behind proxy / firewall.

.  blocktype/externalfeed/lib.php

 

Start with Line 267 after

 

$snoopy = new Snoopy();

       $snoopy->curl_path = '/usr/bin/curl'; // TODO: make configurable later. This is the default for debian

 

    // Setup proxy handling in snoopy if defined

    // TODO: configure from DB configured by admin form somewhere?

 

//Start

  

    global $cfg;  // Add this line into the patch......

   

    if (isset($cfg->proxyhost)) {

        $snoopy->proxy_host = $cfg->proxyhost;

        $snoopy->proxy_port = $cfg->proxyport;

        $snoopy->proxy_user = $cfg->proxyuser;

        $snoopy->proxy_pass = $cfg->proxypass;

    }

 

    // End of the Patch

 

 

 

anonymous profile picture
Account deleted
Posts: 1643

16 February 2009, 16:33

Hi - FYI, in Mahara 1.1, we have removed Snoopy, and now there is a section to specify proxy settings on the Networking page.
5 results