DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:amazonlight

AmazonLight Plugin

Compatible with DokuWiki

  • 2018-04-22 "Greebo" yes
  • 2017-02-19 "Frusterick Manners" unknown
  • 2016-06-26 "Elenor Of Tsort" unknown
  • 2015-08-10 "Detritus" unknown

plugin A drop-in replacement for the amazon plugin that does not use the product advertisement api

Last updated on
2019-06-12
Provides
Syntax
Repository
Source
Conflicts with
amazon

Similar to amazon

Tagged with amazon, asin, isbn

This plugin embeds an image, title, Amazon link and optionally price for any given ASIN. This makes it a bit easier to create nicer looking links to books, games or other products.

This plugin is a simpler drop-in replacement for the now mostly defunct amazon plugin. It no longer relies on the Amazon Product Advertising API (which has been severely crippled over the years). Instead data is extracted from Amazon's banner server. This means there is less data available, but you no longer need to have an API key.

Installation

Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.

Configuration

The plugin integrates into the Configuration Manager. You can configure your Partner-IDs for the different countries and set some defaults for image sizes and if the price should be shown or not.

Usage

Usage is simple – just use the amazon tag providing an ASIN as shown below:

{{amazon>0142000280}}

If you want to link to a national Amazon, use the following syntax to access the German, Japanese, British, French or Canadian Amazon site.

{{amazon>de:0142000280}}
{{amazon>jp:0142000280}}
{{amazon>gb:0142000280}}
{{amazon>fr:2749102448}}
{{amazon>ca:0142000280}}

The default configuration options set in the config manager can be overridden by giving additional space separated keywords:

{{amazon>0142000280 price 50x70}}

The following keywords can be used:

widthxheight the size of the shown image(s)
noprice don't show product prices
price show product prices
plugin/amazonlight.txt · Last modified: 2019-10-25 10:18 by Dr-Yukon