PDA

View Full Version : HTML Validation



panic36
05-11-2006, 05:15 PM
I've always got the green code for validation from w3.org but now that I’m using affiliates I can no longer leave the good code symbol on my website. When it views my site it shows the "offerid" "offer" "bid" as errors and warnings, even though I have no control over them... Is the only way of getting green again removing my affiliates?

sands
05-11-2006, 08:58 PM
When it views my site it shows the "offerid" "offer" "bid" as errors and warnings, even though I have no control over them... Is the only way of getting green again removing my affiliates?

You mean it is the affiliate code that is the reason for the errors showing? If yes, this is usually due to the affiliate link code not being in compliance. Often all that is required to be done is to change the code of the affiliate links. For example if your affilate link is as follows:
http://www.example.com/exclick.php?linkid=43019&offer=1073&bid=93919&offerid=30890
Just change the & to & in the code to make the above link as follows:
http://www.example.com/exclick.php?linkid=43019&offer=1073&bid=93919&offe rid=30890
The same should be done to the image tags if any. This would not in any way change what the link does and at the same time you would see your valid code green colour :-)

Spectur
05-11-2006, 11:20 PM
I know the feeling. I am unable to get xhtml to validate because of various items ( like the custom meta tag for google sitemap, or my rss feed conent on my site) this is very frustrating when the standards are so restrictive and leave no room for any flexibility or growth.

panic36
05-12-2006, 03:54 AM
Thank you for your response. I have changed all the links from & to & however this doesn't fix the problem... In validator.w3.org it says do the same but I did change it but it doesn't show up??? This is ridiculous. Maybe the way I have it set up is bad? I have all my affiliates in a table in my database and I'm doing RAND()... I have changed all the links in the database to the changed code however it doesn't show up in the web browser doesn't recognize it. Actually one weird thing was I did a sitereportcard.com and there was only 4 errors, all the other errors were gone, but I did it again and then I had 37 warnings now??? This is insane :(... Thank you for your help.

EDIT: Ok I saved my table to a sql file on my hdd and emptied the table and then ran the sql code on the table and now it works??? I don't get how that changes anything... Thank you for your help!