DOKK / manpages / debian 10 / libmojomojo-perl / MojoMojo::Formatter::Amazon.3pm.en
MojoMojo::Formatter::Amazon(3pm) User Contributed Perl Documentation MojoMojo::Formatter::Amazon(3pm)

Return true if the module is loaded.

MojoMojo::Formatter::Amazon - Include Amazon objects on your page.

This is an url formatter. it takes urls containing amazon and /-/ or /ASIN/ and make a pretty formatted link to that object in the amazon web store.

It automatically handles books/movies/dvds and formats them as appropriate. You can also pass 'small' as a parameter after the url, and it will make a thumb link instead of a blurb.

Format order can be 1-99. The Amazon formatter runs on 5.

calls the formatter. Takes a ref to the content as well as the context object.

Connects to amazon and retrieves a Net::Amazon object based on the supplied ASIN number.

Renders a small version of the formatter.

renders a full width blurb of the product, suitable for reviews and such.

DVD <property>

Product information suitable for DVD movies.

Product information suitable for books.

Product information suitable for music CDs.

MojoMojo, Module::Pluggable::Ordered, Net::Amazon.

Marcus Ramberg <mramberg@cpan.org

This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.

2018-01-13 perl v5.26.1