Feed Sign in with OpenID OpenID

Simon Willison’s Weblog

Validating HTML from behind a firewall

Steve Clay’s Private Validator is a really handy tool for people who working on intranet sites who want to be able to run them through the W3C’s validator. It’s a PHP script which you install on a server behind the firewall that has access to both the intranet and the outside world. It comes with a bookmarklet which activates the script. When the script is activated, it grabs the indicated page, then uploads it to the external validator and grabs the result. It’s pretty neat, but even neater would be some kind of desktop application that did the same thing. I can almost feel a Python script coming on.

This is Validating HTML from behind a firewall by Simon Willison, posted on 29th July 2003.

View blog reactions

Next: Superb CSS template/tutorial

Previous: PHP XPath Implementation

6 comments

  1. For Windows, there are at least a couple of options:

    Of course, you can just download the WDG or W3C validators, they are both open-source, IIRC.

    Jim Dabell - 30th July 2003 01:01 - #

  2. Great, I've been looking for something to do this for a while. I'd tried "A Real Validator" before, but it only validates files rather then URLs which makes it useless for validating PHP pages etc.

    Xiven - 30th July 2003 10:47 - #

  3. Jim, both the WDG and W3C HTML validators are a complete pain the ass to download and install correctly. The CSS validator is much easier, but there's still a distinct lack of free desktop HTML and CSS validator.

    Phil Wilson - 30th July 2003 15:32 - #

  4. The "Web Developer" plugin for Mozilla Firebird has a "Validate Local HTML" and "Validate Local CSS" that passes the current source to the WDG validator. Very handy for internal-only validation.

    Steven Garrity - 31st July 2003 19:49 - #

  5. Nice pointer Steven! Does anyone know if there's an equivalent for full Mozilla?

    Phil Wilson - 1st August 2003 20:06 - #

  6. Armor2net Personal Firewall is a technology that helps prevent intruders from accessing data on your PC via the Internet or another network, by keeping unauthorized data from entering or exiting your system. It also blocks some Trojan horse programs and many hostile applications that seek to take over your computer.

    Armor2net - 14th August 2004 04:14 - #

Comments are closed.

Previously hosted at http://simon.incutio.com/archive/2003/07/29/intranetValidation

A django site