PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > External Binaries

Reply
 
Thread Tools
Old 02-21-2005, 09:13 AM   #1
posa
Green Mole
 
Join Date: Feb 2005
Posts: 8
Help indexing a folder full of PDF

Hi,

It is possibile to indexing a folder (and hopefully sub-folders) filled with PDF's, without paste in phpdg webadmin page ALL pdf address?

I try many times, but it seem the only method accepted is to write a link for EVERY pdf that I have...

Sorry for the stupid question, maybe it's my fault...

Thanks in advance...
posa is offline   Reply With Quote
Old 02-21-2005, 02:16 PM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
http://www.phpdig.net/forum/showthread.php?t=1139
__________________
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.
Charter is offline   Reply With Quote
Old 02-22-2005, 05:22 AM   #3
posa
Green Mole
 
Join Date: Feb 2005
Posts: 8
Thank you for your feedback, sadly the php code seems not working in my environment...

I Have MacOsX Apache1.3.x+MySQL4.1.10+PHP4.3.6

I try to reload the php code, but nothing happens...
posa is offline   Reply With Quote
Old 02-22-2005, 06:47 AM   #4
posa
Green Mole
 
Join Date: Feb 2005
Posts: 8
Ok, now the script work properly, BUT strangely now phpdig don't index linker pdf.
Obviously the pdf's are there and are linked correctly in the index.php page...
posa is offline   Reply With Quote
Old 02-22-2005, 05:46 PM   #5
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Check out section 4.5: http://www.phpdig.net/navigation.php?action=doc#toc4
__________________
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.
Charter is offline   Reply With Quote
Old 02-23-2005, 12:11 AM   #6
posa
Green Mole
 
Join Date: Feb 2005
Posts: 8
I'm sorry, but external binaries seems to be OK, because if I try to index a pdf with full path in admin section, phpdig worked well...

I see my config.php comparing to documentation has nothing strange.
It seems that phpdig don't follow the dynamics links inside index.php.

This is my confing.php:
Attached Files
File Type: txt config.txt (26.7 KB, 38 views)
posa is offline   Reply With Quote
Old 02-23-2005, 01:06 AM   #7
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Try indexing the listing of PDFs with search depth set to one, links per set to zero, and choose no.
__________________
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.
Charter is offline   Reply With Quote
Old 02-23-2005, 01:31 AM   #8
posa
Green Mole
 
Join Date: Feb 2005
Posts: 8
Thank you, I try just right now, but nothing change...

This is the direct link to index.php page:

http://posa.dataport.it/~posa/phpdig/pdf/index.php
The spider index only the page but not the pdf linked...
posa is offline   Reply With Quote
Old 02-23-2005, 01:40 AM   #9
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Make the code changes indicated in this post and see what it prints onscreen.
__________________
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.
Charter is offline   Reply With Quote
Old 02-23-2005, 02:11 AM   #10
posa
Green Mole
 
Join Date: Feb 2005
Posts: 8
Unhappy

Well, I try to debug with all of your hints, but no way...

At this point you suggest 3 modifications to files spider.php and
robot_functions.php.
I try to modify as you suggest but at this point spider stop to work...

Sorry if I bother you but now I'm really going mad...
posa is offline   Reply With Quote
Old 02-23-2005, 02:23 AM   #11
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
I'd need to see output from those code changes for further advice.
__________________
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.
Charter is offline   Reply With Quote
Old 02-23-2005, 02:36 AM   #12
posa
Green Mole
 
Join Date: Feb 2005
Posts: 8
Ok, I try again and this is the result:

Is result test http an array:
What is result test http status:

No others information appearing when I try to index the page...
posa is offline   Reply With Quote
Old 02-23-2005, 03:12 AM   #13
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
How big are those PDFs? Stick error_reporting(E_ALL); at the top of the config file, and then see if any PHP messages print out.
__________________
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.
Charter is offline   Reply With Quote
Old 02-24-2005, 01:11 AM   #14
posa
Green Mole
 
Join Date: Feb 2005
Posts: 8
Ok, this are the news.

I try to reinstall with my 2 environment (Linux+MacOsX).
With phpdig-1.8.8-rc1 nothing to do: there is no way to index the pdf's, with phpdig-1.8.7 all working like a charm...

So, I stay on phpdig-1.8.7, but really I don't understand what's happens under phpdig-1.8.8-rc1...

Bye, and many thanks to you...
posa is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Full Link Exploration with Selective Content Indexing Xavian How-to Forum 8 10-11-2004 09:37 PM
spider folder xiodaos How-to Forum 1 05-30-2004 04:08 PM
PHPDig or MySQL Full Text ? Korben How-to Forum 4 03-24-2004 11:59 PM
indexing pdf philippeguerind External Binaries 11 02-21-2004 11:50 AM
PDF indexing lelandv External Binaries 15 12-08-2003 05:23 PM


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


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