itsinmyhead Posted April 9, 2009 Share Posted April 9, 2009 So, I've got some RSS feeds setup. An example: http://www.adkpennysaver.com/rss/rssfeed.php If you go to that page and refresh, you'll see that the listings are displayed in a random order. However, if you add them to your iGoogle/whatever page, they aren't displayed in a random order - they're displayed in whatever order they were shown on the above page. Even with refreshing your homepage/whatever page the feed is displayed on, the results do not change order. Is there a way to get these to resort randomly each time someone accesses it on their homepage? It's pretty beneficial that the results are displayed in a random order so that all of the ads have a chance to be seen rather than just a few static ones. Thanks! Link to comment https://forums.phpfreaks.com/topic/153366-rss-php-display-random-articles/ Share on other sites More sharing options...
jonsjava Posted April 9, 2009 Share Posted April 9, 2009 Unfortunately, RSS does not have a standard to expire pages, so when Google grabs a feed, it stays cached for a period of time (I'm not exactly certain on the length of time, though). Until RSS implements the "expired" feature, you're prolly out of luck. Link to comment https://forums.phpfreaks.com/topic/153366-rss-php-display-random-articles/#findComment-805834 Share on other sites More sharing options...
itsinmyhead Posted April 10, 2009 Author Share Posted April 10, 2009 Ahh, bummer! I did come across some "random quote generator" RSS feeds that do the same thing - refresh on the PHP page but not once you add them to a homepage like iGoogle. Really kind of a drag... Link to comment https://forums.phpfreaks.com/topic/153366-rss-php-display-random-articles/#findComment-806561 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.