Click here to get back home

Use local W3C validator on local site?

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Use local W3C validator on local site? Niki Kovacs 09-17-2005
Posted by Niki Kovacs on September 17, 2005, 11:56 am
Please log in for more thread options


Hi,

I'm an Austrian writer living in Montpezat (South France). I just installed
a local W3C validator on my machine (Slackware 10.1, local Apache server).
It's accessible as http://w3c-validator, because I'm on dialup and I want
to check pages offline.

Unfortunately, URL upload won't work, because the validator doesn't accept
any URL's beginning with http://localhost.

Is there any way to circumvent this limitation? I want to check the output
of a local PHP site, and I don't know how to check otherwise than by URL
upload.

Any suggestions?

Niki Kovacs
--
I'm not as think as you stoned I am.

Posted by Nick Kew on September 17, 2005, 8:32 pm
Please log in for more thread options


Niki Kovacs wrote:

> Any suggestions?

Either of:
(1) Just remove that check. But bear in mind that you
might be opening a security hole by exposing internal
details of your system to any user.
(2) Google for validator-lite, which is the same parser in
a desktop tool, and quite a lot simpler to set up
than a webserver-based validator.

--
Nick Kew

Posted by Niki Kovacs on September 18, 2005, 3:34 am
Please log in for more thread options


Nick Kew wrote:

> Either of:
> (1) Just remove that check.  But bear in mind that you
> might be opening a security hole by exposing internal
> details of your system to any user.

I run Slack Linux 10.1 with a hand-crafted iptables/netfilter firewall, so
my first thought about this is: let 'em come:oD

Cheers,

Niki Kovacs (same initials, hey)
--
I'm not as think as you stoned I am.

Posted by Stan Brown on September 18, 2005, 9:13 pm
Please log in for more thread options


On Sat, 17 Sep 2005 20:32:07 +0100 in
comp.infosystems.www.authoring.html, Nick Kew favored us with...
> (2) Google for validator-lite, which is the same parser in
> a desktop tool, and quite a lot simpler to set up
> than a webserver-based validator.

Does validator-lite find different problems from NSGMLS, or is it
just a different user interface for the same validation engine?

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2.1 spec: http://www.w3.org/TR/CSS21/
validator: http://jigsaw.w3.org/css-validator/
Why We Won't Help You:
http://diveintomark.org/archives/2003/05/05/why_we_wont_help_you

Posted by Nick Kew on September 19, 2005, 10:16 am
Please log in for more thread options


Stan Brown wrote:
> On Sat, 17 Sep 2005 20:32:07 +0100 in
> comp.infosystems.www.authoring.html, Nick Kew favored us with...
>
>> (2) Google for validator-lite, which is the same parser in
>> a desktop tool, and quite a lot simpler to set up
>> than a webserver-based validator.
>
>
> Does validator-lite find different problems from NSGMLS,
>
No. At least not if you update to onsgmls, since the old nsgmls
has been unmaintained for many years. It does offer the option
to find more errors than the W3C validator, as documented under
"parse mode"s. That is exactly equivalent to onsgmls commandline
options.
>
>        or is it
> just a different user interface for the same validation engine?

It is, as I said, the same parser - OpenSP. Also featured in the other
online HTML validation services, and in Liam's windows desktop
"arealvalidator". Whereas onsgmls is a commandline wrapper on OpenSP,
Validator-lite is a GUI wrapper.

--
Nick Kew

Similar ThreadsPosted
Playing a local mpeg file from a local HTML file... July 24, 2005, 6:02 pm
PHP pages, problems with W3C Validator Local installation on Windows January 21, 2006, 7:36 am
in-client local src replace. Possible? April 9, 2005, 3:42 pm
clearing only local floats November 11, 2006, 11:22 am
Open local folder from a link in IE/Firefox + XP SP2 November 17, 2004, 12:22 pm
Question about making links point to local October 3, 2007, 7:56 pm
Country list with iso1366 codes and local country names November 8, 2005, 6:51 am
Seeking whole site HTML validator (plus extras) May 25, 2005, 1:33 am
Problem with xhtml Validator at http://validator.w3.org/ July 27, 2005, 5:06 am
Recommendations for good Web site hosting company (for personal Web site) April 16, 2006, 7:49 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap