PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   How-to Forum (http://www.phpdig.net/forum/forumdisplay.php?f=33)
-   -   link after search in myurl how to do it ? (http://www.phpdig.net/forum/showthread.php?t=2037)

stefan_pl 06-08-2005 05:24 AM

link after search in myurl how to do it ?
 
i have problem my site is in frames and i need to do it that when someone clik on search button the results would be displayed in "my" frame have anyone some suggestions ? and one more i see that spider displays only about 200 words from the page in which he had found matches how to do it to display for example first 100 words before and 100 words after founded phrase ? thx for all answers btw script is great !

Charter 06-08-2005 08:12 AM

In function_phpdig_form.php look for the form tag and add what's in blue:
Code:

<form target='FRAME_NAME' blah blah...
There are three spots to edit the form tag in function_phpdig_form.php.

In the config file look for the following and set lengths as desired:
Code:

define('SNIPPET_DISPLAY_LENGTH',150);
define('SUMMARY_DISPLAY_LENGTH',150);


stefan_pl 06-09-2005 01:42 AM

thanks for quick answer this with target it was so simple ... but what's funny i couldn't find it nowhere and with this results it's not that i mean it snippet and summary displays only description and keywords, my sites are so constructed that those which are in last level have no tags like description and other.. soo is it possible to do it only with the site text ? where to change it ? greetings from poland stefan

Charter 06-09-2005 11:17 AM

Apologies, but I'm not sure what you mean. Can you explain again or provide a screenshot?


All times are GMT -8. The time now is 12:49 PM.

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