Jump to content

Simple pearl help/ignore part of a string


Recommended Posts

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="

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.