Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Cleaning up text for indexing in DB

by t'mo (Pilgrim)
on Jul 16, 2003 at 15:23 UTC ( [id://274864] : note . print w/replies, xml ) Need Help??


in reply to Cleaning up text for indexing in DB

As other monks suggested in another thread, why not get the text via the program 'lynx', letting it get rid of any HTML-junk for you?

$text = `lynx -dump $url`;

...every application I have ever worked on is a glorified munger...

Replies are listed 'Best First'.
Re: Re: Cleaning up text for indexing in DB
by TVSET (Chaplain) on Jul 16, 2003 at 16:28 UTC