Export to CSV

Author Message

cliffp pratt

Sunday 09 May 2010 10:49:01 pm

I am migrating an old version of EZPublish to 4.2.0. There is a cronjob which exports to a CSV file but it is not working in the new version. I've spent a long time looking at this and found no answers so far.

I thought that maybe this ability, to export some data to a CSV file might be in EZP4.2.0 already.

Is there a supported way of doing what I want?

The existing cronjob silently fails to read an ini file used to populate some required variables. I don't want to get into that at this stage, if there is an easier export facility in EZPublish already.

Cheers,

Cliff

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

eZ debug

Timing: Jan 30 2025 00:18:59
Script start
Timing: Jan 30 2025 00:18:59
Module start 'layout'
Timing: Jan 30 2025 00:18:59
Module start 'content'
Timing: Jan 30 2025 00:18:59
Module end 'content'
Timing: Jan 30 2025 00:18:59
Script end

Main resources:

Total runtime0.0169 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 588.0078151.1953
Module start 'layout' 0.00560.0024 739.203136.6016
Module start 'content' 0.00800.0072 775.804785.9063
Module end 'content' 0.01510.0017 861.710929.9922
Script end 0.0169  891.7031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002615.3763140.0002
Check MTime0.00116.5711140.0001
Mysql Total
Database connection0.00074.339910.0007
Mysqli_queries0.001810.706630.0006
Looping result0.00000.071910.0000
Template Total0.00137.710.0013
Template load0.00105.859310.0010
Template processing0.00031.826710.0003
Override
Cache load0.00074.055110.0007
General
dbfile0.002514.602480.0003
String conversion0.00000.064840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs