Jump to:

23377 Posts in 18296 Topics by 2867 members

General Questions

SilverStripe Forums » General Questions » RSS Feed - 10 most recently updated pages

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 584 Views
  • Lisa
    Avatar
    Community Member
    3 Posts

    RSS Feed - 10 most recently updated pages Link to this post

    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

    584 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.