 |
? |
Author |
Message |
slioch
Joined: 25 Feb 2006
Posts: 3
|
Posted: Sat Feb 25, 2006 12:56 am |

|
I have implemented the feedforall script succesfully on my website but am keen to modify the script so that the item order from a particular feed is a random selection - rather than simply the same order as within the xml file.
Any ideas?
Thanks
|
_________________
Slioch
|
|

|
 |
MacSupport
Joined: 24 Feb 2005
Posts: 648
|
Posted: Sat Feb 25, 2006 2:20 am |

|
slioch wrote: |
I have implemented the feedforall script succesfully on my website but am keen to modify the script so that the item order from a particular feed is a random selection - rather than simply the same order as within the xml file.
Any ideas?
Thanks |
Code to do that has already been posted in this forum to do that.
|
|
|
 
|
 |
slioch
Joined: 25 Feb 2006
Posts: 3
|
Posted: Sun Feb 26, 2006 10:22 pm |

|
Thanks for the reply.
I have searched the forum on a variety of terms including "random" and have not found an appropriate topic.
A specific post would be helpful.
Thanks
|
_________________
Slioch
|
|

|
 |
MacSupport
Joined: 24 Feb 2005
Posts: 648
|
Posted: Sun Feb 26, 2006 10:35 pm |

|
slioch wrote: |
Thanks for the reply.
I have searched the forum on a variety of terms including "random" and have not found an appropriate topic.
A specific post would be helpful.
Thanks |
A quick search on "random" shows http://www.feedforall.com/forum/viewtopic.php?t=726&highlight=random . Part way down the first page the "nigelp" asks about a random selection of items. The code posted for him will do what you want.
Jim
|
|
|
 
|
 |
slioch
Joined: 25 Feb 2006
Posts: 3
|
Posted: Mon Feb 27, 2006 12:34 pm |

|
Thanks for this.
'must read whole thread!
Thanks
Toby
|
_________________
Slioch
|
|

|
 |
|
|
|