Project:Amazon Filter
Version:5.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:reviewed & tested by the community

Issue Summary

I'd like it if the filter would insert the Amazon IFrame blocks. An example would be:

<iframe src="http://rcm.amazon.com/e/cm?t=<% $associateid %>&o=1&p=8&l=as1&asins=<% $ASIN %>&fc1=000000&IS2=1&lt1=_blank&lc1=cf0000&bc1=000000&bg1=ffffff&f=ifr"
style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>

Where $associateid and $ASIN and the surrounding <%%> markers would be replaced with the appropriate text. I implemented it myself in two lines, but it had my associate ID hardcoded into it.

Comments

#1

Agreed. Patch attached. Also improves documentation.

AttachmentSize
amazon_filter_block.patch 1.27 KB

#2

Status:active» reviewed & tested by the community

#3

Oops, left out a parenthesis. Fixed now.

AttachmentSize
amazon_filter_block.patch 1.27 KB