KingOfHeart Posted October 11, 2010 Share Posted October 11, 2010 I have a search spider for my site to help control my search box. It says it supports pearl for what "Links to include or not to include" So can you turn the link below into a pearl statement by removing "92.0;" and "subject" http://www.thegaminguniverse.com/forum/index.php?board=92.0;sort=subject A powerful option Sphider supports is defining a must include / must not include string list for a site (click on Advanced options in Index screen for this). Any url containing a string in the 'must not include' list is ignored. Any url that does not contain any string in the 'must include' list is likewise ignored. All strings in the string list should be separated by a newline (enter). For example, to prevent a forum in your site from being indexed, you might add www.yoursite.com/forum to the "must not include" list. This means that all urls containing the string will be ignored and wont be indexed. Using Perl style regular expressions instead of literal strings is also supported. Every string starting with a '*' in front is considered as a regular expression, so that '*/[a]+/' denotes a string with one or more a's in it. Basically I want it to ignore links that have "http://www.thegaminguniverse.com/forum/index.php?board=" and end with "sort=" Quote Link to comment https://forums.phpfreaks.com/topic/215626-simple-pearl-helpignore-part-of-a-string/ Share on other sites More sharing options...
trq Posted October 11, 2010 Share Posted October 11, 2010 Are you talking about Perl? Quote Link to comment https://forums.phpfreaks.com/topic/215626-simple-pearl-helpignore-part-of-a-string/#findComment-1121225 Share on other sites More sharing options...
KingOfHeart Posted October 11, 2010 Author Share Posted October 11, 2010 Yes, that's what the quote said, even if I made a typo. Quote Link to comment https://forums.phpfreaks.com/topic/215626-simple-pearl-helpignore-part-of-a-string/#findComment-1121271 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.