Discussion Forums  >  Uncategorized

Replies: 6    Views: 337

manimossen
I hate code!
Profile
Posts: 10
Reg: Jun 02, 2011
location unknow...
100
07/25/11 03:03 PM (14 years ago)

New RSS post on top

How do I get the latest RSS news on top in my app. For now the latest news are at the end? The feed in my browser shows all RSS posts correct with latest on top.
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
07/25/11 06:32 PM (14 years ago)
This is weird. I've added a few RSS lists into my apps, the latest always appears first. I looked around for you and couldn't see any buzz options that changes the order, I think thats all done on your side (the website that has the rss system into it). Best of luck. David.
 
MGoBlue
Apple Fan
Profile
Posts: 980
Reg: Jun 07, 2011
Gold River, CA
10,600
like
07/25/11 07:27 PM (14 years ago)
I use RSS feeds all the time and haven't run into this issue. I have found some rss feeds that post data backward -- they append the new articles to the bottom of the file rather than the top. For these I've used yahoo pipes to re-sort the feed chronologically. You can give that a try.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
07/25/11 09:03 PM (14 years ago)
FYI: RSS feads are ordered server-side. This means if you control the RSS output you can change whatever order you want. If you don't, you'll be stuck with the results in whatever order they are delivered.
 
manimossen
I hate code!
Profile
Posts: 10
Reg: Jun 02, 2011
location unknow...
100
like
07/26/11 02:49 AM (14 years ago)
Thanks for your replies. I will look in to the output from my server and the Yahoo pipes. But I still find it strange that my web browser show the feed in the right order (chronologically). You can check the feed for your self - feed://www.adoptionscentrum.se/sv/Container/RSS/Nyheter/
 
MGoBlue
Apple Fan
Profile
Posts: 980
Reg: Jun 07, 2011
Gold River, CA
10,600
like
07/26/11 11:22 AM (14 years ago)
When I access the feed it has the oldest link at the top. I ran a yahoo pipe and re-sorted it for you. Try this and see if it works: http://pipes.yahoo.com/pipes/pipe.run?_id=04553c413abcc3eea833ae4f7ec174f0&_render=rss
 
manimossen
I hate code!
Profile
Posts: 10
Reg: Jun 02, 2011
location unknow...
100
like
07/26/11 01:57 PM (14 years ago)
Thank you. Works fine in my app. Solved my problem. But I am still confused because with my Safari the feed is ordered with newest post at top.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.