Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: HTML <=> Text convertion

by thpfft (Chaplain)
on Dec 11, 2003 at 00:10 UTC ( #313929=note: print w/ replies, xml ) Need Help??


in reply to HTML <=> Text convertion

use HTML::TagFilter; my $tf = new HTML::TagFilter->new( allow => {}, strip_comments => 1, ); my $text = $tf->filter($html);

Compared to other offspring of the Parser, HTML::TagFilter is rather limited: it only does one thing, but it does it reasonably well. I think so anyway, but I wrote it :)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (8)
As of 2016-06-27 18:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (341 votes). Check out past polls.