block and other options
wayland76 - November 27, 2007 - 05:21
| Project: | Amazon Filter |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | reviewed & tested by the community |
Description
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<1=_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.

#1
Agreed. Patch attached. Also improves documentation.
#2
#3
Oops, left out a parenthesis. Fixed now.