Hello forum
Following the instructions on the RSS Feed Documentation page (http://doc.silverstripe.org/sapphire/en/reference/rssfeed), I added an RSS Feed for the "10 most recently updated pages" on my website.
The only difference is that I added the RSS code to sitefiles/code/Page.php rather than mysite/code/Page.php.
Please see http://www.aawhg.org/site-help/rss as an example.
These are the problems I'm hoping someone can help me fix:
(1) The date for each rss item isn't correct - it shows the date the page was created rather than the date it was last updated. For example, the "Site help" page was last updated yesterday 15 June, but the <pubDate> shows 30 May 2008 - the date it was created.
(2) When I subscribe to it with Google Reader, the date/time for each rss item is the same, and it appears to be the date I subscribed to the feed, rather than the last updated date.
Does anyone have any ideas?
Thanks!
Lisa