Multiple pages with ebay rss feed

Discussion in 'Commission Junction' started by kx2, Oct 3, 2007.

  1. #1
    Can somebody tell me how to have ebay rss feed span on multiple pages on my website?

    Say I want 10 items per page. This would be really helpful to know.

    Thanks in advance.
     
    kx2, Oct 3, 2007 IP
  2. hanji

    hanji Peon

    Messages:
    612
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If you have some PHP skillz, the way to to do is to suck the RSS feed into a array. Then loop the array with a start and end index point (for loop). Take the total records (100) divided by the number of auctions per page that will give you the number of pages available, then make some 'page' links (ie: 1, 2, 3, etc). Based off of the page value passed, you set up your start and end point for the loop (0 - 9 or 10 - 19, etc).

    When I get some time today, I'll write a little article about this with PHP examples.

    hanji
     
    hanji, Oct 4, 2007 IP
  3. hanji

    hanji Peon

    Messages:
    612
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #3
    hanji, Oct 4, 2007 IP
  4. jonixkonios

    jonixkonios Peon

    Messages:
    504
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #4
    great piece of code hanji, excellent work!
     
    jonixkonios, Oct 4, 2007 IP
  5. hanji

    hanji Peon

    Messages:
    612
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Thanks jonixkonios

    I hope to have a lot more code snippets in the near future.

    hanji
     
    hanji, Oct 4, 2007 IP
  6. kx2

    kx2 Well-Known Member

    Messages:
    176
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #6
    Thanks a lot hanji, I will try it out.
     
    kx2, Oct 5, 2007 IP
  7. hanji

    hanji Peon

    Messages:
    612
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #7
    No prob! Hope it gives you something to work with.

    hanji
     
    hanji, Oct 5, 2007 IP
  8. bujuk

    bujuk Active Member

    Messages:
    171
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    58
    #8
    Nice work. Really appreciate for the detail explanation. will include them in my next project.

     
    bujuk, Oct 7, 2007 IP
  9. geomark

    geomark Peon

    Messages:
    924
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    0
    #9
    I love your domain name!
     
    geomark, Oct 8, 2007 IP
  10. hanji

    hanji Peon

    Messages:
    612
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Thanks geomark!
     
    hanji, Oct 8, 2007 IP