Skip to content

Rhaptos Software Development

Personal tools
You are here: Home » Developer Blog » Brian's Sooth » Harvesting Imported Word Files

Harvesting Imported Word Files Harvesting Imported Word Files

Document Actions
Submitted by bnwest. on 2006-11-15 14:15. Development
Mission - Harvest imported Word doc files in order to be able to profile the imported Word usage. Track both the successes and the failures of the Word importer. Harvesting can be turned on/off on the server dynamically, starting out (default) as off. Build a test bed of real world import Word docs, for regression testing.

Design objectives as discussed with Ross:


  1. all imported Word docs will be saved to a central location
  2. word docs are be saved in either the GOOD or BAD directories therein
  3. we will create the saved file name from the user name and the original file name
  4. we will have more log messages which include the user name, the original word file name, conversion status, save file name, etc.
  5. user importing the same file again may over-write a previously saved copy (policy decision)
  6. failure to write the saved doc will trigger the old tempfile logic. the side effect will be that some imported word files will be lost if the file system is full (policy decision)
  7. space management for the central location (policy decision) is TBD
  8. GOOD doc files will be harvested to build a test bed for the importer
  9. BAD doc files will be analyzed and authors potentially contacted "proactively"
  10. the configure attribute in the oo_to_cnxml object/class will have two entries for the GOOD and BAD harvest directories.
  11. initial values for the two entries is null => by default harvesting is turned off.
  12. the zope/plone admin control panel can change these two values which turns harvesting on/off

Re: Harvesting Imported Word Files

Posted by bnwest at 2006-11-16 16:28
The config attributes for the oo_to_cnxml instance variable has been updated. More entries in the associative array have been added.

Instance variables are set at install time and NOT at restart time. This required that an upgrade scripte b created to be run as part of roll-out.

See: CNXMLTransforms/Upgrades/up031to04.zctl
Developer Blog
« May 2008 »
Su Mo Tu We Th Fr Sa
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Categories:
Content (55)
Copyright (0)
Deep Code (3)
Development (193)
Markup (22)
Metadata (1)
Printing (7)
Style (9)
Testing (2)
Usability (6)