Not sure if I get it all right, but fetching a repository source, is
unfortunately case insensitive in repository 1. So if the document is
called Test.xml, you can fetch it with 'test.xml' as well as with
'Test.xml'. Make sure though that you have the latest versions of all
hippo cocoon extension jars, because invalidation of source used to fail
when they would be fetched with for example 'Test.xml' and the actual
source was 'test.xml'. This is fixed recently, but cannot remember which
jar it was...so take all latest versnios, you are good anyway :-))

Ard


> 
> Hi Jeroen,
> 
> Thanks a lot for your assistance.
> 
> Kind Regards
> Petar
> 
> Jeroen Reijn wrote:
> > Well actually it has nothing todo with Hippo Cocoon, but 
> more with the 
> > NameUtil classed used by Hippo CMS.
> >
> > See
> > 
> http://svn.hippocms.org/repos/hippo/hippo-cms/trunk/editor/src/java/nl
> > /hippo/util/NameUtil.java
> >
> >
> > You could use maven to override the file before the compile 
> phase, so 
> > you can implement your own naming convention if you want, but I 
> > personally prefer lowercase urls. As far as I know there is no real 
> > SEO guideline on url cases.
> >
> > Regards,
> >
> > Jeroen
> >
> >
> >
> >
> >
> > Petar Becic wrote:
> >> Hi Jeroen,
> >>
> >> Yes, that was my question. If I create a document with 
> capital letter 
> >> (for example Test.xml), I would like to work both urls:
> >> http://myhost.com/Test.html and http://myhost.com/test.html.
> >> Is it possible to implement this using Hippo Cocoon?
> >>
> >> Kind Regards
> >> Petar
> >>
> >> Jeroen Reijn wrote:
> >>> Or do you mean that you want to change the url name 
> converter that 
> >>> handles newly created documents, so that they can contain 
> mixed case 
> >>> document names?
> >>>
> >>> Jeroen
> >>>
> >>> Jasha Joachimsthal wrote:
> >>>> Ah yes that's true, now you mention it. It depends on 
> the storage 
> >>>> system (file system or even database settings) if 
> repository URLs 
> >>>> are case sensitive or not so you should consider them as 
> >>>> case-sensitive.
> >>>>  
> >>>> Jasha
> >>>>
> >>>> 
> -------------------------------------------------------------------
> >>>> -----
> >>>>
> >>>> *Van:* [EMAIL PROTECTED] namens Dennis Dam
> >>>> *Verzonden:* do 12/11/2008 11:06
> >>>> *Aan:* Hippo CMS development public mailinglist
> >>>> *Onderwerp:* Re: [HippoCMS-dev] Case insensitive url
> >>>>
> >>>> website urls which are mapped to repository urls are not always 
> >>>> case insensitive right? This depends on the database 
> configuration 
> >>>> of your Hippo Repository. Normally, you would configure 
> the DB as 
> >>>> case insensitive. I ran into problems once (specifically under 
> >>>> Linux) when I didn't do that.
> >>>>
> >>>> Dennis
> >>>>
> >>>> Jasha Joachimsthal wrote:
> >>>>  > Hi Petar,
> >>>>  >  > that depends on the framework you are using for 
> your website 
> >>>> and how  > you set up your URL matching.. A URI is meant to be 
> >>>> unique and  > http://myhost.com/example.html is not equal  > to 
> >>>> http://myhost.com/Example.html  > Only the host has to be case 
> >>>> insensitive but not the following path.
> >>>>  > When you use Cocoon, some URLs may seem case-insensitive, but 
> >>>> that's  > only for matches that use wildcards and request a 
> >>>> repository source  > from that wildcard, like  > <map:match 
> >>>> pattern="**.html">  > <map:generate 
> src="repository://{1}.xml"/>  > 
> >>>> <map:serialize type="html"/>  > </map:match>  >  > 
> Regards,  >  > 
> >>>> Jasha  >  >
> >>>> 
> -------------------------------------------------------------------
> >>>> -----
> >>>>
> >>>>  > *Van:* [EMAIL PROTECTED] namens Petar 
> >>>> Becic  > *Verzonden:* wo 12/10/2008 10:26  > *Aan:* Hippo CMS 
> >>>> development public mailinglist  > *Onderwerp:* 
> [HippoCMS-dev] Case 
> >>>> insensitive url  >  > Hi all,  >  > How can we make case 
> >>>> insensitive urls?
> >>>>  > I saw that this works fine in MinFin site.
> >>>>  >
> >>>>  > --
> >>>>  > Met vriendelijke groet / Kind regards,  > Petar Becic 
>  > Senior 
> >>>> Software Developer  > Levi9 Global Sourcing  > 
> >>>> ===============================================================
> >>>>  > Adress:    Jan van Goyenkade 8, 1075 HP Amsterdam
> >>>>  > Tel.:      (+31) (0) 20 6701 947
> >>>>  > Mobile:    (+381) (0) 62 415 171
> >>>>  > Email:     [EMAIL PROTECTED]
> >>>>  > SkypeID:   p.becic
> >>>>  > Internet:  www.levi9.com
> >>>>  >
> >>>>  > Chamber of commerce Levi9 Global Sourcing BV: 34221951  > 
> >>>> Chamber of commerce Levi9 Global Sourcing Benelux BV: 
> 34224746  > 
> >>>> ===============================================================
> >>>>  > This e-mail may contain confidential or privileged 
> information. 
> >>>> If you
> >>>>  > are not (one of) the intended recipient(s), please notify the 
> >>>> sender  > immediately by reply e-mail and delete this 
> message and 
> >>>> any  > attachments permanently without retaining a copy. Any 
> >>>> review,  > disclosure, copying, distribution or taking 
> any action 
> >>>> in reliance on  > the contents of this e-mail by persons or 
> >>>> entities other than the  > intended recipient(s) is strictly 
> >>>> prohibited and may be unlawful.
> >>>>  >
> >>>>  > The services of Levi9 are exclusively subject to its general 
> >>>> terms and  > conditions. These general terms and 
> conditions can be 
> >>>> found on  > www.levi9.com and a copy will be promptly 
> submitted to 
> >>>> you on your  > request and free of charge.
> >>>>  >
> >>>>  > ********************************************
> >>>>  > Hippocms-dev: Hippo CMS development public mailinglist  >  > 
> >>>> Searchable archives can be found at:
> >>>>  > MarkMail: http://hippocms-dev.markmail.org 
> >>>> <http://hippocms-dev.markmail.org/>
> >>>>  > <http://hippocms-dev.markmail.org/>
> >>>>  > Nabble: http://www.nabble.com/Hippo-CMS-f26633.html
> >>>>  >
> >>>>
> >>>> ********************************************
> >>>> Hippocms-dev: Hippo CMS development public mailinglist
> >>>>
> >>>> Searchable archives can be found at:
> >>>> MarkMail: http://hippocms-dev.markmail.org 
> >>>> <http://hippocms-dev.markmail.org/>
> >>>> Nabble: http://www.nabble.com/Hippo-CMS-f26633.html
> >>>>
> >>> ********************************************
> >>> Hippocms-dev: Hippo CMS development public mailinglist
> >>>
> >>> Searchable archives can be found at:
> >>> MarkMail: http://hippocms-dev.markmail.org
> >>> Nabble: http://www.nabble.com/Hippo-CMS-f26633.html
> >>>
> >>>
> >>
> > ********************************************
> > Hippocms-dev: Hippo CMS development public mailinglist
> >
> > Searchable archives can be found at:
> > MarkMail: http://hippocms-dev.markmail.org
> > Nabble: http://www.nabble.com/Hippo-CMS-f26633.html
> >
> >
> 
> --
> Met vriendelijke groet / Kind regards,
> Petar Becic
> Senior Software Developer
> Levi9 Global Sourcing
> ===============================================================
> Adress:    Jan van Goyenkade 8, 1075 HP Amsterdam
> Tel.:      (+31) (0) 20 6701 947
> Mobile:    (+381) (0) 62 415 171
> Email:     [EMAIL PROTECTED]
> SkypeID:   p.becic
> Internet:  www.levi9.com
> 
> Chamber of commerce Levi9 Global Sourcing BV: 34221951 
> Chamber of commerce Levi9 Global Sourcing Benelux BV: 
> 34224746 
> ===============================================================
> This e-mail may contain confidential or privileged 
> information. If you are not (one of) the intended 
> recipient(s), please notify the sender immediately by reply 
> e-mail and delete this message and any attachments 
> permanently without retaining a copy. Any review, disclosure, 
> copying, distribution or taking any action in reliance on the 
> contents of this e-mail by persons or entities other than the 
> intended recipient(s) is strictly prohibited and may be unlawful.
> 
> The services of Levi9 are exclusively subject to its general 
> terms and conditions. These general terms and conditions can 
> be found on www.levi9.com and a copy will be promptly 
> submitted to you on your request and free of charge.
> 
> ********************************************
> Hippocms-dev: Hippo CMS development public mailinglist
> 
> Searchable archives can be found at:
> MarkMail: http://hippocms-dev.markmail.org
> Nabble: http://www.nabble.com/Hippo-CMS-f26633.html
> 
> 
********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html

Reply via email to