← Back to team overview

mahara-contributors team mailing list archive

[Bug 740326] Re: Allow use of authenticated RSS in External Feed block

 

Attached is a patch against Mahara 1.3.6 that adds two new optional
configuration fields, Authenticated RSS Username and Authenticated RSS
Password.  It also modifies lib/web.php to supply the CURLOPT_USERPWD
when a username and password are set (This modification can also be used
by other blocks that require access to web-based resources behind
HTTPAuth).

This patch affects the following files:

htdocs/lib/web.php
htdocs/blocktype/externalfeed/lib.php
htdocs/blocktype/externalfeed/lang/en.utf8/blocktype.externalfeed.php

This patch has been tested against Mahara 1.3.6, but will likely need to
be tweaked to match Mahara's coding guidelines and styles.

** Attachment added: "See comment."
   https://bugs.launchpad.net/mahara/+bug/740326/+attachment/2399096/+files/diff.txt

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/740326

Title:
  Allow use of authenticated RSS in External Feed block

Status in Mahara ePortfolio:
  Triaged

Bug description:
  It would be extremely useful for users to be able to access
  authenticated RSS feeds from within Mahara.  This would allow users to
  include content that is otherwise inaccessible without having to
  change their privacy settings on the site of origin.

  This is different from letting other sites embed private Mahara feeds
  through secret URLs, as described in bug #796384.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/740326/+subscriptions


References