Issue Details (XML | Word | Printable)

Key: MDL-16788
Type: Improvement Improvement
Status: Open Open
Priority: Minor Minor
Assignee: Martin Dougiamas
Reporter: Stephen Bourget
Votes: 0
Watchers: 1
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Add lastBuildDate to moodle RSS feeds

Created: 04/Oct/08 01:01 AM   Updated: 04/Oct/08 01:01 AM
Return to search
Component/s: Forum, RSS
Affects Version/s: 1.9.2
Fix Version/s: 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
Participants: Martin Dougiamas and Stephen Bourget
Security Level: None
Affected Branches: MOODLE_19_STABLE


 Description  « Hide
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');

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
No commits have yet been performed on this issue.