Results 1 to 5 of 5

Thread: How to mix multiple feeds in a random order

  1. #1
    Join Date
    Nov 2012
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default How to mix multiple feeds in a random order

    1) Script Title: gAjax RSS Feeds Displayer v2.0 (hosted)

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...sdisplayer.htm

    3) Describe problem:

    Is there a way to mix up the display order of multiple feeds? Currently Feed A will display the first 10 items (1-10) sorted by date; then Feed B will display 10 items (11-20) by date; etc.

    It would be nice to blend 5 or 10 unique feeds together all in a random order sorted by date.

    Thanks for any help.

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    1,933
    Thanks
    16
    Thanked 303 Times in 302 Posts
    Blog Entries
    9

    Default

    This code looks promising: http://www.widgetsandburritos.com/me...eds-php-cache/

    You should them be able to use "http://mywebsite.com/path/to/feed.php" in the RSS Feeds Displayer "cssfeed.addFeed()" array.

    You could also try this: http://www.webmaster-source.com/2007...ith-simplepie/
    Focus on Function Web Design | Latest News RSS | Facebook | Twitter |
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps |
    The only limit to creativity is imagination: JemCon.org

  3. #3
    Join Date
    Aug 2004
    Posts
    9,878
    Thanks
    3
    Thanked 962 Times in 951 Posts
    Blog Entries
    15

    Default

    This is how the script should behave by default already- if you setresults to be shown by date, the script will always order the entries based solely on their published dates, irrespective of the entry's source. Below is a screenshot of this in action (notice the BBC entries don't appear side by side):

    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	screen.jpg 
Views:	109 
Size:	20.6 KB 
ID:	4841  
    DD Admin

  4. The Following User Says Thank You to ddadmin For This Useful Post:

    TennisWill (12-04-2012)

  5. #4
    Join Date
    Nov 2012
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thank you for the replies.

  6. #5
    Join Date
    Dec 2008
    Location
    Portsmouth, UK
    Posts
    1,780
    Thanks
    2
    Thanked 414 Times in 408 Posts

    Default

    Vic
    God Loves You and will never love you less.
    http://www.vicsjavascripts.org/Home.htm
    If my post has been useful please donate to http://www.operationsmile.org.uk/

Similar Threads

  1. Random Content Order script not so random?
    By robins in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 04-03-2009, 01:37 PM
  2. Random news in gAjax RSS Feeds Displayer
    By khicon in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 08-08-2008, 11:52 AM
  3. gAjax RSS Feeds Displayer - can't display multiple feeds
    By nsbrown in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 06-06-2008, 08:40 AM
  4. gAjax RSS Feeds Displayer (multiple feeds)
    By RvdH in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 05-28-2008, 11:46 PM
  5. Random Content Order script - non-repeating random content
    By doomeyes in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 03-06-2008, 08:38 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •