17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1716 Views |
-
External Feedreaders having trouble with Silverstripe RSS

19 November 2008 at 9:24am Last edited: 19 November 2008 9:41am
Hi,
Is anyone on the core development team aware that EVERY blog you create in Silverstripe has an RSS problem whereby external feedreaders (My Yahoo, iGoogle, etc.) are not getting the latest posts? This is because these, and many other readers, read the XML *linearly*, instead of sorting the nodes by date, and since the Silverstripe Blog module always puts a new Blog Entry at the BOTTOM, instead of the TOP, this is a huge problem.
Can someone, ANYONE, please make it so that a NEW Blog Entry gets created at the TOP of the list, as it should be? Can I change the code somewhere to make this happen?!
Thanks,
Garrett -
Re: External Feedreaders having trouble with Silverstripe RSS

19 November 2008 at 3:24pm
Hi,
I am not sure what version of the blog module you are using and if this is included in the version you can download through the Silverstripe module download page. I just checked a recent daily build and in the file /blog/code/BlogHolder.php is a function rss() which contains this line:
$children->sort('Date', 'DESC');
You could change this to either
$children->sort('Date', 'ASC');
or$children->sort('ID', 'DESC');
Cheers!
Anatol -
Re: External Feedreaders having trouble with Silverstripe RSS

20 November 2008 at 10:21am
You. Are. The. KING. Thank you! Still, though, don't you think a new Blog Entry should be created at the top??
//Garrett
-
Re: External Feedreaders having trouble with Silverstripe RSS

29 November 2008 at 10:06pm
> This is because these, and many other readers, read the XML *linearly*, instead of sorting the nodes by date,
Where do you get this information from? I don't think theres a "wrong way" of sorting feeds as far as feed readers are concerned. Even if they read linearly, they should get all items and compare with their internal caches.Google Reader Technical Publishers FAQ doesn't mention anything about sort order:
http://www.google.com/support/reader/bin/topic.py?topic=12019I agree that it should be easier to change the sort order if you feel so inclined.
| 1716 Views | ||
|
Page:
1
|
Go to Top |


