I'm using a js export to pull affiliate ads from my wsnlinks install to my wsngallery site. The url to view all the ads on one page (which is what I use to test if the ads are working) is
If you load the url you'll see that most of the ads come up as code instead of actual ads. I've been able to fix some of them by changing the first line of code from <a target="new" to <a target='new' while leaving the rest of code with double quotes. Not sure how or why this works, but it does. Unfortunately, Amazon ads are in iframes and I just can't seem to figure out how to change the code so that it doesn't encode the brackets or quotes.
EDIT - had to add a space after http:// in the code above to get it to show up correctly
Unfortunately that didn't work. Now I don't get anything at all. When I try to load the link I gave you above I get the toplist code that's in the template.
I see I gave you the 5.1 version and you need the 5.0 version, plus I was escaping both types of quotes instead of just one. Uploaded the correct file to your site now. Is it ok now?
Comments on js export & html
Forum Regular
Usergroup: Customer
Joined: Apr 03, 2007
Location: NY & PA
Total Topics: 94
Total Comments: 339
I'm using a js export to pull affiliate ads from my wsnlinks install to my wsngallery site. The url to view all the ads on one page (which is what I use to test if the ads are working) is
If you load the url you'll see that most of the ads come up as code instead of actual ads. I've been able to fix some of them by changing the first line of code from <a target="new" to <a target='new' while leaving the rest of code with double quotes. Not sure how or why this works, but it does. Unfortunately, Amazon ads are in iframes and I just can't seem to figure out how to change the code so that it doesn't encode the brackets or quotes.
EDIT - had to add a space after http:// in the code above to get it to show up correctly
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Upload the attached file to fix.
Attached Files:
Forum Regular
Usergroup: Customer
Joined: Apr 03, 2007
Location: NY & PA
Total Topics: 94
Total Comments: 339
Unfortunately that didn't work. Now I don't get anything at all. When I try to load the link I gave you above I get the toplist code that's in the template.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
I'm not sure how it is that you get that. Here's what I see using the file (I just changed affiliate to regular since I don't have an affiliate type).
The only way to figure why you don't see it is inspection I guess.
Attached Files:
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
I see I gave you the 5.1 version and you need the 5.0 version, plus I was escaping both types of quotes instead of just one. Uploaded the correct file to your site now. Is it ok now?
Forum Regular
Usergroup: Customer
Joined: Apr 03, 2007
Location: NY & PA
Total Topics: 94
Total Comments: 339
Looks like that did the trick. Thanks!