function get_keywords($keywords = array()) { /* * Keyword array arguments: * - Description: For Keyword Help Display * - Live: [1|0] Indicates if keyword is retrieved via AWS * - Position: Array of arrays to determine location of data in AWS XML * - Group: Which ResponseGroup needed for AWS to return item data * - User: [1|0] Indicates if keyword is supplied by User * - Link: [1|0] Indicates keyword should not have \r \n replaced before insertion. * - Default: If not provided/found use this value, if not provided '-' is used * - Calculated: If keyword should not be substituted during first template run */ if (!isset($this->keywords)) { $keywords = array('link_open' => array('Description' => __('Create an Amazon link to a product with user defined content, of the form %LINK_OPEN%My Content%LINK_CLOSE%', 'amazon-link')), 'rlink_open' => array('Description' => __('Create an Amazon link to product reviews with user defined content, of the form %RLINK_OPEN%My Content%LINK_CLOSE%', 'amazon-link')), 'blink_open' => array('Description' => __('Create an Amazon link to the authors biography page, of the form %BLINK_OPEN%My Content%LINK_CLOSE%', 'amazon-link')), 'slink_open' => array('Description' => __('Create an Amazon link to a search page with user defined content, of the form %SLINK_OPEN%My Content%LINK_CLOSE%', 'amazon-link')), 'link_close' => array('Description' => __('Must follow a LINK_OPEN (translates to "</a>").', 'amazon-link')), 'asin' => array('Description' => __('Item\'s unique ASIN', 'amazon-link')), 'asins' => array('Description' => __('Comma seperated list of ASINs', 'amazon-link')), 'product' => array('Description' => __('Item\'s Product Group', 'amazon-link')), 'binding' => array('Description' => __('Item\'s Format (Paperbook, MP3 download, etc.)', 'amazon-link')), 'features' => array('Description' => __('Item\'s Features', 'amazon-link')), 'title' => array('Description' => __('Item\'s Title', 'amazon-link')), 'artist' => array('Description' => __('Item\'s Author, Artist or Creator', 'amazon-link')), 'manufacturer' => array('Description' => __('Item\'s Manufacturer', 'amazon-link')), 'thumb' => array('Description' => __('URL to Thumbnail Image', 'amazon-link')), 'image' => array('Description' => __('URL to Full size Image', 'amazon-link')), 'image_class' => array('Description' => __('Class of Image as defined in settings', 'amazon-link')), 'search_text_s' => array('Description' => __('Search Link Text (Escaped) from Settings Page', 'amazon-link')), 'search_text' => array('Description' => __('Search Link Text from Settings Page', 'amazon-link')), 'url' => array('Description' => __('The raw URL for a item\'s product page', 'amazon-link')), 'surl' => array('Description' => __('The raw URL for a item\'s search page', 'amazon-link')), 'burl' => array('Description' => __('The raw URL for a item\'s biography page', 'amazon-link')), 'rurl' => array('Description' => __('The raw URL for a item\'s review page', 'amazon-link')), 'rank' => array('Description' => __('Amazon Rank', 'amazon-link')), 'rating' => array('Description' => __('Numeric User Rating - (No longer Available)', 'amazon-link')), 'offer_price' => array('Description' => __('Best Offer Price of Item', 'amazon-link')), 'list_price' => array('Description' => __('List Price of Item', 'amazon-link')), 'price' => array('Description' => __('Price of Item (Combination of Offer then List Price)', 'amazon-link')), 'text' => array('Description' => __('User Defined Text string', 'amazon-link')), 'text1' => array('Description' => __('User Defined Text string', 'amazon-link')), 'text2' => array('Description' => __('User Defined Text string', 'amazon-link')), 'text3' => array('Description' => __('User Defined Text string', 'amazon-link')), 'text4' => array('Description' => __('User Defined Text string', 'amazon-link')), 'pub_key' => array('Description' => __('Amazon Web Service Public Access Key ID', 'amazon-link')), 'mplace' => array('Description' => __('Localised Amazon Marketplace Code (US, GB, etc.)', 'amazon-link')), 'mplace_id' => array('Description' => __('Localised Numeric Amazon Marketplace Code (2=uk, 8=fr, etc.)', 'amazon-link')), 'rcm' => array('Description' => __('Localised RCM site host domain (rcm.amazon.com, rcm-uk.amazon.co.uk, etc.) DEPRECIATED', 'amazon-link')), 'region' => array('Description' => __('Localised Amazon subdomain region for serving adverts, banners, and iframes ( eu, na, fe, cn, etc. )', 'amazon-link')), 'imp' => array('Description' => __('Localised Amazon subdomain for processing impression tracking ( ir-uk, ir-na, etc. )', 'amazon-link')), 'buy_button' => array('Description' => __('Localised Buy from Amazon Button URL', 'amazon-link')), 'language' => array('Description' => __('Localised language (English, etc.)', 'amazon-link')), 'tag' => array('Description' => __('Localised Amazon Associate Tag', 'amazon-link')), 'chan' => array('Description' => __('The ID of the channel used to generate this link', 'amazon-link')), 'cc' => array('Description' => __('Localised Country Code (us, uk, etc.)', 'amazon-link')), 'flag' => array('Description' => __('Localised Country Flag Image URL', 'amazon-link')), 'tld' => array('Description' => __('Localised Top Level Domain (.com, .co.uk, etc.)', 'amazon-link')), 'downloaded' => array('Description' => __('1 if Images are in the local WordPress media library', 'amazon-link')), 'found' => array('Description' => __('1 if product was found doing a live data request (also 1 if live not enabled).', 'amazon-link')), 'count' => array('Description' => __('When multiple ASIN\'s are used this is the count of which one is being shown', 'amazon-link')), 'timestamp' => array('Description' => __('Date and time of when the Amazon product data was retrieved from Amazon.', 'amazon-link'))); parent::get_keywords($keywords); } return $this->keywords; }