I don't know if I'm requesting just a small extension to the code or a major overhaul, but here goes: would it be possible to include a setting in the (otherwise very good) Amazon Associate Tools which does not only import author, title etc. of a book on sale with Amazon, but also the Editorial Reviews and preferably also the Customer Reviews?

Or if the designer doesn't feel like doing this, would it be a big thing to code this myself? I'm moderately fluent in PHP, but I don't know a bit about accessing Amazon data.

Anyone willing to give this a shot?

Thanks,

Ludo

Comments

alexfranke’s picture

I think an editorial review is already part of the item array. It's called editorialreview.

So you can add it to the node page by adding this at line 1462 in amazon.module. You probably want to escape all the special characters for HTML, but I'm not sure how to do that yet in php...

  if ($node->editorialreview) {
    $output .= "Editorial Review: $node->editorialreview<br />";
  } 

(btw, brand new to Drupal and php, so I'm pretty green there. Just trying to help!)