Sponsored Content
The Lounge What is on Your Mind? Moderators of the Year 2019 - Ravinder Singh and Victor Berridge Post 303043325 by balajesuri on Friday 24th of January 2020 06:34:07 AM
Old 01-24-2020
Way to go Ravinder and Victor! You deserve it Smilie
These 4 Users Gave Thanks to balajesuri For This Post:
 

8 More Discussions You Might Find Interesting

1. What is on Your Mind?

Please Welcome Ravinder Singh to the Moderation Team

On this special Happy News Year day, 1 January 2019, I am pleased to promote Ravinder Singh to UNIX.COM Moderator, for at least the following reasons: Ravinder Loves UNIX.COM Ravinder has 1,372 Thanks, which puts him in the Top Ten in that important single category. Ravinder is one of... (8 Replies)
Discussion started by: Neo
8 Replies

2. What is on Your Mind?

Ravinder Singh Just Earned His Green Web Dev Ops Badge

Congrats to Ravinder Singh for his new Green Web Dev Ops badge. Everyone starts to learn and grown in technology and Ravinder is starting to learn Web Dev and is making progress quickly. https://www.unix.com/members/1-albums215-picture1010.png (6 Replies)
Discussion started by: Neo
6 Replies

3. What is on Your Mind?

Exactly 1 year ago today, 18-09-2019...

This is mainly for Corona688, today's date 18-09-2019. Remember from little acorns big trees grow a few months ago? Well this is well on the way to 1000+ dls by the end of the year... AMINET from its inception in 1992 is accessed by very, very many and the AMIGA is still loved by millions. ... (1 Reply)
Discussion started by: wisecracker
1 Replies

4. What is on Your Mind?

Poster of the Year 2019 Award Announcement and Call for Nominations

Dear All, I am pleased to post that I am announcing a new award, "Poster of the Year 2019" and calling for your nominations (privately to me). This is a new award and I plan to announce the winner for this year (2019) in January 2020. The prizes will be (still working out the details): ... (0 Replies)
Discussion started by: Neo
0 Replies

5. What is on Your Mind?

UNIX.com End of Year (EOY) Report (2019)

Here is a quick EOY report for 2019. 2019 has been a year of "downward trend reversal" for UNIX.com. In fact, if we compare total Google search impressions from the peak days in December 2019 to the peak days in mid December 2018, traffic is up 43% percent. That is a very respectable growth... (0 Replies)
Discussion started by: Neo
0 Replies

6. What is on Your Mind?

Moderator of the Year 2019 Award Announcement Only

Dear All, We are happy to post that I will be announcing soon my award for "Moderator of the Year 2019". This is a new award which I plan to announce in December of each year, starting this year (2019). The prizes will be (still working out the details): A Moderator of the Year... (3 Replies)
Discussion started by: Neo
3 Replies

7. What is on Your Mind?

Poster of the Year 2019 - Jeroen van Dijke

Today, I am very pleased to announce the Poster of the Year Award, 2019 is Jeroen van Dijke (Scrutinizer) Jeroen has been a member of unix.com just over 11 years (He first joined unix.com in November 2008) and has been a very valuable, reliable and thoughtful resource for countless people over... (3 Replies)
Discussion started by: Neo
3 Replies

8. What is on Your Mind?

Top Cybersecurity Threats Earth Year 2019 | You Have Been Warned!

You are seeing this new video here first! Top Five Cybersecurity Threats | Earth Year 2019 | You Have Been Warned! https://youtu.be/dRE4u9QVsSg PS: That video has two small typos, but nothing serious. Heck it took nearly 1.5 hours to render even on a 12-core Mac Pro with 64GB of... (20 Replies)
Discussion started by: Neo
20 Replies
Test::HTML::W3C(3pm)					User Contributed Perl Documentation				      Test::HTML::W3C(3pm)

NAME
Test::HTML::W3C - Perform W3C HTML validation testing SYNOPSIS
use Test::HTML::W3C tests => $test_count; # or use Test::HTML::W3C 'show_detail'; # or when using both use Test::HTML::W3C tests => $test_count, 'show_detail'; is_valid_markup($my_html_scalar); is_valid_file("/path/to/my/file.html"); is_valid("http://example.com"); # Get the underlying WebService:;Validator::W3C::HTML object my $validator = validator(); DESCRIPTION
The purpose of this module is to provide a wrapper around the W3C that works with the Test::More testing framework. ABUSE
Please keep in mind that the W3C validation pages and services are a shared resource. If you plan to do many many tests, please consider using your own installation of the validation programs, and then use your local install by modifying the local validtor: my $v = validator(); $v->validator_uri($my_own_validator); See the documentation for WebService:;Validator::W3C::HTML and the W3C's site at http://validator.w3.org/ for details validator(); Description: Returns the underlying WebService::Validator::HTML::W3C object Parameters: None. Returns: $validator plan(); Description: Access to the underlying "plan" method provided by Test::Builder. Parameters: As per Test::Builder is_valid_markup($markup[, $name]); Description: is_valid_markup tests whether the text in the provided scalar value correctly validates according to the W3C specifications. This is useful if you have markup stored in a scalar that you wish to test that you might get from using LWP or WWW::Mechanize for example... Parameters: $markup, a scalar containing the data to test, $name, an optional descriptive test name. Returns: None. is_valid_file($path[, $name]); Description: is_valid_file works the same way as is_valid_markup, except that you can specify the text to validate with the path to a filename. This is useful if you have pregenerated all your HTML files locally, and now wish to test them. Parameters: $path, a scalar, $name, an optional descriptive test name. Returns: None. is_valid($url[, $name]); Description: is_valid, again, works very similarly to the is_valid_file and is_valid_file, except you specify a document that is already online with its URL. This can be useful if you wish to periodically test a website or webpage that dynamically changes over time for example, like a blog or a wiki, without first saving the html to a file using your browswer, or a utility such as wget. Parameters: $url, a scalar, $name, an optional descriptive test name. Returns: None. diag_html($url); Description: If you want to display the actual errors reported by the service for a particular test, you can use the diag_html function. Please note that you must have imported 'show_detail' for this to work properly. use Test::HTML::W3C 'show_detail'; is_valid_markup("<html></html">, "My simple test") or diag_html(); Parameters: $url, a scalar. Returns: None. SEE ALSO
Test::Builder::Module for creating your own testing modules. Test::More for another popular testing framework, also based on Test::Builder Test::Harness for detils about how test results are interpreted. AUTHORS
Victor <victor73@gmail.com> with inspiration from the authors of the Test::More and WebService::Validator::W3C:HTML modules. BUGS
See http://rt.cpan.org to report and view bugs. COPYRIGHT
Copyright 2006 by Victor <victor73@gmail.com>. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://www.perl.com/perl/misc/Artistic.html perl v5.12.4 2011-08-22 Test::HTML::W3C(3pm)
All times are GMT -4. The time now is 01:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy