PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > How-to Forum

Reply
 
Thread Tools
Old 11-27-2003, 02:15 PM   #1
RedThypon
Green Mole
 
Join Date: Nov 2003
Location: Darmstadt - Germany
Posts: 15
Homepage-title in the results

Hello,

is it possible, to prevent displaying the page-title in the search-results?
I don't mean the headline. I mean the block under it.

That is the last thing, I wish to change.
After that PhpDig is perfect for me


Thank you for your help.

yours
RedThypoon
RedThypon is offline   Reply With Quote
Old 11-27-2003, 02:24 PM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. I'm not sure what you mean. Can you link me to an example?
__________________
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
Old 11-27-2003, 02:29 PM   #3
RedThypon
Green Mole
 
Join Date: Nov 2003
Location: Darmstadt - Germany
Posts: 15
yes, sure.

http://redthypoon.de/walrus

if you search for the word adressen, then you can see, that the last 3 marked words in the result, are "Walrus Kultur e. V. +++ Adressen" and this is exactly the title of the "Adressen"-Page.
I would be cool to prevent displying them.

Hope, this was good explained.


thanks

yours
RedThypoon
RedThypon is offline   Reply With Quote
Old 11-27-2003, 03:13 PM   #4
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
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); 
__________________
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
Old 11-27-2003, 03:23 PM   #5
RedThypon
Green Mole
 
Join Date: Nov 2003
Location: Darmstadt - Germany
Posts: 15
Yeah, that's it.
Great work

No it's official: I Love PhpDig.

If someone's asking me for a search engine, my answer will be "PHPDIG"


Thank you again for everything.


yours
RedThypoon
RedThypon is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing the homepage title riboflavin Troubleshooting 1 01-21-2006 10:38 PM
Display first H2 tag as title instead of page title mdavila How-to Forum 5 02-27-2005 06:48 PM
Show number of indexed pages on homepage Freddie Mod Submissions 5 01-18-2005 04:36 PM
Title of the results - how to change from <phpdig:page_link/> bforsyth How-to Forum 12 07-15-2004 08:53 PM
Search Results: Shorten title and description? AtoZ How-to Forum 1 06-23-2004 11:28 PM


All times are GMT -8. The time now is 05:59 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.