Data export/extraction for use in other solutions.

Author Message

Christoffer Andersson

Tuesday 31 August 2004 1:31:45 am

How easy is it to extract/export data from ezpublish to use/reuse in other solutions?

Let's say I have added several articles...how easy is it to reuse this and make them into normal html pages in eg. frontpage?

I am tasked with evaluating different solutions, and one of the top requirements until further notice, is that I should be able to reuse any work that I put into a solution if we decide to go for something else.

I hope this was an adequate explanation.

Any comments appreciated.

Christoffer

Alex Jones

Tuesday 31 August 2004 6:42:23 am

Christoffer, your content should be reusable via a few methods:

1. You can use eZ SiteCopier to generate a static version of every page on your site, and then edit it with an standard HTML editor.
2. You could create a special view of your site that prints out the date in any way you wish. For example, if you need to import everything into another system, you could set up a new view, with the appropriate overrides to print out each field of an article separated by commas or tabs etc.
3. Everything is stored in MySQL, and can be retrieved via PHP, some searches on this site should show you some code to use to pull information from the database
4. There is also Content Object Export, but I'm not sure if it will be all that helpful for importing into other packages as I've never used it. I would guess that it would take some major tweaking, if not outright change.

<b>Documentation</b>
<b>eZ Sitecopier:</b> http://ez.no/community/contributions/hacks/ez_sitecopier
<b>Content object import and export:</b> http://ez.no/ez_publish/documentation/ez_publish_3_4/content_object_import_and_export
<b>Content object export with ezpm:</b> http://ez.no/ez_publish/documentation/ez_publish_3_4/content_object_export_with_ezpm

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

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 31 2025 01:15:57
Script start
Timing: Jan 31 2025 01:15:57
Module start 'layout'
Timing: Jan 31 2025 01:15:57
Module start 'content'
Timing: Jan 31 2025 01:15:57
Module end 'content'
Timing: Jan 31 2025 01:15:57
Script end

Main resources:

Total runtime0.0412 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 588.2578151.2266
Module start 'layout' 0.00600.0044 739.4844220.7188
Module start 'content' 0.01040.0291 960.2031997.8047
Module end 'content' 0.03950.0016 1,958.007829.9922
Script end 0.0411  1,988.0000 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00286.8054140.0002
Check MTime0.00112.6858140.0001
Mysql Total
Database connection0.00122.908810.0012
Mysqli_queries0.00297.107230.0010
Looping result0.00000.051010.0000
Template Total0.00112.810.0011
Template load0.00092.240310.0009
Template processing0.00020.510410.0002
Override
Cache load0.00061.579310.0006
General
dbfile0.009522.987380.0012
String conversion0.00000.019140.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