Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
More Liberal HTML Head Section Parsing
Perl
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib/HTML/HeadParser
t
.gitignore
.travis.yml
Build.PL
Changes
LICENSE
META.json
README.md
cpanfile

README.md

NAME

HTML::HeadParser::Liberal - More Liberal HTML Head Section Parsing

SYNOPSIS

use HTML::HeadParser::Liberal;

DESCRIPTION

HTML::HeadParser::Liberal is an evasive module that patches HTML::HeadParser directly (and globally) so that workarounds for certain quirks are enabled.

Currently this module supposrts the following:

  • Meta names passed to HTTP::Headers are munged

    Currently all ":"'s are converted to a hyphen, so things like

    <meta name="twitter:card" ...>
    

    doesn't choke, and you can access this value from HTTP::Headers like

    $h->header('X-Meta-Twitter-Card');
    

    Note that YOU DO NOT NEED THIS HACK if you're using a recent enough LWP. Because of this I was initially going to let this module die a slow death, but then I have since been told that there are environments stuck with old modules, so I guess there are some situations where this module is still useful.

LICENSE

Copyright (C) Daisuke Maki.

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

AUTHOR

Daisuke Maki

Something went wrong with that request. Please try again.