Format a Review for Your Site

You supply the words, and this script handles generating a formatted book review for your site.

Listing and linking to individual products from your site focuses on books that you’ve specifically chosen to recommend. You can take things a step further by adding your own reviews along with each listing to give more context to each choice. If you’re not familiar with web development, this can be a time-consuming process.

Writing a review on Amazon is very simple because they have all of the pieces in place for you already: product information, a rating system, and a place to display your review. You simply decide how you feel about a product and type your thoughts into their review form. But if you want to add reviews to your own site, there’s suddenly more to think about. How should it be designed? Where do you get the product information to display along with the review? What HTML should be used to format the look of the review?

Alf Eaton’s Blam! (http://www.pmbrowser.info/blam.cgi) is a web tool that answers these questions by automating the process of adding a review to your site. Blam! is basically an HTML generator. You supply some initial information and the text of your review, and Blam! provides the HTML to add to your web page.

Blam! was designed with weblogs in mind, but it can be used to format reviews for any site. The site has a form (Figure 5-14) where you provide your site name, URL, the ASIN of the product you’re reviewing, and your associate ...

Get Amazon Hacks now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.