You have a suggestion for a future version of phpMyFAQ? Then post it here!
Moderator: Thorsten
UTAKA
Posts: 37 Joined: Sun Jan 24, 2010 8:01 am
Location: phpmyfaq-jp.org
Contact:
Post
by UTAKA » Thu Feb 18, 2010 3:15 pm
sitemap For Chinese/Japanese/Korean and a-z word
#
##-- open ---------------------
#
/inc/Sitemap.php
#
#-- Find ----------------------
#
if (PMF_String::preg_match("/^[a-z0-9]/i", $letters)) {
#
#-- Replaced With -----------
#
if (PMF_String::preg_match("/^[一-龠]+|[ぁ-ん]+|[ァ-ヴー]+|[a-zA-Z0-9]+|[a-zA-Z0-9]/i", $letters)) {
#
### Save as UTF-8 _format
It works by this.
However, Urlencode not complete was not able to be done this..
Thorsten. Help..
$letters,
to
urlencode($letters),
---------------------------------------
Sorry...I am not good at English.
http://www.phpmyfaq-jp.org
---------------------------------------
Thorsten
Posts: 15662 Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:
Post
by Thorsten » Thu Feb 18, 2010 4:13 pm
Hi,
this fix produces a warning for me:
phpMyFAQ warning [2]: preg_match() [function.preg-match]: Compilation failed: range out of order in character class at offset 62 in Mbstring.php on line 194
bye
Thorsten
Thorsten
Posts: 15662 Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:
Post
by Thorsten » Thu Feb 18, 2010 4:23 pm
Hi,
okay, it works partly... I made a typo. I still working on that!
bye
Thorsten
UTAKA
Posts: 37 Joined: Sun Jan 24, 2010 8:01 am
Location: phpmyfaq-jp.org
Contact:
Post
by UTAKA » Thu Feb 18, 2010 4:28 pm
Thorsten
Thank you.
---------------------------------------
Sorry...I am not good at English.
http://www.phpmyfaq-jp.org
---------------------------------------