Archiving Articles..

Author Message

Fady Chakik

Tuesday 08 April 2003 3:22:57 am

Hello,

How can we archive articles in ezpublish3? Is it possible to unpublish however a specific folder and all its content, then to republish it with all its content?

Thank you.
-Fadi

Bård Farstad

Friday 11 April 2003 7:11:35 am

For this kind of behaviour we've created a cron job which will move the article to another folder after some time. To achieve this you will need to do some programming.

The cron job is a script which runs e.g. every day.

--bård

Documentation: http://ez.no/doc

Fady Chakik

Sunday 13 April 2003 1:11:30 am

Hello,

But Maybe I don't want to archive all articles on daily basis!! I Think it will be better to choose from two options: either archiving on some dailyu basis or arhiving the articles I want manually.

May we can implement a solution like creating new folders and moving the articles from the main content to these folders!

-Fadi

Jørgen Skogstad

Thursday 01 May 2003 3:25:38 am

Actually I've been thinkinig alot about this since I need lifecycle functionality.

What needs to be implemented is a lifecycle workflow which one can attach to every content object (and section / ++ / ?? ). What you would then do is to attach a 10-day... or a 20-day .. or indefinate .. or 1000 day lifecycle to the object (could be an article .. or an image .. or..) .. and after that lifecycle ends the object is archived and perhaps the user who created the object could get a notification (this should also be available in a tab to manage archived content) .. to decide if he wanted to edit the object again and attach a new lifecycle enabling the content object to be published again.

This should be quite easy .. provided the workflows/events/trigger stuff done in Ez has been implemented in a fair fashion.

Any ideas??

Bård: could you share the cron script you run to do this?? Just to have a look at it?? I really would like to see this..

Thanks in advance!

Kindest,
Jørgen Skogstad

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.