Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://578403]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-04-19 21:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found