Page 1 of 1

Replacing Umlaute, combining extended entry urls

Posted: Wed Sep 28, 2005 12:01 pm
by macanarkist
Hi there,

I'd like to know, where is the function where the url-string is rewritten for the database?

I'm asking, because if you work with ISO-8859-1, you'll have characters like ä, ö, ü or ß (guess where I'm coming from :wink: ). After a look into the database I've seen that e.g. an ä is replaced by ae.

As I'm working on a page for my weblog that shows only some headlines and the body of the entries from a few but not all categories, I'll have to create the link to the extended version of the entry myself.

So there a 2 possibilities. I'll have to replace the so called 'Umlaute' myself by str_replace() or there is another possibility to combine the urls.

Example:

http://localhost:8002/index.php?/archiv ... l#extended

Hope someone can help me out of this.

thx

Mat

Re: Replacing Umlaute, combining extended entry urls

Posted: Wed Sep 28, 2005 12:56 pm
by garvinhicking
(Actually this question would be better suitable in "Development" forum)

Check the function "serendipity_makeFilename". In 0.9 it is found in include/functions_permalinks.inc.php - in 0.8 versions of s9y you can find it in include/functions.inc.php.

Regards,
Garvin

Posted: Fri Sep 30, 2005 3:54 am
by macanarkist
As usual Mr. Garvin "Serendipity" Hicking, thx a lot. What would happen to this project if you leave?

thx

Mat

PS: Maybe someone could move this post to the developer forum.