PhpDig Version 1.8.8 RC1 Released
Hi. PhpDig version 1.8.8 RC1 has been released as a 'minor+++++' release; it probably should be considered a major release. The changes can be found in the Changelog file.
Previous requirements (before v.1.8.8.RC1): - PHP safe_mode off, PHP allow_url_fopen on - See section 3.1 of the v.1.8.7 documentation New requirements (for v.1.8.8.RC1): - Previous requirements are still required (oh yeah!) - MySQL 4.1.7+ with UTF-8 and ability for SET queries - PHP 4.3.10+ with mbstring, mbstr-enc-trans, mbregex - Apache with Linux 2.4.26+ and htaccess file ability - Understanding of iconv to convert files and tables A fresh install works the same as before, assuming you meet the new requirements. Upgrade instructions (from v.1.8.7 to v.1.8.8 RC1) can be found in the UPGRADE.txt document included in the v.1.8.8. RC1 package. Make a backup of files/tables before attempting an upgrade! Do check this thread on a regular basis for any possible code changes to PhpDig v.1.8.8 RC1. |
This is an improvement to PhpDig v.1.8.8 RC1 for locating and highlighting search terms contained in table content.
In search_functions.php, find the phpdigGetExtracts function. In this function find: Code:
$where_to_start = mb_strlen($extract_content); Code:
$max_off = (int) min(mb_strlen($query_string)+1,floor(0.80*mb_strlen($extract_content))); Code:
$first_bold_spot = max($first_bold_spot - round((SNIPPET_DISPLAY_LENGTH / 2),0), 0); Code:
$first_bold_spot = (int) max($first_bold_spot - round((SNIPPET_DISPLAY_LENGTH / 2),0), 0); |
This is an improvement to PhpDig v.1.8.8 RC1 handling of Japanese full/half-width characters (thanks to Edomondo).
In config.php find: Code:
/***********************************************************************************************************************/ Code:
/***********************************************************************************************************************/ In this function find: Code:
if ($no_convert == 0) { Code:
if ($no_convert == 0) { Code:
if (!$option) { Code:
if ($query_string) { Code:
$query_to_parse = mb_ereg_replace('&[^ ]+','',$query_to_parse); // avoid &[chars] in the query Code:
$query_to_parse = mb_ereg_replace('[?]*','',$query_to_parse); // avoid ? in the query |
This is an improvement to PhpDig v.1.8.8 RC1 for keeping (quasi)duplicates out of the engine table.
In robot_functions.php find: Code:
$key = mb_ereg_replace("^([\x00-\x1f]|[\x21-\x2f]|[\x3a-\x40]|[\x5b-\x60]|[\x7b-\x7f])+","",$key); //off front only Also, in robot_functions.php find: Code:
for ($token = strtok($text2, $separators); $token !== FALSE; $token = strtok($separators)) { Code:
for ($token = strtok($text2, $separators); $token !== FALSE; $token = strtok($separators)) { Code:
CREATE TABLE engine2 ( |
All times are GMT -8. The time now is 01:00 PM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.