PhpDig.net

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

Reply
 
Thread Tools
Old 03-27-2005, 01:21 AM   #1
jerrywin5
Orange Mole
 
Join Date: Mar 2004
Posts: 48
keywords duplicates and unwanted keywords

I am using version 1.8.7.

My keywords table has entries that end with characters such as:
,.-:;# and 's

I would like to ensure that these values are stripped from words when indexing.

I checked the source against the instructions in this thread and found that the new version has this code implemented.

My kewords table also includes entries that end with:
.doc .mid .shtml .html .gif .jpg .pnp

I would like to ensure that these entries are no longer indexed.

I would appreciate any help.
jerrywin5 is offline   Reply With Quote
Old 04-06-2005, 01:23 PM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
That, fortunately or unfortunately, is how PhpDig 1.8.7 works to deal with words followed by punctuation marks. PhpDig 1.8.8 RC1 avoids the issue.
__________________
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 04-06-2005, 01:40 PM   #3
jerrywin5
Orange Mole
 
Join Date: Mar 2004
Posts: 48
Hi Charter,

Due to the new requirements, I cannot use PhpDig 1.8.8 RC1. Is it possible that I can use some of the code from 1.8.8 RC1 in 1.8.7 to resolve the problem?

Last edited by jerrywin5; 04-06-2005 at 01:43 PM. Reason: spelling error
jerrywin5 is offline   Reply With Quote
Old 04-06-2005, 02:17 PM   #4
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Sorry, I don't have a list of code changes from 1.8.7 to 1.8.8 RC1, and 1.8.8 RC1 uses mb_* for multi-byte processing.
__________________
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 04-06-2005, 02:54 PM   #5
jerrywin5
Orange Mole
 
Join Date: Mar 2004
Posts: 48
Charter,

What is muti-byte processing and what will it do?
jerrywin5 is offline   Reply With Quote
Old 04-06-2005, 03:20 PM   #6
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
PhpDig v.1.8.8 RC1 converts text to UTF-8 and stores it as UTF-8 in MySQL. Basically, some languages use more than one byte per letter/character, and different sites use different encodings, so the mb_* functions try to deal with these things. Check out http://www.php.net/manual/en/ref.mbstring.php for an intro to multibyte functions.
__________________
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
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
excluding keywords from indexing Fking How-to Forum 1 10-05-2004 05:43 PM
limit digging to certain keywords? hgw How-to Forum 1 08-20-2004 05:57 AM
Reduce duplicates in keywords table through more intelligent indexing jerrywin5 Mod Requests 1 04-20-2004 08:06 AM
mata keywords heiko IPs, SEs, & UAs 1 03-16-2004 07:31 PM
Meta - keywords shadow00 How-to Forum 1 12-16-2003 02:47 PM


All times are GMT -8. The time now is 10:28 AM.


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