PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > How-to Forum

Reply
 
Thread Tools
Old 02-23-2005, 01:53 AM   #16
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
I'm using v.1.8.7 when testing with you.
__________________
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:38 AM   #17
djavet
Orange Mole
 
Join Date: Jan 2005
Posts: 31
heuuu, I just download a fresh version and reinstall the whole thing, always the same thing...

May I ask you to send me a zip file with your 1.8.7 version? So I can reinstall with your working version to compare with mine?

A lot of thx for your help.
Kindest regards, Dominique
djavet is offline   Reply With Quote
Old 02-23-2005, 03:15 AM   #18
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
No need, you have what I have. I don't understand why removing the dash works for FaberFedor but not for you.
__________________
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, 10:01 PM   #19
djavet
Orange Mole
 
Join Date: Jan 2005
Posts: 31
Me too I don't understand.
It is possible that you use a feature from PHP and not my host?
-> http://www.john-howe.com/phpinfo.php


Regards, Dom
djavet is offline   Reply With Quote
Old 02-26-2005, 08:29 PM   #20
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
I don't think PHP is an issue. When I get a chance, I'll do another fresh install of PhpDig v.1.8.7 and see how it works.
__________________
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-27-2005, 04:12 AM   #21
djavet
Orange Mole
 
Join Date: Jan 2005
Posts: 31
Humm I come back for this "-" case. I install Phpdig 1.8.7 localy with the package Easyphp 1.7 (http://www.easyphp.org/). Always the same....
I can't understand wha'ts happend!

Any info, tricks, same experience?

Regards, Dom
djavet is offline   Reply With Quote
Old 02-27-2005, 11:51 PM   #22
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Okay, so I did a fresh install of PhpDig v.1.8.7 and the only change I made to the package was this:

In robot_functions.php find the phpdigCleanHtml function, and in this function find:
Code:
//replace foo characters by space
$text = eregi_replace("[*{}()\"\r\n\t-]+"," ",$text);
And replace that with the following:
Code:
//replace foo characters by space
$text = eregi_replace("[*{}()\"\r\n\t]+"," ",$text);
I then indexed http://www.john-howe.com/portfolio/gallery/details.php?image_id=76 from the admin panel textbox and afterwards did a search on ISBN and 0-26-110318-0 with the following search results being shown:

Results 1-1, 1 total, on "ISBN" (0.01 seconds)

1. [100.00 %] :// John Howe :: Illustrator [ Portfolio ] From Hobbiton to Mordor / Gandalf Before the Walls of Minas Tirith
limit to http://www.john-howe.com/, this path : portfolio/gallery/

...994 The Map of Tolkien's Middle-Earth Brian SIBLEY HarperCollinsPublishers ISBN - 0-26-110318-0 September 2, 1994 R****m House Audio: The Two Towers -...


Results 1-1, 1 total, on "0-26-110318-0" (0.01 seconds)

1. [100.00 %] :// John Howe :: Illustrator [ Portfolio ] From Hobbiton to Mordor / Gandalf Before the Walls of Minas Tirith
limit to http://www.john-howe.com/, this path : portfolio/gallery/

... Map of Tolkien's Middle-Earth Brian SIBLEY HarperCollinsPublishers ISBN - 0-26-110318-0 September 2, 1994 R****m House Audio: The Two Towers - CD fro...

Now the PHP eregi_replace function has been around for a while, so I don't think that the issue has anything to do with PHP, and because with the above change, I can get "0-26-110318-0" in the search results, I don't think it's a PhpDig issue either. Maybe it's a permissions issue, but without further information, I cannot be sure why you are having an issue with dashes.
__________________
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-28-2005, 12:03 AM   #23
djavet
Orange Mole
 
Join Date: Jan 2005
Posts: 31
Hello Charter,

I can't see your reply. It's empty...
It's a new feature?
Last week I can see your post, but no more now. Do change something into the forum?

I will paid in the future, but I don't like the way you force for the knowlege.
Why do you have change this?
I've planed to make a donation when I finish the site search with a working script.

Regards, Dom

Admin Edit: See http://www.phpdig.net/forum/showthread.php?t=1745

Last edited by djavet; 02-28-2005 at 12:07 AM.
djavet is offline   Reply With Quote
Old 02-28-2005, 04:35 AM   #24
djavet
Orange Mole
 
Join Date: Jan 2005
Posts: 31
Thumbs up

Thx a lot.
I've found a little bug for my case (Phpdig 1.8.7) .

Find in robot_functions.php, line 190:
Code:
//replace foo characters by space
$text = eregi_replace("[*{}()\"\r\n\t-]+"," ",$text);
and replace with (without "-"):
Code:
//replace foo characters by space
$text = eregi_replace("[*{}()\"\r\n\t-]+"," ",$text);
And the working case:
http://www.john-howe.com/search/...&query_string=barad-d%FBr

A lot of thx for yoru help and time.
Regards, Dom
djavet 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
Selective Indexing of URL Containing a <keyword> Leith How-to Forum 0 01-21-2008 03:16 AM
<!-- phpdigInclude --> and <!-- phpdigExclude --> doesn`t work Paka76 How-to Forum 0 12-06-2005 06:44 AM
search for "hold" not matching on the word foothold mingus Troubleshooting 2 06-02-2004 09:54 PM
Instructions for use <!-- phpdigExclude --> and <!-- phpdigInclude --> maquido How-to Forum 1 06-02-2004 04:36 AM
< phpdigInclude > oliviert Troubleshooting 12 05-19-2004 03:13 AM


All times are GMT -8. The time now is 08:54 AM.


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