Bulk / raw import

Author Message

Paul-Michael Agapow

Friday 16 July 2004 5:59:17 am

Transferring my old site (maybe 200 pages of plain old HTML, with a smattering of PHP and SSIs) to an ezPublish site promises to be an ardous task. Logically, the way to do a lot of it would be to import it directly into the database (something I did once with great sucess with a PHPNuke site). Any experience, advice or pointers? Secondly, this may work well for articles, but for binary files and images there may not be such an easy way. Ideas about that?

Thanks

p

Alex Jones

Friday 16 July 2004 9:51:25 am

I would recommend you search the forum for 'import' as there are several threads covering the topic. Also, a while back I posted some information regarding an import script. Check out http://www.ez.no/community/forum/developer/importing_update_entry_if_it_already_exists for more information

It is possible to attach images as well. Check out http://ez.no/community/forum/developer/import_image_into_existing_class

Alex

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

Main resources:

Total runtime0.0128 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.0043 588.0078151.1953
Module start 'layout' 0.00430.0024 739.203136.6328
Module start 'content' 0.00670.0047 775.835990.0313
Module end 'content' 0.01140.0014 865.867229.9922
Script end 0.0128  895.8594 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002116.5994140.0002
Check MTime0.00107.7202140.0001
Mysql Total
Database connection0.00054.221010.0005
Mysqli_queries0.002116.175230.0007
Looping result0.00000.195310.0000
Template Total0.00108.010.0010
Template load0.00086.101810.0008
Template processing0.00021.897510.0002
Override
Cache load0.00054.135410.0005
General
dbfile0.00021.932880.0000
String conversion0.00000.065140.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