Download the PHP package multidimensional/amazon-widget without Composer
On this page you can find all versions of the php package multidimensional/amazon-widget. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download multidimensional/amazon-widget
More information about multidimensional/amazon-widget
Files in multidimensional/amazon-widget
Package amazon-widget
Short Description A MediaWiki Extension for adding Amazon Associate Widgets to your Wiki.
License MIT
Homepage https://github.com/multidimension-al/amazon-widget
Informations about the package amazon-widget
Amazon Associates Widget Mediawiki Extension
A MediaWiki Extension for adding Amazon Associate Widgets to your Wiki.
Requirements
- Mediawiki 1.25+
Installation
Download the extension and add it to your extensions folder, or install it by adding it to your file:
Activate the extension in and set your Amazon tag.
That's it!
Usage in MediaWiki
To use the Amazon tag, it is very easy. There are two elements that are required:
- ASIN (product code)
- Link ID (from your Amazon Associates link)
Example:
You can also add advanced tags:
- Width (pixel count or percentage)
- Height (pixel count or percentage)
- Style (any css style information)
Example:
Additional configuration options can be hardcoded in your file.
Amazon Links
You can also use this Extension to generate links to Amazon products by including text to include in the link by using the following style of tag:
`
Note that advanced settings cannot be used with these tags.
Advanced Configuration
Hard coded settings can also be added in your file. These will affect appearances across all Widgets, but note that your cache will need to be cleared for all changes to take effect.
Here are the default values:
License
The MIT License (MIT)
Copyright (c) 2019 multidimension.al
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.