It's amazon.module. Pre FormAPI, I would let users retrieve the title of a product by leaving the field blank and hitting preview. In hook_validate() I'd attach the results of a product query to the node object. Now I'm querying Amazon.com in hook_form_validate() and hook_form_submit(). Frankly, I just added the hook_form_submit() function last night.

At the moment there some terrible hackery in the module and I'm only recently seeing my way clear to fixing it. I converted it for FAPI when I actually need to reorganize it.

On 5/21/06, Bčr Kessels <ber@webschuur.com> wrote:
Op zondag 21 mei 2006 15:14, schreef Earl Dunovant:
> I think you'll be hacking. I am, until the next version of Drupal anyway.

Just curious: what module do you use this for?

Bčr