NuxDocument is a Zope product that represents generic documents by using plugins to convert native productivity suite formats to HTML (for viewing or previewing in a regular browser) or to plain text (for indexing).
NuxDocument is designed to run on Linux/Unix platforms, and uses external utilities wrapped in Python "plugins" to perform actual conversion.
Needs: wvWare (http://www.wvware.com), xlhtml (http://www.xlhtml.org/) and ppthtml (http://www.xlhtml.org/ too).
Needs: xsltproc from libxml2 (http://xmlsoft.org/XSLT/) and unzip.
Needs: GNU unRTF (http://www.gnu.org/directory/GNUunRTF.html).
Needs: xpdf (http://www.foolabs.com/xpdf/).
Note that the lynx web browser is also needed to run most of the NuxDocument plugins.
NuxDocument is an extension of Eric Barroca's MSWordDocument. It's CMF aware but limited to Unix/Linux-like platforms. It needs external programs to actually do the conversions.
We're starting to put internationalisation into NuxDocument using Localizer (http://www.nuxeo.org/localizer).
Install the product in Products (NOT lib/python/Products!). The ZNuxDocument product should appear in the ZMI.
If you want to use NuxDocument in the CMF, it's a bit more painful. You have to:
1) Go to portal_types in the CMF, s�lectionner the Contents tab, then Factory-based type information in the Add menu. Choose 'id'=NuxDocument and 'default type information'=NuxDocument: CMFNuxDocument.
portal_types
Contents
Factory-based type information
Add
NuxDocument
NuxDocument: CMFNuxDocument
2) Go to the portal_skins tool in the CMF, then the Contents tabs. Add a Filesystem Directory View. Choose Products/NuxDocument/skins/NuxDocument in the menu.
portal_skins
Filesystem Directory View
Products/NuxDocument/skins/NuxDocument
Then go to the Properties tab, and add NuxDocument after custom in each skin, then click Save.
Properties
custom
Save
NuxDocument should now appear in the CMF's Add Contents page.
Add Contents
Better MIME type support (icons, etc.)
Internationalisation.
Don't register a plugin when the appropriate external program is missing.
Improved metadata support (title, etc).
Fixed some problems with character encodings (UTF8 vs. Latin1 vs. etc.).
Fix all XXXes.
Improve metadata support (title, etc).
Provide useful error messages.
Correct bugs in file BOGUES (french).
Add a configurer ? (to set storage policy, character set policy).
Fix CMF unit tests (broken since CMF 1.3).
If you find bugs, please start by running the unit tests:
EXPORT ZOPE_HOME=/your/zope/root cd Products/NuxDocument/tests python test_all.py
Plugin tests should all pass, except when some external tool is missing.
Send bug reports or comments to -> [email protected]
Eric Barroca : implementation of MSWordDocument, beta-testing.
Jean-Paul Smets : discussion about initial plugin system design.
Dirk Datzert : initial implementation of XLS and PPT support and internationalisation support.
Juan David Ibanez Palomar : initial Localizer support.
Frank Bennett : bug report.
The Nuxeo CPS team : debugging.
Zope Corp, Pythonlabs and all the crew.
Chris H: bug report.
Florent Guillaume (Nuxeo): icon support, refactoring of plugins.
Bertrand Croq (Virtual Net): patches.