Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Any pure-perl html to text? (Or: missing a perl equivalent to 'lynx -dump')

by grep (Monsignor)
on Oct 15, 2006 at 17:23 UTC ( #578403=note: print w/replies, xml ) Need Help??


in reply to Any pure-perl html to text? (Or: missing a perl equivalent to 'lynx -dump')

A quick search of cpan gave me HTML::FormatText::WithLinks.

From the POD:
DESCRIPTION

HTML::FormatText::WithLinks takes HTML and turns it into plain text but prints all the links in the HTML as footnotes. By default, it attempts to mimic the format of the lynx text based web browser's --dump option.

Also please use '<code>' not '<pre>' tags when posting, then preview your post before creating.



grep
One dead unjugged rabbit fish later
  • Comment on Re: Any pure-perl html to text? (Or: missing a perl equivalent to 'lynx -dump')

Replies are listed 'Best First'.
Re^2: Any pure-perl html to text? (Or: missing a perl equivalent to 'lynx -dump')
by bronto (Priest) on Oct 15, 2006 at 18:07 UTC
    A quick search of cpan gave me HTML::FormatText::WithLinks

    ...and THIS was the answer! Thanks grep!

    Ciao!
    --bronto


    In theory, there is no difference between theory and practice. In practice, there is.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://578403]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2020-10-27 16:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (257 votes). Check out past polls.

    Notices?