Need help to validate Amazon code ...

39 views
Skip to first unread message

Duz

unread,
Oct 22, 2008, 8:10:31 PM10/22/08
to Only Validation + Navigation = Crawlability
Hello Webado, I'm back. I haven't worked on my webpages for several
months, but I'm back at work now. I am having trouble with an Amazon
paragraph. I started with 60 problems and I'm down to 11, but I'm
stuck. There were a lot of capital letters and &s but I've run out of
ideas. Hope you can help. The code is on this page:

< http://www.fixitips.com/Simon-How-To-Refinish-Wood-Bar-Stools.shtml
>

<!-- Amazon Carousel Widget - Refinishing -->

<object classid="clsid:d27Cdb6e-ae6d-11cf-96B8-444553540000"
codebase="http://fpdownload.macromedia.com/get/flashplayer/current/
swflash.cab" id="player_545468bc-21de-43d9-84ba-fff3d803254f"
width="600px" height="200px"> <param name="movie" value="http://
ws.amazon.com/widgets/q?
serviceversion=20070822&amp;marketplace=us&amp;id=v20070822%2fus
%2ftoiletology10-20%2f8010%2f545468bc-21de-43d9-84ba-
fff3d803254f&amp;operation=getdisplaytemplate"><param name="quality"
value="high"><param name="bgcolor" value="#ffffff"><param
name="allowscriptaccess" value="always"><embed src="http://
ws.amazon.com/widgets/q?
serviceversion=20070822&amp;marketplace=us&amp;id=v20070822%2fus
%2ftoiletology10-20%2f8010%2f545468bc-21de-43d9-84ba-
fff3d803254f&amp;operation=getdisplaytemplate"
id="player_545468bc-21de-43d9-84ba-fff3d803254f" quality="high"
bgcolor="#ffffff" name="player_545468bc-21de-43d9-84ba-fff3d803254f"
allowscriptaccess="always" type="application/x-shockwave-flash"
align="middle" height="200px" width="600px"></embed></
object><noscript><a href="http://ws.amazon.com/widgets/q?
serviceversion=20070822&amp;marketplace=us&amp;id=v20070822%2fus
%2ftoiletology10-20%2f8010%2f545468bc-21de-43d9-84ba-
fff3d803254f&amp;operation=noscript">Amazon.com Widgets</a></noscript>

webado

unread,
Oct 22, 2008, 9:01:44 PM10/22/08
to Only Validation + Navigation = Crawlability
The problem is the method used to embed the flash object.

Basically the use of embed is deprecated.

The entire object tag needs to be rewritten as per the first method
(Satay Flash) given here:
http://www.webado.net/tutorials-embedding-flash.php

But that flash object also seems to be either huge or just not
loading.
Are you asure you want to show it at all?
Your page doesnt' load fully because of it.

Or perhaps you have the wrong url for it. It doesn't appear to be a
flash file at all.

Duz

unread,
Oct 22, 2008, 10:03:45 PM10/22/08
to Only Validation + Navigation = Crawlability
Webado, thanks for the prompt reply. I'm afraid I'm in over my head
with this. I've gone back and uploaded the original code as Amazon
writes except that I changed the ampersands. This code works but
gives me 11 errors.

< http://www.fixitips.com/Simon-How-To-Refinish-Wood-Bar-Stools.shtml
>


<!-- Widget-Wood-Refinishing.txt -->
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://fpdownload.macromedia.com/get/flashplayer/current/
swflash.cab" id="Player_37c0ade0-73a8-4bca-a020-2c450a54af18"
WIDTH="600px" HEIGHT="200px"> <PARAM NAME="movie" VALUE="http://
ws.amazon.com/widgets/q?
ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS
%2Ftoiletology10-20%2F8010%2F37c0ade0-73a8-4bca-
a020-2c450a54af18&amp;Operation=GetDisplayTemplate"><PARAM
NAME="quality" VALUE="high"><PARAM NAME="bgcolor"
VALUE="#FFFFFF"><PARAM NAME="allowscriptaccess" VALUE="always"><embed
src="http://ws.amazon.com/widgets/q?
ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS
%2Ftoiletology10-20%2F8010%2F37c0ade0-73a8-4bca-
a020-2c450a54af18&amp;Operation=GetDisplayTemplate"
id="Player_37c0ade0-73a8-4bca-a020-2c450a54af18" quality="high"
bgcolor="#ffffff" name="Player_37c0ade0-73a8-4bca-a020-2c450a54af18"
allowscriptaccess="always" type="application/x-shockwave-flash"
align="middle" height="200px" width="600px"></embed></OBJECT>
<NOSCRIPT><A HREF="http://ws.amazon.com/widgets/q?
ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS
%2Ftoiletology10-20%2F8010%2F37c0ade0-73a8-4bca-
a020-2c450a54af18&amp;Operation=NoScript">Amazon.com Widgets</A></
NOSCRIPT>

Christina S

unread,
Oct 22, 2008, 10:15:38 PM10/22/08
to only-va...@googlegroups.com
Hah, OK, it doesn't work for me because it is giving me a security warning
about the Amazon thing.

The warning says:

The current site is trying to open a site in you trusted sites list. Do you
want to allwo this?
Current site: http://ws.amazon.com
Trusted site: http://images.amazon.com

Warning: allowing thsi can explose you computer to security risks...

Do you have to use that Amazon stuff? It will turn a lot of people off from
your site, I can tell you that.


Christina
www.webado.net

webado

unread,
Oct 23, 2008, 10:31:05 PM10/23/08
to Only Validation + Navigation = Crawlability
Duz, I emailed you.
> > NOSCRIPT>- Hide quoted text -
>
> - Show quoted text -

Duz

unread,
Oct 24, 2008, 6:11:59 PM10/24/08
to Only Validation + Navigation = Crawlability
Re: Validating Amazon Widget Carousel

Hi Webado,
Got it working and it validates ... hoo-ray. I did have to remove six
ending slashes "/>". And the validator didn't like the second
id="player_545468bc-21de-43d9-84ba-fff3d803254f" . But once I got rid
of the slashes and the player, it works and gives me a green light.

I've been trying to see what it was you did. It looks like you removed
some capitals but there are still some left. Earlier when I changed
all the capitals to lower case, nothing would display.

Again many thanks,
Kay

webado

unread,
Oct 24, 2008, 7:41:51 PM10/24/08
to Only Validation + Navigation = Crawlability
Oh, my mistakes. The /> are only valid for an xhtml document. I
didn't check what you had.
And I mooffed on one param because I copied too much over and dragged
the id thing as well, which does not belong in a param tag in the
first place.

In fact you can take out that id altogether unless you are using it in
your css to style that object.

Glad you got it fixed :)

Duz

unread,
Oct 24, 2008, 9:15:00 PM10/24/08
to Only Validation + Navigation = Crawlability
Webado, I love to see that "green light" after validating a page. I
also posted my question on the Amazon discussion board thinking that
would be where the question of validation would be important, but I
only got one reply as here:

"The Amazon site itself is not compliant for W3C, so I'm not surprised
at all for other area's. How important is compliance, that is the
question of the day! Joe... "

http://forums.prosperotechnologies.com/n/mb/message.asp?webtag=am-associhelp&msg=24625.1&ctx=256

You are the best person to answer Joe's question ... "How important is
compliance." Again thanks for your help.
Duz

Christina S

unread,
Oct 24, 2008, 9:29:37 PM10/24/08
to only-va...@googlegroups.com
LOL

I'll not bother to go there and post anything. Let them wallow in their own
self-induced complacency.
I've done that before in other similar instances and have only been
ridiculed.
Theya re nto the only ones providing broken code. Youtube does it too.
They petty much all do it through carelessness and/or ignorance.
Google does it too by not adivising about html vs xhtml differences in the
code provided and how it has to be adapted. Or at least to mention that it
has tobe adapted. Then the onus is on the user to do the proper thing, at
least they've been informed.

Christina
www.webado.net

----- Original Message -----
From: "Duz" <kay.k...@ayrlawn.com>
To: "Only Validation + Navigation = Crawlability"
<only-va...@googlegroups.com>
Sent: Friday, October 24, 2008 9:15 PM
Subject: Only Validation Re: Need help to validate Amazon code ...


>

Reply all
Reply to author
Forward
0 new messages