Feeds

With “Feeds” you can use Amazon’s RSS feeds to automatically embed the feed items in your pages.

Feeds page

Screencast



Create a new feed

To create a new feed, navigate to ASA 2‘s section “Feeds” and click the button “Create new feed”.

Feeds create

On the “Create new feed” page, enter a unique name for the feed and the feed URL.

To find the feed you are looking for, please check Where to find the feeds?.

Feeds create form

Refresh recurrence

For “Refresh recurrence” you have to select when the feed will be refreshed. Amazon updates their feeds every hours, so a good choice would be “Once Houlry”. ASA 2 stores the content of a feed in the database, so it is possible to choose a recurrence higher than one hour. You can choose from different values provided by WordPress’s Cron API (the internal system for scheduled tasks).

Choose “Manually” if you want to use the server side cronjob to refresh the feeds, see Feed refresh.

If you can not find the recurrence you need, you can create your own. I recommend the plugin WP Crontrol for managing custom time intervals. After you have installed it, go to section “Settings / Cron Schedules” and add a new cron schedule.

For example, to execute the notification every six hours, enter a interval value of 129600 seconds:

Feed refresh recurrence

After you have successfully saved a new feed, it will appear in the list of feeds.

Feeds list

Embedding feeds

In the list of feeds you already see the shortcode to embed it in a page.

Feeds shortcode

Click on the shortcode to select it. Now you can copy and paste it in your posts or pages.

There are some helpful options you can use with [asa2_feed]. Especially useful are the options offset and limit. You can use them to only display a certain part of the feed list.

Let’s say you want to display a list of the top 5 products:

[asa2_feed limit="5"]top_10_dvd_us[/asa2_feed]

Of course you can use custom templates for displaying the feed items:

[asa2_feed limit="5" tplid="123"]top_10_dvd_us[/asa2_feed]

Shortcode documentation

See chapter [asa2_feed] for more details about the shortcode.

Where to find the feeds?

Amazon offers different categories of feeds:

  • Best Sellers
  • Hot New Releases
  • Movers & Shakers
  • Top Rated
  • Most Wished For
  • Gift Ideas

A good starting point is to open the “Best Sellers” page of the shop of your choice and then navigate to the category and department you wish to use.

Best Sellers

Store URL
BR http://www.amazon.com/gp/bestsellers/
CA http://www.amazon.ca/gp/bestsellers/
CN http://www.amazon.cn/gp/bestsellers/
DE http://www.amazon.de/gp/bestsellers/
ES http://www.amazon.es/gp/bestsellers/
FR http://www.amazon.fr/gp/bestsellers/
IN http://www.amazon.in/gp/bestsellers/
IT http://www.amazon.it/gp/bestsellers/
JP http://www.amazon.jp/gp/bestsellers/
MX http://www.amazon.mx/gp/bestsellers/
UK http://www.amazon.co.uk/gp/bestsellers/
US http://www.amazon.com/gp/bestsellers/

For example, to get the feed for top rated pop music, you have to click the tab “Top Rated”. Then navigate to departement “Music / Pop”. Under the list of products you will find “Subscribe to” with the label of the selected department.

Feeds find

When you click the “Subscribe to” link, you will get the URL of the feed:

Feeds URL

You can copy this URL and paste it to the ASA 2 feed form.

Options

Please refer to options page Feeds for more details about the “Feeds” feature options.