Home Menu

Menu


Reply
Thread Tools Display Modes
  #1  
Old Oct 02, 2001, 10:58 AM
BeRKA's Avatar
BeRKA BeRKA is offline
Member
 
Member Since: Aug 2001
Location: Sweden, Stockholm
Posts: 40
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



advertisement
  #2  
Old Oct 03, 2001, 09:38 AM
BeRKA's Avatar
BeRKA BeRKA is offline
Member
 
Member Since: Aug 2001
Location: Sweden, Stockholm
Posts: 40
Ooups!

Before that codeblock You have to add:
$pod_topic_bis = $pod_topic_dis;
$pod_topic_bis =~ s/ /\%20/g;


  #3  
Old Oct 03, 2001, 09:25 PM
freddy freddy is offline
Member
 
Member Since: Oct 2001
Location: USA
Posts: 40
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  
Old Oct 06, 2001, 01:18 AM
BeRKA's Avatar
BeRKA BeRKA is offline
Member
 
Member Since: Aug 2001
Location: Sweden, Stockholm
Posts: 40
Yes... You are right...
I missed the last bracket when I did "copy and paste".
Add a final bracket to make it work!

}

  #5  
Old Oct 06, 2001, 04:14 AM
freddy freddy is offline
Member
 
Member Since: Oct 2001
Location: USA
Posts: 40
Works fine.

Thanks again.

__________________
Trust your ad to See My Ad.Com - www.seemyad.com
Reply
Views: 750

attentionThis is an old thread. You probably should not post your reply to it, as the original poster is unlikely to see it.



Similar Threads
Thread Thread Starter Forum Replies Last Post
New "maxcomm" script using the new XML output from amazon.com BeRKA Community Feedback & Technical Support 0 May 29, 2002 03:10 PM
Maxcomm Amazon.de Script Gordon Community Feedback & Technical Support 9 Feb 20, 2002 04:57 AM
Can't get amazon script to work yevlesh Community Feedback & Technical Support 2 Jan 20, 2002 02:47 PM
Did Maxcomm/Amazon table layout change? freddy Community Feedback & Technical Support 0 Nov 01, 2001 01:59 AM
Amazon Script not working? blake Community Feedback & Technical Support 0 Aug 22, 2001 04:17 PM


All times are GMT -5. The time now is 10:06 AM.
Powered by vBulletin® — Copyright © 2000 - 2025, Jelsoft Enterprises Ltd.




 

My Support Forums

My Support Forums is the online community that was originally begun as the Psych Central Forums in 2001. It now runs as an independent self-help support group community for mental health, personality, and psychological issues and is overseen by a group of dedicated, caring volunteers from around the world.

 

Helplines and Lifelines

The material on this site is for informational purposes only, and is not a substitute for medical advice, diagnosis or treatment provided by a qualified health care provider.

Always consult your doctor or mental health professional before trying anything you read here.