-
-
23 Aug 2010 19:48:09 UTC
- Distribution: Plack-Middleware-Debug-W3CValidate
- Module version: 0.04
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Repository
- Issues
- Testers (703 / 1 / 1)
- Kwalitee
Bus factor: 1- 90.00% Coverage
- License: perl_5
- Perl: v5.8.0
- Activity
24 month- Tools
- Download (26.43KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
++ed by:1 non-PAUSE user- Dependencies
- Plack
- Plack::Middleware::Debug
- WebService::Validator::HTML::W3C
- XML::XPath
- parent
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Plack::Middleware::Debug::W3CValidate - Validate your Response Content
SYNOPSIS
use Plack::Builder; my $app = ...; ## Build your Plack App builder { enable 'Debug', panels =>['W3CValidate']; $app; };
DESCRIPTION
Adds a debug panel that runs your response body through the W3C validator and returns a list of errors.
OPTIONS
This debug panel defines the following options.
validator_uri
Takes the url of the W3C validator. Defaults to the common validator, but if you plan to pound this it would be polite to setup your own and point to that instead. Please see WebService::Validator::HTML::W3C for more.
Since this panel needs to read and submit the response body to a POST service it will definitely increase the time it takes to load the page.
SEE ALSO
AUTHOR
John Napiorkowski,
<jjnapiork@cpan.org>
COPYRIGHT & LICENSE
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Module Install Instructions
To install Plack::Middleware::Debug::W3CValidate, copy and paste the appropriate command in to your terminal.
cpanm Plack::Middleware::Debug::W3CValidate
perl -MCPAN -e shell install Plack::Middleware::Debug::W3CValidate
For more information on module installation, please visit the detailed CPAN module installation guide.