RE: http://validator.w3.org/

Renoir,
Thank you so much for all this.  Andrew did install an instance for me and I started using it
but it is not finding the html errors.  If I search a page with it I find 2 warning and 2 info
message but no errors.

If I run it in firefox I find 256 errors. Not sure what's happening with this version. Will read more.

-----Original Message-----
From: Renoir Boulanger [mailto:renoir@w3.org] 
Sent: July-20-15 9:28 AM
To: St-Pierre, Deborah: CIO-BPI
Cc: mike@w3.org; cooper@w3.org; abird@w3.org; www-validator@w3.org
Subject: Re: http://validator.w3.org/


Back again after some quick testing.

You might be able to do it by yourself from your local computer, but you’ll need to use command line.

Everything will be text but that’s good enough to help you without relying on any external web server or IT department

If you can do the following on the command line you might not even need to ask the IT department at all.


You’ll need:

1. Use the command line (Terminal in Mac OS X, "cmd" in Windows) 2. Have Java installed (procedure below will let you find out)


Procedure:

1. From the Terminal and you’ll get validator messages right away (the jar file)

1.1. Assume you downloaded vnu.jar_15.4.12.zip, and extracted it in a folder

1.2. Copy some HTML files in the same folder

1.3. Go in a terminal or command line

1.4. Type "java -version" (then Enter) if no error message goes off, you can continue

1.5. Go in the folder you downloaded the file. It depends if you are on Windows, Linux, or Mac. I can’t help you there.

1.6. From the folder you downloaded and extracted the file, and added an HTML file to test, you can do it like this

    java -jar ~/Downloads/dist/vnu.jar path/to/an/html/file.html



Otherwise you’ll need to have a Tomcat/Glassfish server running in which you will run the .war files and you’ll get the same site as if you were using the public validator service.

My recommendation is to use the command line so you don’t rely on anybody for now.

Hope this helps.

On 2015-07-20 08:40, Deborah.St-Pierre@ic.gc.ca wrote:
> Thanks guys, I’ll send it over the my colleague and see if they can 
> take care of it for me.
> 
>  
> 
> *From:*Renoir Boulanger [mailto:renoir@w3.org]
> *Sent:* July-20-15 8:38 AM
> *To:* St-Pierre, Deborah: CIO-BPI
> *Cc:* <mike@w3.org>; <cooper@w3.org>; <abird@w3.org>; 
> <www-validator@w3.org>
> *Subject:* Re: http://validator.w3.org/

> 
>  
> 
> If I may,
> 
>  
> 
> mike is recommending that Industry Canada IT department installs its 
> *own copy* of the validator.
> 
>  
> 
> You may have to forward this to IT though :/
> 
>  
> 
> The VNU service code (W3C Validator.nu) is written in Java, you'll 
> need J2EE servers to run the Jar/War files (Java/Web "archive"). I 
> guess the vnu.jar service can run on modern JREs (Java Runtime 
> Environment) such as OpenJDK, IBM or Oracle's.  But I havent installed it myself.
> 
>  
> 
> If you have a J2EE cluster (I bet Industry Canada does) you may only 
> need to ask them run the jar and trll you where to access the service 
> it provides.
> 
>  
> 
> Code should be available where Mike said it would.
> 
>  
> 
> Begin forwarded message:
> 
>     *From:* "Michael[tm] Smith" <mike@w3.org <mailto:mike@w3.org>>
>     *Date:* July 18, 2015 at 09:28:37 GMT-4
>     *[snip]*
> 
>     ... the best thing for you to do would be to run your own instance of
>     the HTML-checking service; you can do that by downloading the
>     latest release of the standalone “vnu.jar” version of the checker
>     from either the release archives at
> 
>     <https://sideshowbarker.net/release/jar/>
> 
>     or from github at
>     <https://github.com/validator/validator/releases/latest>
> 
>     and following the instructions at
>     <https://validator.github.io/validator/#standalone>
> 
>     and at
>     <https://validator.github.io/validator/#usage>
> 
>     to use it.
> 
>  
> 
> Should hve all the IT needs to know.
> 
>  
> 
> Hope it helps
> 
>  
> 
> Renoir
> 
>  
> 
> 
> Sent on the go, please forgive typos
> 
> 
> On Jul 20, 2015, at 07:56, <Deborah.St-Pierre@ic.gc.ca 
> <mailto:Deborah.St-Pierre@ic.gc.ca>> <Deborah.St-Pierre@ic.gc.ca 
> <mailto:Deborah.St-Pierre@ic.gc.ca>> wrote:
> 
>     Hi Michael,
> 
>     I can't do it this way because there is no way to enter the source
>     code.  Many of our pages
> 
>     are https security so I have put the course code in to validate
>     rather than the url of the web page
> 
>     and even when I type in a non secure url I still get number of pages
>     exceeded..
> 
>      
> 
>     <image001.png>
> 
>      
> 
>      
> 
>     -----Original Message-----
>     From: Michael[tm] Smith [mailto:mike@w3.org]
>     Sent: July-20-15 4:48 AM
>     To: St-Pierre, Deborah: CIO-BPI
>     Cc: renoir@w3.org <mailto:renoir@w3.org>; cooper@w3.org
>     <mailto:cooper@w3.org>; abird@w3.org <mailto:abird@w3.org>;
>     www-validator@w3.org <mailto:www-validator@w3.org>
>     Subject: Re: http://validator.w3.org/

> 
>      
> 
>     Hi Deborah,
> 
>      
> 
>     To be clear, you can run your open copy of the service without
>     needing to purchase anything. The version I pointed you to in my
>     previous message is 100% free software.
> 
>      
> 
>     About resetting the count for your IP address, no, we can’t do that.
>     The service will automatically unblock you after 30 minutes or maybe
>     2 hours at the most. But if your usage then falls back into the same
>     pattern such that it again exceeds the limits, the service is just
>     going to block you again, and to keep re-blocking you for
>     30mins-2hrs each time that happens.
> 
>      
> 
>       —Mike
> 
>      
> 
>     Deborah.St-Pierre@ic.gc.ca <mailto:Deborah.St-Pierre@ic.gc.ca>,
>     2015-07-17 12:09 -0400:
> 
>     > Archived-At:
> 
>     > 
> <http://www.w3.org/mid/1ADEF3B181BABC41BE2FF5DCCBAB798C0693AFB0@MSG-MB

> 
>     > -03.icent.ic.gc.ca <http://03.icent.ic.gc.ca>>
> 
>     >
> 
>     > Thank you Renoir for your message.  I will bring this up with
> 
>     > management to see if they will purchase the product, in the
>     meantime is there a way to reset the count for my ip address.
> 
>     >
> 
>     > -----Original Message-----
> 
>     >
> 
>     > Hi Deborah,
> 
>     >
> 
>     > I’m not involved with the Validator but I can forward the message
>     to the right place.
> 
>     >
> 
>     > Maybe your team was making too many requests for what the system
>     would allow from a single location. The Validator maintainers must
>     throttle the traffic because it would overwhelm the systems.
> 
>     >
> 
>     > As I understand it you are using the free version of validator, right?
> 
>     >
> 
>     > Have you heard of the Validator Suite[1]? Its meant to be used
>     specifically for what you seem to be doing.
> 
>     >
> 
>     > Bien le bonjour, de Montréal,
> 
>     >
> 
>     > [1] https://validator-suite.w3.org/

> 
>     >
> 
>     > Renoir Boulanger
> 
>     > ~
> 
>     >
> 
>     > On 2015-07-17 11:41, Deborah.St-Pierre@ic.gc.ca
>     <mailto:Deborah.St-Pierre@ic.gc.ca> wrote:
> 
>     > > Michael, Renoir, J. Allan
> 
>     > >
> 
>     > > Hi Guys,
> 
>     > >
> 
>     > > I am a testing with Industry Canada and use your product all the
>     time.
> 
>     > > I love it.
> 
>     > >
> 
>     > > However, I am unable to use it now to test HTML because of the
> 
>     > > following error.
> 
>     > >
> 
>     > > The abuse is that I used it too much I believe, because we are 
> in
> 
>     > > the process of
> 
>     > >
> 
>     > > deploying 85 applications that we have upgraded to UTF8 and HTML5. 
> 
>     > > I wonder
> 
>     > >
> 
>     > > if there is anything you can do to correct this so I can use 
> the
> 
>     > > product again..
> 
>     > >
> 
>     > > http://validator.w3.org/check

> 
>     > >
> 
>     > > *Forbidden due to abuse*
> 
>     > >
> 
>     > > *Access to this resource is denied due to abuse from your IP
>     address.
> 
>     > > *
> 
>     > >
> 
>     > > *W3C Webmaster*
> 
>     > >
> 
>     > > *$Date: 2012/05/02 00:22:10 $*
> 
>     > >
> 
>     > >
> 
>     > >
> 
>     > > thanks deb
> 
>     > >
> 
>     > > *Deborah St-Pierre*
> 
>     > >
> 
>     > >
> 
>     > >
> 
>     > > *Quality Assurance Specialist*
> 
>     > >
> 
>     > > *Industry Canada / Government of Canada*
> 
>     > >
> 
>     > > *Deborah.St-Pierre@ic.gc.ca <mailto:*Deborah.St-Pierre@ic.gc.ca>
>     <mailto:Deborah.St-Pierre@ic.gc.ca> / Tel:
> 
>     > > 343-291-1524 / Fax: 613-946-3939*
> 
>     > >
> 
>     > > * *
> 
>     > >
> 
>     > > *Spécialiste en assurance de la qualité*
> 
>     > >
> 
>     > > *Industrie Canada / **Gouvernement du Canada *
> 
>     > >
> 
>     > > *Deborah.St-Pierre@ic.gc.ca <mailto:*Deborah.St-Pierre@ic.gc.ca>
>     <mailto:Deborah.St-Pierre@ic.gc.ca> Tél :
> 
>     > > **343-291-1524 **/ Fac : **613-946-3939***
> 
>     > >
> 
>     > >
> 
>     > >
> 
>     > >
> 
>     > >
> 
>      
> 
>     --
> 
>     Michael[tm] Smith https://people.w3.org/mike

> 

-- 
Renoir Boulanger    http://www.w3.org/People/#renoirb

@renoirb                 https://renoirboulanger.com/

World Wide Web Consortium (W3C)    http://www.w3.org/

Received on Monday, 20 July 2015 13:56:26 UTC