PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   How-to Forum (http://www.phpdig.net/forum/forumdisplay.php?f=33)
-   -   what do these options mean? (http://www.phpdig.net/forum/showthread.php?t=882)

orbitalz 04-28-2004 08:16 PM

what do these options mean?
 
from the config.php file what do these options mean and or do?:


(what is a snippet?)
define('SNIPPET_DISPLAY_LENGTH',150); //Max chars displayed in each snippet

(what does recurse mean and do?)
define('SPIDER_MAX_LIMIT',20); //max recurse levels in spider
define('SPIDER_DEFAULT_LIMIT',3); //default value
define('RESPIDER_LIMIT',4); //recurse limit for update


And it would be cool if there was a guide explaining all of the options and commands in this engine.:angel:

snorkpants 04-29-2004 03:54 AM

Re: what do these options mean?
 
Quote:

Originally posted by orbitalz
from the config.php file what do these options mean and or do?:


(what is a snippet?)
define('SNIPPET_DISPLAY_LENGTH',150); //Max chars displayed in each snippet

(what does recurse mean and do?)
define('SPIDER_MAX_LIMIT',20); //max recurse levels in spider
define('SPIDER_DEFAULT_LIMIT',3); //default value
define('RESPIDER_LIMIT',4); //recurse limit for update


And it would be cool if there was a guide explaining all of the options and commands in this engine.:angel:

Snippet is how much data to show in the results (the content that get highlighted) so cut the size down if it show more than you require.

Recursion is "calling itself again"
This means that the spider will follow links "recursively" to the depth you set. spider_max and default are these depths to follow.

respider limit is the depth to follow when doing an update.


HTH

Snorkpants


All times are GMT -8. The time now is 12:44 AM.

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