Moodle

Add lastBuildDate to moodle RSS feeds

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 1.9.2
  • Fix Version/s: None
  • Component/s: Forum, RSS
  • Labels:
    None
  • Environment:
    Moodle 1.9.2+ (From CVS 10/3/2008 12:30EST)
    Server: (PHP 5.2.5, MySQL 5, Apache 2, Windows Server 2003)
    Client: (MacOS 10.5.4, Apple RSS Visualizer Screen Saver)
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_19_STABLE

Description

When a RSS feed generated by a Moodle Forum is viewed by Apple Computers RSS Visualizer Screensaver, it displays the RSS feed as being published on December 31, 2000. This is a result of the Moodle RSS feed missing the <lastBuildDate> key in the RSS feed.

To have the feed display the correct date the following line needs to be added to lib/rsslib around line 170 (Right after printing the copyright)

// Insert Last Build Date
$result .= rss_full_tag('lastBuildDate', 2, false, gmdate('D, d M Y H:i:s',time()).' GMT');

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated: