Replacing Umlaute, combining extended entry urls

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
macanarkist
Regular
Posts: 11
Joined: Mon Aug 22, 2005 9:35 pm

Replacing Umlaute, combining extended entry urls

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Replacing Umlaute, combining extended entry urls

Post 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
# 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/
macanarkist
Regular
Posts: 11
Joined: Mon Aug 22, 2005 9:35 pm

Post 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.
Post Reply