Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-23391

Make secure RSS feeds work consistently across all of Moodle in any component

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: RSS
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      rss/file.php needs to be improved to make it more generic, so that it uses "frankenstyle" component names.

      eg mod_forum, blog, local_hub or gradeexport_csv

      All you need to do is:

      1) call get_component_directory($component) and get back a path, then look into that directory for rsslib.php and a standard function name and continue as before

      2) make sure that the URLs point to this script with the correct component name.

      3) test it again.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  24/Nov/10