You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Martin Dominguez <ma...@wbsgo.com> on 2010/07/19 18:53:24 UTC
Massive Publish
Hi all again,
Is it possible publish all documents form a Lenya 2.0.3 site in a massive
way?
In Lenya 1.2.4. you had to copy authoring folder to live folder... but in
Lenya 2 I think that I will have problems with meta files... What can I do??
Someone must have had same problem as me.
Thanks in advance.
Salu2.
Martín.-
--
View this message in context: http://old.nabble.com/Massive-Publish-tp29206887p29206887.html
Sent from the Lenya - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Massive Publish
Posted by Martin Dominguez <ma...@wbsgo.com>.
Thanks for your explanation Andreas.
I will wait to Lenya 3 ;)
Regards!
Andreas Hartmann wrote:
>
> Hi Martin,
>
> Am 22.07.10 10:15, schrieb Martin Dominguez:
>>
>> I'm not sure yet if it is possible to do this, but I found a workaround.
>> In
>> workflow overview option available for each document, you can click on
>> publish buttons to many documents, so it is very easy to publish many
>> documents very fast.
>>
>> However, does anyone know how to publish everything in a single process?
>
> we decided to remove the subtree workflow features because it is very
> hard to specify the exact requirements. Some issues are:
>
> * How should the language versions be treated?
> * What about documents that are not in the correct workflow state?
> * Access control (forbidden access to documents in the subtree)
> * Collecting broken links and notifying the user about them
>
> Especially the access control point is a bit tricky since Lenya
> implements a per-URL (HTTP-based) access control model as opposed to a
> per-document (repository-based) model. That's why a naiive
> implementation of the batch usecases would be a potential security leak.
> Note to developers: We have to change this in Lenya 3. JCR will come to
> the rescue.
>
> But I think it is reasonably easy to implement a simple "Batch publish"
> usecase which iterates over the subtree in preorder and publishes all
> documents which are in the correct workflow state. I'm not sure though
> if we should include this in the standard distribution since the
> requirements might vary.
>
> -- Andreas
>
>
>>
>>
>> Martin Dominguez wrote:
>>>
>>> Hi all again,
>>>
>>> Is it possible publish all documents form a Lenya 2.0.3 site in a
>>> massive
>>> way?
>>>
>>> In Lenya 1.2.4. you had to copy authoring folder to live folder... but
>>> in
>>> Lenya 2 I think that I will have problems with meta files... What can I
>>> do??
>>>
>>> Someone must have had same problem as me.
>>>
>>> Thanks in advance.
>>>
>>> Salu2.
>>>
>>> Martín.-
>>>
>>
>
>
> --
> Andreas Hartmann, CTO
> BeCompany GmbH
> http://www.becompany.ch
> Tel.: +41 (0) 43 818 57 01
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>
>
--
View this message in context: http://old.nabble.com/Massive-Publish-tp29206887p29267280.html
Sent from the Lenya - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Massive Publish
Posted by Andreas Hartmann <an...@apache.org>.
Hi Martin,
Am 22.07.10 10:15, schrieb Martin Dominguez:
>
> I'm not sure yet if it is possible to do this, but I found a workaround. In
> workflow overview option available for each document, you can click on
> publish buttons to many documents, so it is very easy to publish many
> documents very fast.
>
> However, does anyone know how to publish everything in a single process?
we decided to remove the subtree workflow features because it is very
hard to specify the exact requirements. Some issues are:
* How should the language versions be treated?
* What about documents that are not in the correct workflow state?
* Access control (forbidden access to documents in the subtree)
* Collecting broken links and notifying the user about them
Especially the access control point is a bit tricky since Lenya
implements a per-URL (HTTP-based) access control model as opposed to a
per-document (repository-based) model. That's why a naiive
implementation of the batch usecases would be a potential security leak.
Note to developers: We have to change this in Lenya 3. JCR will come to
the rescue.
But I think it is reasonably easy to implement a simple "Batch publish"
usecase which iterates over the subtree in preorder and publishes all
documents which are in the correct workflow state. I'm not sure though
if we should include this in the standard distribution since the
requirements might vary.
-- Andreas
>
>
> Martin Dominguez wrote:
>>
>> Hi all again,
>>
>> Is it possible publish all documents form a Lenya 2.0.3 site in a massive
>> way?
>>
>> In Lenya 1.2.4. you had to copy authoring folder to live folder... but in
>> Lenya 2 I think that I will have problems with meta files... What can I
>> do??
>>
>> Someone must have had same problem as me.
>>
>> Thanks in advance.
>>
>> Salu2.
>>
>> Martín.-
>>
>
--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Massive Publish
Posted by Martin Dominguez <ma...@wbsgo.com>.
I'm not sure yet if it is possible to do this, but I found a workaround. In
workflow overview option available for each document, you can click on
publish buttons to many documents, so it is very easy to publish many
documents very fast.
However, does anyone know how to publish everything in a single process?
Martin Dominguez wrote:
>
> Hi all again,
>
> Is it possible publish all documents form a Lenya 2.0.3 site in a massive
> way?
>
> In Lenya 1.2.4. you had to copy authoring folder to live folder... but in
> Lenya 2 I think that I will have problems with meta files... What can I
> do??
>
> Someone must have had same problem as me.
>
> Thanks in advance.
>
> Salu2.
>
> Martín.-
>
--
View this message in context: http://old.nabble.com/Massive-Publish-tp29206887p29234301.html
Sent from the Lenya - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org