GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  MOJOMOJO::FORMATTER::AMAZON (3)

.ds Aq ’

    module_loaded

Return true if the module is loaded.

NAME

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

CONTENTS

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.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 MOJOMOJO::FORMATTER::AMAZON (3) 2011-02-12

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.