In a fit of automation, I have abused the excellent MTMacro plugin to create an <amazon> tag. <amazon title=”Monster Manual II” asin=”0786928735”> would be blithely transformed into the appropriate link to Amazon. I do this, yes, because I’m too lazy to build affiliate links by hand each time.
The macro code, for those even lazier than I:
<MTMacroDefine name="Amazon" tag="amazon">
<a href="http://www.amazon.com/exec/obidos/ASIN/<MTMacroAttr name="asin">/unofficfengshuih/ref=nosim/"><MTMacroAttr name="title"></a>
</MTMacroDefine>
Mind you, I’m also too lazy to implement this in all the site templates, so until I get unlazy and do a bunch of editing, the feature’s pretty worthless.
Be First to Comment