PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Troubleshooting

Reply
 
Thread Tools
Old 05-01-2004, 06:02 AM   #1
jbafaure
Green Mole
 
Join Date: May 2004
Location: France
Posts: 5
Excludes not working although properly set

Hi !

I'm currently running PhpDig version 1.8.0, and unfortunately, the comments <!-- phpdigExclude --> and <!-- phpdigInclude --> seem to have no effect. The content between them is still indexed.

Before posting this message, I made a comprehensive search in the forum, I found that each comment should be on a single line. That's done. So, I don't understand where the problem is coming from ? Maybe my version of PHP is too old ? My host runs 4.1.2, certified by Sun, and I can't change for another host at the moment.

Any help would be greatly appreciated !

Many thanks
jbafaure is offline   Reply With Quote
Old 05-01-2004, 06:28 AM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. Try this thread.
__________________
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 05-01-2004, 10:58 AM   #3
jbafaure
Green Mole
 
Join Date: May 2004
Location: France
Posts: 5
Thank you Charter for your reply

I've read this thread before posting, but unfortunately it doesn't solve my problem.

If you have any idea please let me know...

Best regards.
jbafaure is offline   Reply With Quote
Old 05-01-2004, 11:12 AM   #4
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. When you look at the HTML source for the pages using the exclude/include comments, are they each on their own line?
__________________
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 05-01-2004, 11:40 AM   #5
jbafaure
Green Mole
 
Join Date: May 2004
Location: France
Posts: 5
Yes, they are on their own line, and everything is correct in the config file. Thank you again Charter for your help
jbafaure is offline   Reply With Quote
Old 05-01-2004, 11:51 AM   #6
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. The exclude/include comments are case sensitive. Are you using phpdigexclude/phpdiginclude or phpdigExclude/phpdigInclude? Do a double check and see if what is defined in the config file is what is used in the HTML output.
__________________
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 05-01-2004, 02:16 PM   #7
jbafaure
Green Mole
 
Join Date: May 2004
Location: France
Posts: 5
Hi Charter !

I effectively checked the case in both the config file and the HTML output, and they appear to be the same (phpdigExclude and phpdigInclude).

Nevertheless, I must tell you that I wanted to prevent the meta tag "description" from being indexed by PhpDig. I think that I've found the solution in robot_functions.php, and it seems to work now.

But will the comments phpdigExclude and phpdigInclude will elsewhere in the page, for example between the <body> and </body> tags of the page instead of the <head> and </head> tags ? Furthermore, the indexing process seems much slower with 1.8.0 than it was with 1.6.2 (that I was using before). Is there a solution for that ?

Thank you again !
jbafaure is offline   Reply With Quote
Old 05-01-2004, 05:46 PM   #8
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Ah, see this thread about meta tags. The exclude/include tags are for within the body of your pages. As for speed, 1.8.0 does more processing and there is a "courtesy" resource pause. Maybe this and/or this thread would be of interest.
__________________
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 05-02-2004, 09:46 AM   #9
jbafaure
Green Mole
 
Join Date: May 2004
Location: France
Posts: 5
Hi Charter !

Thank you alot for your very effective support ! It's very nice to see that for a FREE, and professional-class script like PhpDig

My problem is now solved for the meta tags, and i optimized the search.php and robot_functions.ph files to make the indexing process a little bit faster.

Best Regards,

JBF
jbafaure 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
Could not run set names. punker101 Script Installation 2 05-24-2005 02:18 PM
excludes, includes and other tables Macedonian How-to Forum 0 01-22-2005 08:05 PM
Indexing doesn't works properly Alysum Troubleshooting 7 12-16-2004 08:53 PM
Automatic reIndexing - How to set up 2440media How-to Forum 2 06-17-2004 06:01 AM
includes & excludes Andreas_Wien Troubleshooting 9 04-25-2004 09:41 AM


All times are GMT -8. The time now is 05:00 AM.


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