Hi,
Publish can be understood in several ways.
In Nuxeo DM, the default Publishing model is based on the Workspaces/Sections
model.
Contributors collaborate on Documents inside workspaces (organised by Projects,
Expert Communities ...).
When they agree on a Document (after reviews, workflows ...), they publish the
validated version of this Document in one or several Sections, so that more
people can access this document.
Sections can be organised in a very different structure than workspaces
(topics, departments ...).
And while "everybody" can access the content in the sections the contributors
can continue working on the next "updated" version of the content.
That's the default model of Nuxeo DM.
Because of that, the default publisher :
- always creates a version of the document on publishing
- create in the sections one or several proxies (symlinks) pointing to this
version
This model is not compliant with publishing a folder (or a tree) :
- because versionning a tree is complexe to manage
(it's a nightmare to manage version recovery)
- because validating a tree is complexe in a collaborative work
That's basically why Folderish Documents in Nuxeo are by default not
publishable.
(You can change that via XML config or using Nuxeo Studio).
However there are several solutions :
# Nuxeo publishing service is pluggable :
- so you can configure and extend to use different publishing model
_ for target (FS publishing or Remote Publishing)
_ for content model (create proxies, create simple documents, version or
not ...)
- you can contribute your own publishing model if needed
For example, if all you need for "publsihing" is copy a part of the content
tree without versionning, it's very easy to do, but you will to write 1 or 2
java files.
# You can use complexe documents types that can contains several files
A Nuxeo Document can contain any number of files.
So if you want to manage several files with the same security, the same
lifecycle and publish them together, then it's a very simple solution.
# You can do staging and publishing of content tree
To be honest, we have very very few people asking for "Folder publishing", and
when some people do, it has always been for doing WCM.
If that's what interest you you should take a look at webpublisher
(http://hg.nuxeo.com/sandbox/nuxeo-platform-webpublisher/) that manage staging
and publishing of content trees.
# Using multiple file plans
If you goal is to have the same content sub trees available in different file
plans, they you may want to have a looks at the categorization addon.
(http://hg.nuxeo.com/addons/nuxeo-platform-classification/).
...
All depends of what you call "Publish a folder".
Hope this helps.
Tiry
--
Posted by "tdelprat" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread:
<http://www.nuxeo.org/discussions/thread.jspa?threadID=4345#13559>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm