Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

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 :)

Comment on Re: HTML <=> Text convertion
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2015-11-26 01:19 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (695 votes), past polls