The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
package HTML::WidgetValidator::Widget::LingrBadge;
use strict;
use warnings;
use base qw(HTML::WidgetValidator::Widget);

our $VERSION = '0.01';

__PACKAGE__->name('Lingr Badge');
__PACKAGE__->url('http://www.lingr.com/');
__PACKAGE__->models([
    [
	{
	    "name" => "script",
	    "type" => "start",
	    "attr" => {
		"src" => qr{http://www[.]lingr[.]com/room/[[:alnum:]]{11}/badge/render},
		"charset" => "utf-8",
		"type" => "text/javascript"
	    }
	},
	{
         "name" => "script",
         "type" => "end"
        }
    ]
]);

1;

__END__

=head1 NAME

HTML::WidgetValidator::Widget::LingrBadge

=head1 SYNOPSIS

  my $validator = HTML::WidgetValidator->new(widgets => [ 'LingrBadge' ]);
  my $result = $validator->validate($html);

=head1 DESCRIPTION

Validate widget "Lingr Badge"

=head1 SEE ALSO

L<HTML::WidgetValidator>,
L<http://www.lingr.com/>

=head1 AUTHOR

Kentaro Kuribayashi, E<lt>kentaro@cpan.orgE<gt>

=head1 LICENSE

Copyright (C) Hatena Inc. All Rights Reserved.

This module is free software; you can redistribute it and/or modify
it under the same terms as Perl itself. See perlartistic.

=cut