Unix and Linux Discussions Tagged with amazon |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
1 |
1,227 |
What is on Your Mind? |
|
|
|
2 |
1,500 |
Shell Programming and Scripting |
|
|
|
0 |
5,884 |
What is on Your Mind? |
|
|
|
1 |
7,826 |
Ubuntu |
|
|
|
5 |
13,834 |
Virtualization and Cloud Computing |
|
|
|
0 |
7,084 |
Virtualization and Cloud Computing |
|
|
|
2 |
2,797 |
Post Here to Contact Site Administrators and Moderators |
|
|
|
3 |
6,142 |
IP Networking |
|
|
|
2 |
6,141 |
IP Networking |
|
|
|
1 |
2,536 |
Programming |
|
|
|
1 |
3,944 |
Programming |
|
|
|
1 |
6,781 |
Programming |
|
|
|
5 |
3,559 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
9,014 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,572 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,523 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
7,489 |
UNIX for Dummies Questions & Answers |
MojoMojo::Formatter::Amazon(3pm) User Contributed Perl Documentation MojoMojo::Formatter::Amazon(3pm)
module_loaded
Return true if the module is loaded.
NAME
MojoMojo::Formatter::Amazon - Include Amazon objects on your page.
DESCRIPTION
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 apropriate. You can also pass 'small' as a parameter after the url, and it
will make a thumb link instead of a blurb.
METHODS
format_content_order
Format order can be 1-99. The Amazon formatter runs on 5.
format_content
calls the formatter. Takes a ref to the content as well as the context object.
get <asin>
Connects to amazon and retrieves a Net::Amazon object based on the supplied ASIN number.
small <property>
Renders a small version of the formatter.
blurb <property>
renders a full width blurb of the product, suitable for reviews and such.
DVD <property>
Product information suitable for DVD movies.
Book <property>
Product information suitable for books.
Music <property>
Product information suitable for music CDs.
SEE ALSO
MojoMojo, Module::Pluggable::Ordered, Net::Amazon.
AUTHORS
Marcus Ramberg <mramberg@cpan.org
LICENSE
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2011-02-12 MojoMojo::Formatter::Amazon(3pm)