To create a function which will be accessed from index page, this function calls amazon to pull best selling products from each product category. It creates 10 posts per category, adds meta data "is_review" = true, makes the title equal to the product name, and puts it in the category matching the amazon category.
## Deliverables
Amazon api and associate id stored in server-side .txt A. Wordpress Function for Homepage - This is a function which is called from homepage meant to generate posts - Creates txt file w/ last update time, function should run once a day - Calls Amazon - Pulls 10 bestselling products from each product category - Creates new posts for each product with product name as post title, and product category as wordpress category; if post already exists, doesn’t create post - thus total of 10 X Amazon product categories would be created first run - Add post custom-meta “is_review?? to each post Test: will run on default wordpress install