1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to display an RSS Feed's content on a Wordpress page?

Discussion in 'Blogging' started by muchacho, Mar 31, 2011.

  1. muchacho

    muchacho Supreme Member

    Joined:
    May 14, 2009
    Messages:
    1,293
    Likes Received:
    187
    Location:
    Lancashire, England.
    OK, this is probably very simple, what I'd like to do is display some of the best sellers, new releases etc on a category in Amazon on my site and for it to update (if possible) whenever Amazon updates it.

    If you see this link you'll notice it's displaying the top 100 in music.
    HTML:
    http://www.amazon.com/gp/bestsellers/music?tag=my-assoc-tag
    If you change the /gp/ to /rss/ you now have the Feed. I'd like to have my own WP page which visitors can look at and then some will click to visit Amazon and purchase the tune.

    Any suggestions please?
    Is it also possible to have the feed updated whenever Azn update it, so it's in real time?
     
  2. kokoloko75

    kokoloko75 Elite Member

    Joined:
    Jan 1, 2011
    Messages:
    1,628
    Likes Received:
    1,936
    Occupation:
    Design director
    Location:
    Paris (France)
    Great find !
    Very interesting to manipulate the feed via Yahoo Pipe (...).

    Beny
     
  3. ┼blackrat┼

    ┼blackrat┼ Senior Member

    Joined:
    Jul 31, 2010
    Messages:
    899
    Likes Received:
    729
    Location:
    Sewer
    Here´s a few options, and yes, once amazon updates the feed it´ll be updated on ur site as well.
     
  4. kokoloko75

    kokoloko75 Elite Member

    Joined:
    Jan 1, 2011
    Messages:
    1,628
    Likes Received:
    1,936
    Occupation:
    Design director
    Location:
    Paris (France)
    I just try to fetch the feed, and it works very well.
    There is even the Amazon's stars rating.

    Right now, just use a regular expression to convert the bonds into affiliate links.

    Beny
     
  5. muchacho

    muchacho Supreme Member

    Joined:
    May 14, 2009
    Messages:
    1,293
    Likes Received:
    187
    Location:
    Lancashire, England.
    Hmm, I tried 3 and none of them appeared to work - others had dead links.

    I can display the feeds by feeding the RSS through WP Robot, but it only posts 1 at a time, unless there's an option in WP Robot to grab more than 1 on each process.
     
  6. muchacho

    muchacho Supreme Member

    Joined:
    May 14, 2009
    Messages:
    1,293
    Likes Received:
    187
    Location:
    Lancashire, England.
    Can you explain a bit further what you can do with YP to make this even better?

    At the moment, it displays 1 item which is fine as I can give my visitors a best seller or a new release every now and then, but what can YP do that's beneficial, here?
     
  7. kokoloko75

    kokoloko75 Elite Member

    Joined:
    Jan 1, 2011
    Messages:
    1,628
    Likes Received:
    1,936
    Occupation:
    Design director
    Location:
    Paris (France)
    I just tried to fetch the feed to display 10 products.
    I used Yahoo Pipe sometimes to make a kind of search and replace for the output URL (to add my affiliate ID).

    I didn't try with this feed but it will definitely work.
    For those unfamiliar with Yahoo Pipe, I suggest you to look into...

    Beny
     
  8. kokoloko75

    kokoloko75 Elite Member

    Joined:
    Jan 1, 2011
    Messages:
    1,628
    Likes Received:
    1,936
    Occupation:
    Design director
    Location:
    Paris (France)
    Just a simple example...

    Original URL (from the feed fetched) :
    Code:
    http://www.amazon.com/Sucker-Punch-Various-Artists/dp/B004KD5TQI/ref=pd_zg_rss_ts_m_music_10?ie=UTF8&tag=my-assoc-tag
    This URL with my classic affiliate ID (MYID-20) :
    Code:
    http://www.amazon.com/gp/product/B004KD5TQI/ref=as_li_ss_tl?ie=UTF8&tag=[COLOR="lime"]MYID-20[/COLOR]&linkCode=as2&camp=0000&creative=000000&creativeASIN=B004KD5TQI
    So you can keep this part of the URL :
    Code:
    http://www.amazon.com/Sucker-Punch-Various-Artists/dp/B004KD5TQI/
    And to add your affiliate part :
    Code:
    http://www.amazon.com/Sucker-Punch-Various-Artists/dp/B004KD5TQI/[COLOR="Blue"]ref=as_li_ss_tl?ie=UTF8&tag=[COLOR="Lime"]MYID-20[/COLOR]&linkCode=as2&camp=0000&creative=000000[/COLOR]
    This manipulation can be automated via Yahoo Pipe, to have a custom RSS feed.

    Beny