Error creating Remote RSS feeds

Re: Error creating Remote RSS feeds

by Soumya S -
Number of replies: 0

Hi Paul,

 There are additions listed in attachement.php.

All you have to do is copy and paste these lines in to lib/rsslib.php and lib/magpie/rss_fetch.inc in your moodle dir structure.

These lines go into rsslib.php -

// Defines for moodle's use of magpierss classes

if(isset($CFG->proxyhost) && $CFG->proxyhost) {

 define('MAGPIE_PROXY_HOST', $CFG->proxyhost);

 define('MAGPIE_PROXY_PORT', $CFG->proxyport);

}

And the following lines go in to rss_fetch.inc

$client->proxy_host = MAGPIE_PROXY_HOST;

$client->proxy_port = MAGPIE_PROXY_PORT;

Hope that helps,

Soumya.