Entry links

Found a bug? Tell us!!
Post Reply
Fabien
Regular
Posts: 204
Joined: Wed Mar 15, 2006 1:02 pm
Location: Paris (France)
Contact:

Entry links

Post by Fabien »

If I have an accentued character in an entry, the link contains the conversion to the standard character. For example the link to an entry titled "Désir" is http://myblog.com/Desirs.htm
Perfect and readable!

But it doesn't work if the character is an accentued capital letter. For example the link to an entry titled "L'Équateur" is http://myblog.com/Lquateur.htm
Not very user friendly.

I would prefer
http://myblog.com/LEquateur.htm
or better
http://myblog.com/L-Equateur.htm

Is this possible?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Entry links

Post by garvinhicking »

Hi!

We inserted a few custom characters in the include/functions_permalinks.inc.php file, the function serendipity_makeFilename().

This function also can utilize a $i18n array defined in either your templates config.inc.php or your language file and use that to translate specific additional characters.

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply