Re: [xwiki-users] strip accents from page name used in url

2017-01-23 Thread Miroslav Galajda
Hi, I'm asking for help again. I need to globally override how the names for documents are created. By design/default the name is taken from title 1:1, which user enters when she creates the page. I would like to have url friendly names. How can I achieve this? Overriding some component or what?

Re: [xwiki-users] strip accents from page name used in url

2016-09-06 Thread Miroslav Galajda
Hi, this is nice proposal, but I think this is just another workarround. It is not directly solving the problem and user have to think about it, when sharing the url. It is not straightforward and requires the user to work differently with urls in xwiki, different when browsing the other web

Re: [xwiki-users] strip accents from page name used in url

2016-09-06 Thread Vincent Massol
> On 06 Sep 2016, at 10:19, Miroslav Galajda wrote: > > Hi Vincent, yes the stripping would occure at the document creating time, > or when renaming the page. > > The workarround for this would be to have the user always think that when > creating the new page,

Re: [xwiki-users] strip accents from page name used in url

2016-09-06 Thread Miroslav Galajda
Hi Vincent, yes the stripping would occure at the document creating time, or when renaming the page. The workarround for this would be to have the user always think that when creating the new page, enter the name without accents and without spaces and consequently change the page title to a

Re: [xwiki-users] strip accents from page name used in url

2016-09-06 Thread Miroslav Galajda
Hi, yes I'm aware of the encoding problems with urls in Tomcat certain versions. This is not my problem. My urls are displaying OK, depending on browser. Chrome is displaying decoded urls but IE is not decoding urls, and it displays url in it's original form with url encoded characters. For

Re: [xwiki-users] strip accents from page name used in url

2016-09-06 Thread Vincent Massol
> On 06 Sep 2016, at 09:22, Vincent Massol wrote: > > Hi Miroslav, > >> On 06 Sep 2016, at 09:04, Miroslav Galajda >> wrote: >> >> Hi, does anyone have idea, how to automatically modify/generate url from >> page title so that the url doesn't

Re: [xwiki-users] strip accents from page name used in url

2016-09-06 Thread Vincent Massol
Hi Miroslav, > On 06 Sep 2016, at 09:04, Miroslav Galajda wrote: > > Hi, does anyone have idea, how to automatically modify/generate url from > page title so that the url doesn't contains accents or any special > characters. I want to achieve simmilar approach used

Re: [xwiki-users] strip accents from page name used in url

2016-09-06 Thread Paul Libbrecht
Miroslav, are you sure that the issue is in XWiki? It's a very very very fragile topic but I think I can be done and it is considerably more elegant to have URLs that show the native language (I feel). Can you describe you're exact setup? A few hints from my experience: I've seen URLEncoding to

Re: [xwiki-users] strip accents from page name used in url

2016-09-06 Thread Miroslav Galajda
Hi, does anyone have idea, how to automatically modify/generate url from page title so that the url doesn't contains accents or any special characters. I want to achieve simmilar approach used in CMS system Umbraco. Which creates url based on page title but strips spaces and any characters that

[xwiki-users] strip accents from page name used in url

2016-07-11 Thread Miroslav Galajda
Hi, I’m using XWiki in Slovak language which uses accents, which consequently causes problems with urls. The urls becomes ugly containing encoded characters with accents. Does XWiki have integration point out of the box to replace the page name with custom one, with stripped accents from it?