View Single Post
Old 12-15-2004, 08:17 AM   #10
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
So you have the following?
PHP Code:
$text eregi_replace("<td[^>]*>.*</td>"," ",$text);
$text preg_replace("/<[\/\!]*?[^<>]*?>/is"," ",$text); 
The first removes stuff between <td...> and </td> (according to CHUNK_SIZE) and the second removes other tag-like things, so you don't really need the first one. If you want to exclude part of a page, look at this thread or look at how $title is set in the phpdigCleanHtml function in the robot_functions.php file.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote