|
12-16-2003, 08:28 AM | #1 |
Green Mole
Join Date: Oct 2003
Posts: 17
|
pages number limited indexing
Hi people.
When I index a web site I'd like to limit the max number of pages to index per site . For example I would index only 20 pages on site A, 100 on site B and so on. This can be useful to limit indexing of huge web sites. Do you agree? Best regards. JÿGius³ |
12-16-2003, 10:56 AM | #2 |
Purple Mole
Join Date: Sep 2003
Location: Kassel, Germany
Posts: 119
|
Sorry, i don't agree this - for what ? The user search words and the word is on page 21 - but this is not index.
Why would you index parts of a Site limit by Pages ? -Roland- |
12-16-2003, 11:14 AM | #3 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Hi. I haven't tested the below but what it should do is limit the number of links found per page to a max of 20, where each indexed page will only have a max of 20 links to follow. This is a per page rather than per site adjustment, so if you want to have a max of 100 links for one site, then you'll need to adjust the below added line and/or set a different search depth level.
In spider.php find the following: PHP Code:
PHP Code:
__________________
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. |
01-08-2004, 06:56 PM | #4 |
Purple Mole
Join Date: Dec 2003
Posts: 106
|
Another thing that seems to be working for me, and limits the total number of linked pages written the the database is to find the line:
PHP Code:
PHP Code:
__________________
Foundmyself.com artist community, art galleries |
01-13-2004, 12:17 PM | #5 |
Purple Mole
Join Date: Dec 2003
Posts: 106
|
Whoops this works for finding 250 links total, but if you want 250 links per site you have to reset $links_found array. So, after this:
PHP Code:
PHP Code:
__________________
Foundmyself.com artist community, art galleries |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Show number of indexed pages on homepage | Freddie | Mod Submissions | 5 | 01-18-2005 05:36 PM |
Number of pages indexed | claudiomet | How-to Forum | 0 | 08-30-2004 03:26 PM |
Set time limit on spider.php or number of pages | paullind | Troubleshooting | 1 | 05-01-2004 08:25 AM |
Limit number of spidered pages | Not Logged In | How-to Forum | 5 | 12-16-2003 04:03 PM |
Country limited searching. | sid | Mod Requests | 0 | 12-15-2003 01:15 PM |