Re: Cocoon website urls

2007-11-19 Thread Vadim Gritsenko

Jasha Joachimsthal wrote:

What about a mixture of the unchangeable id's and the title. Like
http://cocoon.apache.org/2.2/1290_1_1/Your_first_XML_pipeline_(publishing).html
 and that can be changed into 
http://cocoon.apache.org/2.2/1290_1_1/The_new_title_of_the_page.html


Shouldn't be that hard to match in Cocoon on the 1290_1_1  ;)


Website is a static HTML. But, you can still do this using mod_rewrite.

Vadim


RE: Cocoon website urls

2007-11-17 Thread Jasha Joachimsthal



-Original Message-
From: Grzegorz Kossakowski [mailto:[EMAIL PROTECTED]
Sent: Fri 11/16/2007 20:51
To: dev@cocoon.apache.org
Subject: Re: Cocoon website urls
 
Carsten Ziegeler pisze:
 I know that this has been discussed in the past, but nevertheless do we
 really think that urls like
 
 http://cocoon.apache.org/2.2/1290_1_1.html
 
 are suited for a top web framework of the 21st century? 1290_1_1 has
 absolutely no meaning. So what can be done about it?

I support you Carsten on this. I talked about this with Reinhard and, AFAIR, he 
told me that the
main reason was to have links immutable. I think we could loosen our 
requirement for having
immutable links to just provide permanent redirection for changed titles.

I must admit I haven't evaluated if it's technically easy to achieve but at 
least such idea is
rather conforms HTTP spec.

The worst thing is that our current version of Daisy does not support titles as 
names of published
documents. Am I right Reinhard?

-- 
Grzegorz Kossakowski
Committer and PMC Member of Apache Cocoon
http://reflectingonthevicissitudes.wordpress.com/


What about a mixture of the unchangeable id's and the title. Like 
http://cocoon.apache.org/2.2/1290_1_1/Your_first_XML_pipeline_(publishing).html
and that can be changed into
http://cocoon.apache.org/2.2/1290_1_1/The_new_title_of_the_page.html

Shouldn't be that hard to match in Cocoon on the 1290_1_1 ;)

Jasha
winmail.dat

Re: Cocoon website urls

2007-11-17 Thread Reinhard Poetz

Grzegorz Kossakowski wrote:

Carsten Ziegeler pisze:

I know that this has been discussed in the past


several times ;-)

, but nevertheless do we 

really think that urls like

http://cocoon.apache.org/2.2/1290_1_1.html

are suited for a top web framework of the 21st century? 1290_1_1 has 
absolutely no meaning. 


actually this was the intention. Since it was me who implemented the Daisy 
export plugin for Maven, I decided for non-speaking URLs.



So what can be done about it?

I support you Carsten on this. I talked about this with Reinhard and, AFAIR,
he told me that the main reason was to have links immutable. I think we could
loosen our requirement for having immutable links to just provide permanent
redirection for changed titles.

I must admit I haven't evaluated if it's technically easy to achieve but at
least such idea is rather conforms HTTP spec.

The worst thing is that our current version of Daisy does not support titles
as names of published documents. Am I right Reinhard?


Yes, the Daisy explort plugin doesn't support this feature, but it shouldn't be 
too difficult to implement this. However, don't hold your breath that it will be 
me who will add this feature because it is rather low on my Cocoon priority list 
(long after a final release of 2.2, _wirting_docs, RESTful forms/controller, etc.).


--
Reinhard PötzManaging Director, {Indoqa} GmbH
  http://www.indoqa.com/en/people/reinhard.poetz/

Member of the Apache Software Foundation
Apache Cocoon Committer, PMC member, PMC Chair[EMAIL PROTECTED]
_


Re: Cocoon website urls

2007-11-16 Thread Grzegorz Kossakowski
Carsten Ziegeler pisze:
 I know that this has been discussed in the past, but nevertheless do we
 really think that urls like
 
 http://cocoon.apache.org/2.2/1290_1_1.html
 
 are suited for a top web framework of the 21st century? 1290_1_1 has
 absolutely no meaning. So what can be done about it?

I support you Carsten on this. I talked about this with Reinhard and, AFAIR, he 
told me that the
main reason was to have links immutable. I think we could loosen our 
requirement for having
immutable links to just provide permanent redirection for changed titles.

I must admit I haven't evaluated if it's technically easy to achieve but at 
least such idea is
rather conforms HTTP spec.

The worst thing is that our current version of Daisy does not support titles as 
names of published
documents. Am I right Reinhard?

-- 
Grzegorz Kossakowski
Committer and PMC Member of Apache Cocoon
http://reflectingonthevicissitudes.wordpress.com/


Cocoon website urls

2007-11-16 Thread Carsten Ziegeler
I know that this has been discussed in the past, but nevertheless do we
really think that urls like

http://cocoon.apache.org/2.2/1290_1_1.html

are suited for a top web framework of the 21st century? 1290_1_1 has
absolutely no meaning. So what can be done about it?

Carsten
-- 
Carsten Ziegeler
[EMAIL PROTECTED]