Project: collected information export

Collected Information Export

About

Export the collected information entries into csv or sylk files via eZ publish administration module, automated cronjob or shell script. This module allows for easy export collected informations from contentobjects.

Resources

Subversion

Changelogs

Contribution

Description

Install

Just install the module, and a new menu "Export" will appear.

Administration

It looks like the overview template of collected information, with a new function 'export'.

Cronjob

Review the settings/cronjob.ini.append.php settings

  • Add your collectedobject_id(s) to Collection[] (id) settings array
  • Set Output Directory
  • Set Output Format
  • Set Output Separator
  • Enable or disable Debug output

Example Settings

[ExportCollectionCSVSettings]
# Debug=enabled
Debug=disabled
# Export Log File
Log=var/log/exportcsv.log
LogDebug=disabled
# Export Directory
Directory=var/export
# Export Format
Format=csv
# Format=sylk
# export Separator
Separator=|
# Separator=,
# Separator=;
# Separator=:
# Separator=#
#
# Collections to export to file
Collection[]
Collection[]=3248
Collection[]=2055
Collection[]=3250
ExcludeAttributeID[]
# ExcludeAttributeID[]=001
# ExcludeAttributeID[]=002
# ExcludeAttributeID[]=003

Run Cronjob

./extension/collectexport/bin/runcronjobpart.sh
Warning

While not a large amount of system processor usage, objects with large number of collected information entries may be time consuming to generate the resulting export content.

  • 30 records => 60 seconds
  • 321 records => 300 seconds
  • 21950 records => 15 hours+ (and counting...)

Credit

Latest Stable Version: 1.0.1
Compatible with eZ publish: 3.8+, 3.9+

Last updated: Thursday 01 March 2007 09:10:01 pm by Brookins Consulting

Author: Mathias VITALIS

Inspired by the CSV Export from Gabriel Ambuehl ( Thx to him! )

Screenshot