Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Does Apple support know that their iWEb snippet does not work for Amazon, and if so what is their solution ?anyone

I have tried using the Apple Community to place Amazon snippets into my site using the iWeb snippet tool. When i try to publish it by first publishing it to a folder then using Yummy FTP tool, what appers saved in iWEb does not appear on the web. Has anyone found a solution to this that they are willing to share. My site is not hosted by Mobileme, as Apple wont support it anymore.

Mac OS X (10.7.3), iWeb 09

Posted on Mar 6, 2012 4:04 AM

Reply
16 replies

Mar 6, 2012 4:26 AM in response to Ethmoid

I dont know how to check the logic in the code, and Amazon feels the problem can be resolved by trawling their community board. I havnt found an answer ....


RODDY has tested some of the code I copied and pasted from Amazon; it appears to work for him on his site, but I cant find a way to publish the code on my site (which is not hosted by MobileMe). So here lies theproblem, where do I go from here?

Mar 6, 2012 5:00 AM in response to HandiEworker

So, are you placing the code into the black part of the html snippet and then clicking on Apply?


When you publish your site from iWeb to a local folder without uploading, does the code work then?


Perhaps you could try using another ftp application such as Cyberduck instead to see if this works.


What host are you using and are you trying to upload to?

Mar 6, 2012 5:34 AM in response to Ethmoid

Yes I am placing the Amazon code into the black part of the html snippet and then clicking on Apply. It appears in iWEb then I save his page


When I publish the site from iWeb to a local folder the code does work


What host are you using and are you trying to upload to? https://ecenica.com


Another ftp application? Yummy is used by fellow community member Roddy, and is recommended. I am not sure if this will make a difference, shouldnt they both do the same job?

Mar 6, 2012 8:22 AM in response to HandiEworker

As I suggested in my post in your other topic, I think you are uploading the files to the wrong place.


Its possible you have two versions of your site on the server - one uploaded to via the iWeb FTP the other with Yummy FTP.


Yummy is way superior to Cyberduck and allows you to "see" the files on the server and the local ones on your Mac. Its a far better tool - especially for those new to FTP...


http://www.iwebformusicians.com/Search-Engine-Optimization/Upload.html

Mar 22, 2012 8:40 AM in response to Roddy

In trying to find a solution to make iWEb snippet work I have copied this from the internet as an iframe alternative to the HTML snippet. This issue is causing me such a headache, and i feel close to just giving up on the idea, there are so many out there with the same problem and same anguish........

To display a remote webpage in an iWeb webpage, you use the HTML Snippet with the <iframe> HTML element.It's a line of code with a lot of attributes :

<iframe src="http://url.to.file.html" frameborder="0" width="500" height="500" scrolling="no" allowTransparency="true"></iframe>

iWeb uses an separate file, widget0-markup.html, to display that remote page.And since the HTML Snippet itself is an <iframe> it's double. To avoid that you can use a JavaScript that replaces the widget0-markup.html with another file, be it a webpage or an image.

Here's the code you paste :

<div style="width: 650px; height: 650px">

<script language="JavaScript">

location.replace('../../../your files.html');

</script>

</div>


Use three sets of ../ to escape from the folder with the Sitename if you use a relative URL, Use "/url-to-file", when using a relative to root URL or use an absolute URL to the remote file.

The <div> is used to define the size of the HTML Snippet. It is assumed that the file doesn't have to scroll inside the HTML Snippet.

Now, assuming that this is the method to use what do I have to add to make sure this code works when published. Here is some HTML code that i am using, what will it look like with the code added?

<iframe src="http://rcm-uk.amazon.co.uk/e/cm?t=shopinmystor-21&o=2&p=8&l=as1&asins=B0044WWYN6 &ref=tf_til&fc1=000000&IS2=1&lt1=_blank&m=amazon&lc1=0000FF&bc1=000000&bg1=FFFFF F&f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>

Mar 22, 2012 10:08 AM in response to Wyodor

The Amazon coding at the bottom of MY message does not work using iWeb09 snippet function.


So I have even tried using iWeb enhancer with text boxes but still no success, all I get is the code in iWeb but not on the web!


Using your blog page example then, if I put the amazon code in and altered the height and width to theirs, then paste it into the HTML snippet in iWeb 09 is this correct so far?


<iframe src="http://rcm-uk.amazon.co.uk/e/cm?t=shopinmystor-21&o=2&p=8&l=as1&asins=B0044WWYN6 &ref=tf_til&fc1=000000&IS2=1&lt1=_blank&m=amazon&lc1=0000FF&bc1=000000&bg1=FFFF F F&f=ifr" frameborder="0" width="120" height="240" scrolling="no" allowTransparency="true"></iframe>


If it is, using your Blog example where does the Java script go?

Mar 22, 2012 10:18 AM in response to HandiEworker

I pasted your code in a HTML Snippet. It displayed as advertised and when I clicked the button the Amazon pages showed.


Here's the page :


http://www.wyodor.net/_Demo/Aptana/Amazon.html


And this is the widgetmarkup file with the HTML Snippet :


http://www.wyodor.net/_Demo/Aptana//Amazon_files/widget0_markup.html


Tell me what doesn't work. (Note that the page is shown at Amazon as Referral.)


The JavaScript is an alternative. It's either the iframe OR the JavaScript.


So again, paste the iframe code in a HTML Snippet.

Mar 23, 2012 4:07 AM in response to Wyodor

I dont doubt that you were successful but when I used this link it just displayed the word "amazon" for me http://www.wyodor.net/_Demo/Aptana/Amazon.html.


And this a blank white page http://www.wyodor.net/_Demo/Aptana//Amazon_files/widget0_markup.html


I am trying other routes to eliminate the obvious...


1. I reset my Safari browser thinking maybe it cant see the results you achieved , but no change.


2. I am currently not hosting this site using mobileme, but I have another site so I used iWeb09 and a snippet and published the code, it did not publish to the web either ?


My iWeb seems to work perfectly otherwise it is such a frustrating puzzle.....

Mar 30, 2012 1:07 AM in response to Wyodor

I have spent a month trying to resolve this problem, (even trying iWeb enhances software) and have decided that it cant be fixed, and the fault lies with Apple software.


You have been very helpful, but my iWeb09 wont publish the code and i dont know what else to do...


As I have to have a solution, I have decided to use the link part of the code and a mash-up of hyperlinks on my site to reveal the items I have for sale via Amazon for visitors, the look is bad but its all I can do. My site URL is wwww.shopinmystore.org.uk if you want to see my efforts.

Mar 30, 2012 3:01 AM in response to Wyodor

Thats fantastic, thank you. Now I have the code I can paste into my site


From the amazon affiliate site the coding you gave me is nothing like the coding you gave to me.

For example it does not start with the coding <!DOCTYPE html PUBLIC

I asked them why wouldnt iWeb publish their coding? they were adamant it was not their responsibility and that I should go to Apple !


I have tried to include other car based products on my site but aagin the same problem, the snippet is on iWeb and nothing appears when you try to publish it on the Web. I end up pasting Amazon coding to a separate box, ditching their snippet, and from the text box use their links (in 3 parts) as my own hyperlink from iWeb. The result is you have their snippet appearing in a seperate window and from their the visitor can click to get into Amazon and buy the item under my affiliation.


I suspect that there are others who are trying to achieve the result I want, without knowledge of HTML coding.

This method I have devised will have to be my solution, until I find another, and will let peple know using this Community outlet.

Does Apple support know that their iWEb snippet does not work for Amazon, and if so what is their solution ?anyone

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.