Details
-
Type:
New Feature
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.8
-
Fix Version/s: None
-
Component/s: RSS
-
Labels:None
-
URL:cvs:mod\forum\rsslib.php
-
Affected Branches:MOODLE_18_STABLE
Description
Now you can send a new podcast only attaching a file, but to do this you need to open the course to all (ohterwise you need a podcast client with an authentication system: that is no so common) and to need to upload media files in your Moodle server. I developed a patch to catch the first link in the message and podcast that.
On file cvs:mod\forum\rsslib.php line 269:
// Adding link system
$descriptionlink = ereg (".href="(.)".+",$item->description,$regs);
if ($descriptionlink != false) {
$attachment = new stdClass;
$attachment->url = $regs[1];
$attachment->length = filesize($attachment->url);
$item->attachments[] = $attachment;
}
Hi Domenico, could you explain what this modification achieves in more detail so it can be considered for inclusion?