View Single Post
Old 04-13-2004, 10:58 PM   #6
bloodjelly
Purple Mole
 
Join Date: Dec 2003
Posts: 106
My code - the last two posts. I also changed this line of robot_functions.php
PHP Code:
if (strlen($key) > SMALL_WORDS_SIZE and strlen($key) <= MAX_WORDS_SIZE and !isset($common_words[$key]) and ereg('^['.$phpdig_words_chars[PHPDIG_ENCODING].'#$]',$key)) 
to this
PHP Code:
if (strlen($key) > SMALL_WORDS_SIZE and strlen($key) <= MAX_WORDS_SIZE and isset($common_words[$key]) and ereg('^['.$phpdig_words_chars[PHPDIG_ENCODING].'#$]',$key)) 
(removed the ! in front of isset($common_words) to only index words in that file (for a project I'm doing).
bloodjelly is offline   Reply With Quote