- From: <bugzilla@jessica.w3.org>
- Date: Sat, 15 Sep 2012 08:35:43 +0000
- To: public-webrtc@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=18889 Summary: RequestWWW Product: WebRTC Working Group Version: unspecified Platform: SGI OS/Version: Linux Status: NEW Severity: blocker Priority: P2 Component: WebRTC API AssignedTo: public-webrtc@w3.org ReportedBy: mbiama@voila.fr CC: public-webrtc@w3.org logprocess.pl -f /path/to/logprocess.conf use W3C::LogValidator; my $logprocessor = W3C::LogValidator->new("angosso.net/www"); $logprocessor->process; my $logprocessor = W3C::LogValidator->new; $logprocessor->process; %conf = ( "UseOutputModule" => "W3C::LogValidator::Output::Mail", "ServerAdmin" => 'admin@angosso.net', "verbose" => "3" ); $processor = W3C::LogValidator->new("/home/angosson/www/public_html/config.angosso", \%conf); %conf = ( "UseOutputModule" => "W3C::LogValidator::Output::HTML", "OutputTo" => '/home/angosson/www/public_html/file.html', "verbose" => "0" ); $processor = W3C::LogValidator->new("/home/angosson/wwww/public_html/config.angosso", \%conf); Public bug-tracking w3c at http://www.angosso.net/Bugs/Public/ Clear Navigation YES #!/usr/bin/perl -w use Test::More 'no_plan'; use Data::Dumper; use W3C::LogValidator::CSSValidator; #my $rooturl = "http://www.example.com"; my $rooturl = "http://search.cpan.org/"; my $validator = W3C::LogValidator::CSSValidator->new ({verbose => 1, rooturl => $rooturl, AuthorizedExtensions => ".html .xhtml .phtml .htm .shtml .php .svg .xml / .cgi", }); $validator->uris($rooturl); my %results = $validator->process_list; ok($validator->valid, "CSS validation") or diag Dumper(\%results); __END__ Output is: perl /tmp/a.pl Now Using the CSS Validation module... Done! not ok 1 - CSS validation # Failed test 'CSS validation' # at /tmp/a.pl line 17. # $VAR1 = { # 'thead' => [ # 'Rank', # 'Hits', # '#Error(s)', # 'Address' # ], # 'trows' => [], # 'intro' => 'Here are the most popular invalid document(s) that I could find in the # logs for .', # 'name' => 'CSSValidator', # 'outro' => 'I couldn\'t find any invalid document in this log.' # }; 1..1 # Looks like you failed 1 test of 1. -- Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. You are the assignee for the bug.
Received on Saturday, 15 September 2012 08:35:44 UTC