You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Andreas Hartmann <an...@apache.org> on 2003/10/26 20:34:37 UTC

Re: [RT ] Cloning/Overwriting publications

Rolf Kulemann wrote:

> On Sun, 2003-10-26 at 19:40, Michael Wechner wrote:
> 
>>Rolf Kulemann wrote:
>>
>>
>>>Hello List,
>>>
>>>my plan is to copy the default publication and use that copy as basis
>>>for a new publication. 
>>
>>
>>Since publications are being improved and enhanced, I think we should 
>>give it some thought how we can solve the problem of cloning/overwriting 
>>publications without entering a maintenance nightmare.

[...]

> Sounds for me, that I can not copy an existing pub to use as basis for a
> new one?

I guess it will take several weeks until publication cloning /
templating is ready to use, even if we really start working on
it now. Until then, you have to copy the publication by hand.

-- Andreas



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


Re: AW: [RT ] Cloning/Overwriting publications

Posted by Rolf Kulemann <ma...@rolf-kulemann.com>.
On Sun, 2003-10-26 at 21:15, Christian Kreutz wrote:
> 
> Sorry maybe I got you wrong but how can you publish something when you
> remove it first from the sitetree?

Of course you publish another site than the removed one :)

I will give it another try now. So stay tuned....


-- 
Rolf Kulemann

The plot was designed in a light vein that somehow became varicose.
		-- David Lardner


PGP/GPG public key:
	 http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x6B4EA7EA


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


AW: [RT ] Cloning/Overwriting publications

Posted by Christian Kreutz <sc...@gmx.de>.

> -----Ursprüngliche Nachricht-----
> Von: Rolf Kulemann [mailto:mail@rolf-kulemann.com]
> Gesendet: Sonntag, 26. Oktober 2003 21:57
> An: Lenya Users List
> Betreff: Re: [RT ] Cloning/Overwriting publications
> 
> On Sun, 2003-10-26 at 20:51, Michael Wechner wrote:
> > Rolf Kulemann wrote:
> >
> > > On Sun, 2003-10-26 at 20:34, Andreas Hartmann wrote:
> > >
> > >>Rolf Kulemann wrote:
> > >>
> > >>>Sounds for me, that I can not copy an existing pub to use as
basis
> for a
> > >>>new one?
> > >>
> > >>I guess it will take several weeks until publication cloning /
> > >>templating is ready to use, even if we really start working on
> > >>it now. Until then, you have to copy the publication by hand.
> > >
> > >
> > > Mhh. I HAVE copied it by hand. I copied pubs/default to
pubs/mindpipe.
> > > After that I removed one entry from sitemap.xml from mindpipe pub.
If
> > > you then try to edit a already published doc and save it and
publish
> > > that doc the changes are not copied to live area. I will now try
to
> > > disable error handling, but I think I won't see anything, because
I
> get
> > > no error. The problem is: I click publish and get no error. If I
then
> > > try to watch the file in live area, I can't see changes in case of
a
> > > already published doc and the error file not published in case of
a
> > > first time publish.
> >
> > maybe you should do a "grep -rl default
> src/webapp/lenya/pubs/mindpipe/*"
> 
> I have already tried that, but I do it again.
> Beside this, the above problem after removing stuff from sitetree.xml
> also happens if I directly use the default pub. This means, remove a
nav
> item from pubs/default/content/authoring/sitetree.xml and try to
publish
> a doc. Nothing happens here.
> 

Sorry maybe I got you wrong but how can you publish something when you
remove it first from the sitetree?

I do constantly work with the default pub to develop new publications
and it works fine. Here is a quick an dirty way.

1) Create your own directories and files in the live area and put the
images into the resources. Change and add styles to the stylsheet
/resource/css/pages.css For example change the stylsheet for the menue
or tabs.

2) Go the xslt/page2xhtml.xsl and create your own layout. Place the
body, menue tabs where and how you want them.

3) Copy the live are to the live area file to the authoring area and
start using cms. It works just fine with some exceptions for the
workflow...

Hope it helps 

Greetings 
Christian


> 
> --
> Rolf Kulemann
> 
> 	A master was explaining the nature of Tao to one of his
> novices.  "The Tao is embodied in all software -- regardless of how
> insignificant," said the master.
> 
> 	"Is Tao in a hand-held calculator?" asked the novice.
> 
> 	"It is," came the reply.
> 
> 	"Is the Tao in a video game?" continued the novice.
> 
> 	"It is even in a video game," said the master.
> 
> 	"And is the Tao in the DOS for a personal computer?"
> 
> 	The master coughed and shifted his position slightly.  "The
> lesson is over for today," he said.
> 		-- "The Tao of Programming"
> 
> 
> PGP/GPG public key:
> 	 http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x6B4EA7EA
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-user-help@cocoon.apache.org




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


Re: [RT ] Cloning/Overwriting publications

Posted by Rolf Kulemann <ma...@rolf-kulemann.com>.
On Sun, 2003-10-26 at 20:51, Michael Wechner wrote:
> Rolf Kulemann wrote:
> 
> > On Sun, 2003-10-26 at 20:34, Andreas Hartmann wrote:
> > 
> >>Rolf Kulemann wrote:
> >>
> >>>Sounds for me, that I can not copy an existing pub to use as basis for a
> >>>new one?
> >>
> >>I guess it will take several weeks until publication cloning /
> >>templating is ready to use, even if we really start working on
> >>it now. Until then, you have to copy the publication by hand.
> > 
> > 
> > Mhh. I HAVE copied it by hand. I copied pubs/default to pubs/mindpipe.
> > After that I removed one entry from sitemap.xml from mindpipe pub. If
> > you then try to edit a already published doc and save it and publish
> > that doc the changes are not copied to live area. I will now try to
> > disable error handling, but I think I won't see anything, because I get
> > no error. The problem is: I click publish and get no error. If I then
> > try to watch the file in live area, I can't see changes in case of a
> > already published doc and the error file not published in case of a
> > first time publish.
> 
> maybe you should do a "grep -rl default src/webapp/lenya/pubs/mindpipe/*"

I have already tried that, but I do it again.
Beside this, the above problem after removing stuff from sitetree.xml
also happens if I directly use the default pub. This means, remove a nav
item from pubs/default/content/authoring/sitetree.xml and try to publish
a doc. Nothing happens here.


-- 
Rolf Kulemann

	A master was explaining the nature of Tao to one of his
novices.  "The Tao is embodied in all software -- regardless of how
insignificant," said the master.

	"Is Tao in a hand-held calculator?" asked the novice.

	"It is," came the reply.

	"Is the Tao in a video game?" continued the novice.

	"It is even in a video game," said the master.

	"And is the Tao in the DOS for a personal computer?"

	The master coughed and shifted his position slightly.  "The
lesson is over for today," he said.
		-- "The Tao of Programming"


PGP/GPG public key:
	 http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x6B4EA7EA


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


Re: [RT ] Cloning/Overwriting publications

Posted by Michael Wechner <mi...@wyona.com>.
Rolf Kulemann wrote:

> On Sun, 2003-10-26 at 20:34, Andreas Hartmann wrote:
> 
>>Rolf Kulemann wrote:
>>
>>>Sounds for me, that I can not copy an existing pub to use as basis for a
>>>new one?
>>
>>I guess it will take several weeks until publication cloning /
>>templating is ready to use, even if we really start working on
>>it now. Until then, you have to copy the publication by hand.
> 
> 
> Mhh. I HAVE copied it by hand. I copied pubs/default to pubs/mindpipe.
> After that I removed one entry from sitemap.xml from mindpipe pub. If
> you then try to edit a already published doc and save it and publish
> that doc the changes are not copied to live area. I will now try to
> disable error handling, but I think I won't see anything, because I get
> no error. The problem is: I click publish and get no error. If I then
> try to watch the file in live area, I can't see changes in case of a
> already published doc and the error file not published in case of a
> first time publish.

maybe you should do a "grep -rl default src/webapp/lenya/pubs/mindpipe/*"


HTH

Michi


> 
> 


-- 
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com              http://cocoon.apache.org/lenya/
michael.wechner@wyona.com                        michi@apache.org



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


Re: [RT ] Cloning/Overwriting publications

Posted by Rolf Kulemann <ma...@rolf-kulemann.com>.
On Sun, 2003-10-26 at 20:34, Andreas Hartmann wrote:
> Rolf Kulemann wrote:
> > Sounds for me, that I can not copy an existing pub to use as basis for a
> > new one?
> 
> I guess it will take several weeks until publication cloning /
> templating is ready to use, even if we really start working on
> it now. Until then, you have to copy the publication by hand.

Mhh. I HAVE copied it by hand. I copied pubs/default to pubs/mindpipe.
After that I removed one entry from sitemap.xml from mindpipe pub. If
you then try to edit a already published doc and save it and publish
that doc the changes are not copied to live area. I will now try to
disable error handling, but I think I won't see anything, because I get
no error. The problem is: I click publish and get no error. If I then
try to watch the file in live area, I can't see changes in case of a
already published doc and the error file not published in case of a
first time publish.


-- 
Rolf Kulemann

All science is either physics or stamp collecting.
		-- E. Rutherford


PGP/GPG public key:
	 http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x6B4EA7EA


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