PDA

View Full Version : vbuleltin vbseo special chars replacement, how to make work?



Fli
11-02-2013, 05:11 PM
How one can make working special characters replacement in vBSEO Mod??

Description:


Define your Custom Character Replacements NEW!

Enter character replacements (1 per line). You need to use Ascii Html value for the characters
Examples:
'&# 268;'=>'c'
'&# 351;'=>'s'

Characters that has a value below 256 should be used the following format ( actual character )
=>'u'
=>'o'


Note: Ascii characters have a space between # and value. You should not use that space.

''=>'e'
''=>'E'
'š'=>'s'
'Š'=>'S'
''=>'c'
''=>'C'
''=>'r'
''=>'R'
''=>'d'
''=>'D'
''=>'t'
''=>'T'
''=>'n'
''=>'N'
''=>'u'
''=>'u'
''=>'U'
''=>'U'
'ž'=>'z'
'Ž'=>'Z'

i also tried:

'#236;'=>'e'
'#204;'=>'E'
'#154;'=>'s'
'#138;'=>'S'
'#232;'=>'c'
'#200;'=>'C'
'#248;'=>'r'
'#216;'=>'R'
'#239;'=>'d'
'#207;'=>'D'
'#157;'=>'t'
'#141;'=>'T'
'#242;'=>'n'
'#210;'=>'N'
'#249;'=>'u'
'#250;'=>'u'
'#218;'=>'U'
'#217;'=>'U'
'#158;'=>'z'
'#142;'=>'Z'

i also tried:

=>'e'
=>'E'
š=>'s'
Š=>'S'
č=>'c'
Č=>'C'

and also:

=>e
=>E
š=>s
Š=>S
č=>c
Č=>C

but none of that makes the characters replacing in forum/thread urls...

This is Czech language ěščřžďťň and similar

at the end, i had this:

'ř'=>'r'
'Ř'=>'r'
'ě'=>'e'
'Ě'=>'e'
''=>'a'
''=>'e'
''=>'i'
''=>'o'
''=>'o'
''=>'u'
''=>'u'
'ů'=>'u'
''=>'y'
'Č'=>'c'
'č'=>'c'
'ď'=>'d'
'ť'=>'t'
'ĺ'=>'i'
'ň'=>'n'
'Š'=>'s'
'š'=>'s'
'Ž'=>'z'
'ž'=>'z'
The list with HTML entities here: http://pastebin.com/Ty5wtTwz

I failed to use above mentioned list (see above pastebin link), but it somehow i think replaced characters like ěščřž into so called html entities in posts! which is unwanted. so i need to remove that