You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Kirk Storer <ba...@yahoo.com> on 2004/05/11 21:34:11 UTC
Change live location and file names
I want published file to be saved differently, for
example:
/usr/local/tomcat/webapps/computing/asdf.xml
instead of:
/usr/local/tomcat/webapps/lenya/lenya/pubs/computing/content/live/asdf/index_en.xml
I am using a linux system, but using something like
symbolic links is not an option. I want lenya to
directly save the files to the directory.
Thanks,
Kirk
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Change live location and file names
Posted by Michael Wechner <mi...@wyona.com>.
Kirk Storer wrote:
>I am not concerned if it breaks somethings. I only
>want to use Lenya for editing/revision purposes not
>for templating of the live site.
>
>
You can overwrite resp. customize the Publisher.
Another method is to replicate the data from .../pubs/my-pub/work/pending
which is being used as queue to replicate to another machine, although I
think
this implementation isn't finished yet
HTH
Michi
>Thanks,
>Kirk
>
>
>
>
>__________________________________
>Do you Yahoo!?
>Win a $20,000 Career Makeover at Yahoo! HotJobs
>http://hotjobs.sweepstakes.yahoo.com/careermakeover
>
>---------------------------------------------------------------------
>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: Change live location and file names
Posted by Kirk Storer <ba...@yahoo.com>.
I am not concerned if it breaks somethings. I only
want to use Lenya for editing/revision purposes not
for templating of the live site.
Thanks,
Kirk
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Change live location and file names
Posted by "Scherler, Thorsten" <th...@apache.org>.
Hello Kirk,
didn't you ask exactly the same question on 29.04.2004 19:59?
Our response was:
I wouldn't recommend that because it would break some
things Lenya depends on. You should rather add some
code that that copies the XML files to another location.
-- Andreas
_______________________
Like Andreas said use something like
#!/bin/sh
cp -R /usr/local/tomcat/webapps/lenya/pubs/computing/content/live/*
/usr/local/tomcat/computing/
Save that as e.g. lenya-live.sh and "chmod 755 lenya-live.sh" then you
can use (./lenya-live.sh) that to do the job!
This will result in /usr/local/tomcat/computing/default/*. Trying to say
afterwards you will still have the dir structure of lenya (if you have
more then one pub).
Regards
Thorsten
Kirk Storer wrote:
> I want published file to be saved differently, for
> example:
>
> /usr/local/tomcat/webapps/computing/asdf.xml
>
> instead of:
>
> /usr/local/tomcat/webapps/lenya/lenya/pubs/computing/content/live/asdf/index_en.xml
>
> I am using a linux system, but using something like
> symbolic links is not an option. I want lenya to
> directly save the files to the directory.
>
>
> Thanks,
>
> Kirk
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Win a $20,000 Career Makeover at Yahoo! HotJobs
> http://hotjobs.sweepstakes.yahoo.com/careermakeover
--
<thorsten>
<name>Thorsten Scherler</name>
<country>Spain</country>
<@mail> thorsten@apache.org</...@mail>
<@cocoon-WIKI>
http://wiki.cocoondev.org/Wiki.jsp?page=Scherler</...@cocoon-WIKI>
<http>http://www.target-x.de</http>
</thorsten>
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Change live location and file names
Posted by Andreas Hartmann <an...@apache.org>.
Kirk, would you mind starting a new thread when
you address a new topic instead of replying to
a former message? Otherwise, some mail clients
(with thread view) mess up the message list.
Thank you very much!
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org