Skip to content

struan/html-formattext-withlinks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAME
    HTML::FormatText::WithLinks - HTML to text conversion with links as
    footnotes

SYNOPSIS
        use HTML::FormatText::WithLinks;

        my $f = HTML::FormatText::WithLinks->new();

        my $html = qq(
        <html>
        <body>
        <p>
            Some html with a <a href="http://example.com/">link</a>
        </p>
        </body>
        </html>
        );

        my $text = $f->parse($html);

        print $text;

        # results in something like

        Some html with a [1]link

        1. http://example.com/

INSTALLATION

Either

    perl Makefile.PL
    make
    make test
    make install

or

    perl Build.PL
    ./Build
    ./Build test
    ./Build install

Releases

No releases published

Packages

No packages published

Languages