Not universally available, you need to be an associate, but Amazon
offers this, which is done by javascript:

https://widgets.amazon.com/Amazon-QuickLinker-Widget

Add Quick Linker Widget

After you install this widget to your blog or Web Page, you can quickly
and easily link to relevant Amazon.com products as you write your blog
posts or update your page content by including custom HTML tags as you
type. Your Quick Links will have your Associates ID automatically
included. Learn more

    * <a type="amzn" >Harry Potter</a>
          o Links to Amazon.com search results page for "Harry Potter".
    * <a type="amzn" search="Harry Potter">My favorite hero</a>
          o The link reads "My favorite hero" and points to a search
results page for the phrase"Harry Potter".
    * <a type="amzn" search="Harry Potter" category="books">My favorite
hero</a>
          o Links to a search results page for the phrase "Harry
Potter", but only in the Books category.
          o View a list of valid Amazon.com category attributes
    * <a type="amzn" asin="B000012345">I love this item</a>
          o The link reads "I love this item" and links directly to the
specific Amazon product with Amazon id (ASIN) "B000012345"



For some reason the code I used with my associate account at amazon.com
doesn't work, but the code with the account at amazon.ca does.  Sadly
many items aren't available in Canada and many people need to use the
USA site.

Adam van den Hoven said the following on 12/06/2008 05:20 PM:
> If you wrote a simple parameterized snippet (you'd need that extension  
> too), you could easily set things up so that you have:
> 
> <r:snippet name="amazon" id="123456789"> Some Cool book </r:snippet>
> 
> its not exactly what you want but it would be > 80% of the way there!
> 
> 
> 
> 
> On 6-Dec-08, at 12:53 PM, Anton J Aylward wrote:
> 
>> Another Blog related question.
>>
>> I'm using KDE/Linux.  The browser, Konqueror, has 'shorthand' or
>> 'abbreviations', such as 'cpan', 'jeeves', 'google', 'ggmovie', 'wp'
>> (for wikipedia).
>>
>> It occurs to me that I'm making a lot of references to Amazon in my
>> blog.  It would be nice to be able to write "<amazon:9620102>" and  
>> have
>> a reference to that isbn or product id.  Even better if it also has my
>> Associates ID in there as well :-)
>>
>> There's something like  this on Rory Hansen's site
>> http://www.roryhansen.ca/category/ruby-on-rails/
>>
>> :-( Shame I'm not a programmer :-(
>>
>> The Amazon example is clearly useful.  I can think of a couple of  
>> others
>> that are marginal like YouTube and Twitter and Flickr.   Perhaps  a
>> 'configurable' "url-abbreviation-expander" is the right idea, like in
>> Konqueror.

-- 
Security should be as intuitive as possible.  -- Bruce Schneier
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to