Sha256: df5869818fa74e77f4166aa8af55800851af9194839a0a63e7c9ebae3c64c942

Contents?: true

Size: 599 Bytes

Versions: 30

Compression:

Stored size: 599 Bytes

Contents

amazonimg.rb

This CGI script is getting image URLs of items in Amazon by ASIN.
On tDiary running on secure mode, you cannot use amazon.rb plugin.
But if use this script, you can get images.

How to use:

* modify settings of amazonimg.rb. see header of this script.
   * You MUST set @cache_path. Make executable by Web server.
   * If you have Amazon Associate ID, set @amazon_aid.
   * and see comments other variables.

* Copy amazonimg.rb under place to be able to run by CGI.

* add script URL to @options['amazon.secure-cgi'] in your tdiary.conf
  it running on secure mode (@secure = true).

Version data entries

30 entries across 29 versions & 1 rubygems

Version Path
tdiary-4.2.1 vendor/bundle/ruby/2.3.0/gems/tdiary-4.2.0/misc/plugin/amazon/README.en
tdiary-4.2.1 misc/plugin/amazon/README.en
tdiary-4.2.0 misc/plugin/amazon/README.en
tdiary-4.1.3 misc/plugin/amazon/README.en
tdiary-4.1.2 misc/plugin/amazon/README.en
tdiary-4.1.1 misc/plugin/amazon/README.en
tdiary-4.1.0 misc/plugin/amazon/README.en
tdiary-4.1.0.20141126 misc/plugin/amazon/README.en
tdiary-4.0.5.1 misc/plugin/amazon/README.en
tdiary-4.0.5 misc/plugin/amazon/README.en
tdiary-4.0.4 misc/plugin/amazon/README.en
tdiary-4.0.3 misc/plugin/amazon/README.en
tdiary-4.0.2.20140201 misc/plugin/amazon/README.en
tdiary-4.0.2 misc/plugin/amazon/README.en
tdiary-4.0.1.20131102 misc/plugin/amazon/README.en
tdiary-4.0.1.20130929 misc/plugin/amazon/README.en
tdiary-4.0.1.20130903 misc/plugin/amazon/README.en
tdiary-4.0.1 misc/plugin/amazon/README.en
tdiary-4.0.0.20130826 misc/plugin/amazon/README.en
tdiary-4.0.0 misc/plugin/amazon/README.en