forum.coppermine-gallery.net

No Support => Feature requests => Topic started by: Joachim Müller on October 26, 2003, 12:01:08 pm

Title: specify keyword delimiter
Post by: Joachim Müller on October 26, 2003, 12:01:08 pm
Currently, the keywords can only be separated by spaces. In a future version I'd like to have the option to specify the keyword delimiter in the config page.
There has been a discussion on this on the old board, please refer to http://coppermine.sourceforge.net/oldboard/viewtopic.php?t=1914
Please also take into account the "umlauts" problem.

Anyone of the dev team wants to volunteer on this issue?

GauGau
Title: specify keyword delimiter
Post by: Tarique Sani on October 26, 2003, 12:08:53 pm
Err... future version <> 1.2.0 OR I am worng?
Title: specify keyword delimiter
Post by: Joachim Müller on October 26, 2003, 12:14:53 pm
hehe, any dev version is fine by me;
I was just trying to clarify that this won't go into the cpg1.2.0Final :wink:

GauGau
Title: specify keyword delimiter
Post by: Joachim Müller on October 26, 2003, 12:18:05 pm
just to get an idea: I've already included the hack from the old board into my existing install, but there's a problem with the Umlauts - see http://www.gaugau.de/galerie/displayimage.php?pos=-3422 as an example (look at the keyword section)...

GauGau
Title: specify keyword delimiter
Post by: Tarique Sani on October 26, 2003, 12:19:35 pm
OK I will look into this sometime next week...

P.S. Wife looked over the shoulder and wants to know the mystery behind the word "Gaugau"
Title: specify keyword delimiter
Post by: Tarique Sani on October 26, 2003, 12:49:12 pm
Quote from: "gaugau"
just to get an idea: I've already included the hack from the old board into my existing install, but there's a problem with the Umlauts


Line 248 the regex /(\S+)/  - what did you replace that with?
Title: specify keyword delimiter
Post by: Joachim Müller on October 26, 2003, 01:11:04 pm
currently, the regex is
Code: [Select]
       $info[$lang_picinfo['Keywords']]   = '<span class="alblink">'.preg_replace("/(\w+)/","<a href=\"thumbnails.php?album=search&search=\\1\">\\1</a>" , $CURRENT_PIC_DATA['keywords']).'</span>';

@Swati: "GauGau" is my nickname - it's pronounced like "gow gow" (like "cow", only with "g"). My "realname" is "Joachim", which is a common German name, often nicknamed "jojo" (hear pronounciation (http://www.m-w.com/cgi-bin/audio.pl?yoyo001w.wav=yo-yo)). This has changed (during school) over "jaujau" to "gaugau" (I didn't choose this name!). First I wasn't to happy with this nickname, but people hardly know me by my realname, so I got used to it (see this in detail on the German page http://gaugau.de/specials/faq/gaugau.htm )

GauGau