Hi! I would like to tell you about my first web tool. It's not really a markup validator, like the title says. It's just a PHP script that sends an HTTP request to the W3C Markup Validator and then outputs what it says about a given URI (as a PNG image). Here are some examples of using the validator on various websites:
(Valid markup)
(Invalid markup)
(Tentatively valid markup)
(No <!DOCTYPE>)
(404 error, not a URI, etc.)
The image is just 176x31 pixels. As the colored text points out, it's only using one image file for many different cases. I hope you guys find it useful.
Any suggestions? Comments? Tell me so! I plan on making a better style sometime. But it works, and that's what counts. And feel free to use it however you like
Code:
<img src="http://www.nonsensep.x10hosting.com/[COLOR="Blue"]markupvalid.php[/COLOR]?uri=[COLOR="Red"]http://www.w3.org/[/COLOR]" />
Code:
http://www.nonsensep.x10hosting.com/[COLOR="Blue"]markupvalid.php[/COLOR]?uri=[COLOR="Red"]http://www.youtube.com/[/COLOR]
Code:
http://www.nonsensep.x10hosting.com/[COLOR="Blue"]markupvalid.php[/COLOR]?uri=[COLOR="Red"]http://www.w3.org/&charset=iso-8859-1[/COLOR]
Code:
http://www.nonsensep.x10hosting.com/[COLOR="Blue"]markupvalid.php[/COLOR]?uri=[COLOR="Red"]http://www.circuitcity.com/[/COLOR]
Code:
http://www.nonsensep.x10hosting.com/[COLOR="Blue"]markupvalid.php[/COLOR]?uri=[COLOR="Red"]http://www.bestbuy.com/[/COLOR]
The image is just 176x31 pixels. As the colored text points out, it's only using one image file for many different cases. I hope you guys find it useful.
Any suggestions? Comments? Tell me so! I plan on making a better style sometime. But it works, and that's what counts. And feel free to use it however you like
Last edited: