View Single Post
Old 05-02-2004, 11:14 PM   #3
guillemc
Green Mole
 
Join Date: Mar 2004
Posts: 2
Hi Charter,

thanks, this is exactly what I was looking for


Quote:
Originally posted by Charter
Thanks. The chunk of code to modify is the following found in the robot_functions.php file. Comment out whatever you don't want at the end of the text files that are stored in the text_content directory. It's the $add_text variable that adds that text to the end of the files in the text_content directory.
PHP Code:
//weight of title and description is there
for ($itl 0;$itl TITLE_WEIGHT$itl++)
      {
      
$text_title .= $doc_title." ".$page_desc['content']." ";
      }
$add_text $text_title;
if (
is_array($textalts) && isset($textalts['content'])) {
    
$add_text .= $textalts['content'];
}
if (
is_array($page_keywords) && isset($page_keywords['content'])) {
    
$add_text .= " ".$page_keywords['content'];
}
array_push($text,$add_text); 
guillemc is offline   Reply With Quote