You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Doug Chestnut <dh...@virginia.edu> on 2005/05/31 16:56:13 UTC

Create Document under Index

So it seems that having the ability to create children documents of 
Index might be required for some publications.
http://mail-archives.apache.org/mod_mbox/lenya-user/200505.mbox/%3c428E2767.3000600@uninova.pt%3e

Talking with nobby via IRC, nobby suggested a radio-button list on the 
create doc form:
* as child
* before
* after

It seems that this would be useful for any node in the publication.
Anyone have thoughts / opinions about this idea?

Thanks,
--Doug

http://issues.apache.org/bugzilla/show_bug.cgi?id=35130
------- Additional Comments From andreas@apache.org  2005-05-31 14:26 
-------
I wouldn't apply this patch to the core, as it represents specific 
behaviour of
the default publication. We should either override the usecase in the 
default
pub, or discuss a general solution on the dev list.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: Create Document under Index

Posted by Andreas Hartmann <an...@apache.org>.
Torsten Schlabach wrote:
> Doug,
> 
>  > So it seems that having the ability to create children documents of
>  > Index might be required for some publications.
> 
> I had hit this issue before ... But how do you want the sitetree to look 
> then?
> 
> Today the sitetree looks like this:
> 
> index
> - page 1
> - page 2
> ---- page 2.1
> ---- page 2.2
> - page 3
> 
> This means, "page 1", "page 2" und "page 3" are children of "index".

No, they aren't. The sitetree looks like

   <node id="index">
     <label xml:lang="en">Home</label>
     <label xml:lang="de">Home</label>
   </node>

   <node id="tutorial">
     <label xml:lang="en">Tutorial</label>
     <label xml:lang="de">Tutorial</label>

     <node id="new_doctype">
       <label xml:lang="en">Create new doctype</label>
     </node>
   </node>

   <node id="concepts">
     <label xml:lang="en">Concepts (english only)</label>
   </node>

...

But the other case is for instance used in the cocooncenter pub:


http://www.cocooncenter.org/index.html
http://www.cocooncenter.org/index/contact.html
http://www.cocooncenter.org/index/contributing.html
...
http://www.cocooncenter.org/articles.html
http://www.cocooncenter.org/articles/transformer.html
...

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: Create Document under Index

Posted by Doug Chestnut <dh...@virginia.edu>.

Torsten Schlabach wrote:
> Could you draw the tree as it would look like in what you are thinking of?

index
-subpage
page2
-subpage
-subpage2
page3
-subpage
--subpage

This is how the sitetree in 1.4 looks now.  If you create a document 
from index, you currently create a child document of index.

--Doug

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: Create Document under Index

Posted by Torsten Schlabach <ts...@apache.org>.
Doug,

 > So it seems that having the ability to create children documents of
 > Index might be required for some publications.

I had hit this issue before ... But how do you want the sitetree to look 
then?

Today the sitetree looks like this:

index
- page 1
- page 2
---- page 2.1
---- page 2.2
- page 3

This means, "page 1", "page 2" und "page 3" are children of "index".

Could you draw the tree as it would look like in what you are thinking of?

Regards,
Torsten

Doug Chestnut schrieb:
> So it seems that having the ability to create children documents of 
> Index might be required for some publications.
> http://mail-archives.apache.org/mod_mbox/lenya-user/200505.mbox/%3c428E2767.3000600@uninova.pt%3e 
> 
> 
> Talking with nobby via IRC, nobby suggested a radio-button list on the 
> create doc form:
> * as child
> * before
> * after
> 
> It seems that this would be useful for any node in the publication.
> Anyone have thoughts / opinions about this idea?
> 
> Thanks,
> --Doug
> 
> http://issues.apache.org/bugzilla/show_bug.cgi?id=35130
> ------- Additional Comments From andreas@apache.org  2005-05-31 14:26 
> -------
> I wouldn't apply this patch to the core, as it represents specific 
> behaviour of
> the default publication. We should either override the usecase in the 
> default
> pub, or discuss a general solution on the dev list.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
> For additional commands, e-mail: dev-help@lenya.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org