![]() |
FAQ/Help |
Calendar |
Search |
#1
|
||||
|
||||
To include the new amazon ads for each page in pod, you can add this in the amazon part of the script:
if ($pod_topic) { if ($pod_dir =~ "Movies") { $pod_output="$pod_output".qq~ <script src="http://rcm.amazon.com/e/cm?t=berka&l=st1&search=$pod_topic_bis&mode=vhs&p=13&o=1" type="text/JavaScript"></script><BR> ~; } elsif (($pod_dir =~ "Music") or ($pod_dir =~ "Musik")) { $pod_output="$pod_output".qq~ <script src="http://rcm.amazon.com/e/cm?t=berka&l=st1&search=$pod_topic_bis&mode=music&p=13&o=1" type="text/JavaScript"></script><BR> ~; } else { $pod_output="$pod_output".qq~ <script src="http://rcm.amazon.com/e/cm?t=berka&l=st1&search=$pod_topic_bis&mode=books&p=13&o=1" type="text/JavaScript"></script><BR> ~; } Change berka to your amazon tag! To see it in action, goto www.berka.com |
#2
|
||||
|
||||
Ooups!
Before that codeblock You have to add: $pod_topic_bis = $pod_topic_dis; $pod_topic_bis =~ s/ /\%20/g; |
#3
|
|||
|
|||
Hello:
Tried the add-on. Received the following error message: [b] Missing right bracket at podvars.pm line 266, at end of line syntax error at podvars.pm line 266, at EOF Any idea as to what is causing it? Thanks.
__________________
Trust your ad to See My Ad.Com - www.seemyad.com |
#4
|
||||
|
||||
Yes... You are right...
I missed the last bracket when I did "copy and paste". Add a final bracket to make it work! } |
#5
|
|||
|
|||
Works fine.
Thanks again.
__________________
Trust your ad to See My Ad.Com - www.seemyad.com |
Reply |
|
![]() |
||||
Thread | Forum | |||
New "maxcomm" script using the new XML output from amazon.com | Community Feedback & Technical Support | |||
Maxcomm Amazon.de Script | Community Feedback & Technical Support | |||
Can't get amazon script to work | Community Feedback & Technical Support | |||
Did Maxcomm/Amazon table layout change? | Community Feedback & Technical Support | |||
Amazon Script not working? | Community Feedback & Technical Support |