eZ Community » Forums » Setup & design » import data from my old authoring CMS
expandshrink

import data from my old authoring CMS

import data from my old authoring CMS

Monday 19 October 2009 10:16:20 am - 9 replies

How to import data from my old authoring CMS into eZ Publish 4.2?
Maybe it sounds boring for some of you pros but I need some tips on how to start with the above topic. Data Import extension is not compatible anymore (it tries to use ezxml, which is depreciated). Also other extension are old and useless. Is there any way in the core? I don't see it in manuals. Overlooked?

Any help would be greatly appreciated.

Monday 19 October 2009 4:41:02 pm

Hi Chris,

look here

On command line (php-cli).
Björns import framework XML http://projects.ez.no/import
or Philipps data import XML http://projects.ez.no/data_import
and CSV: http://svn.ez.no/svn/extensions/csv/
and more info in the thread:
http://ez.no/developer/forum/deve...ic_csv_import_extension_who_owns_it/

and I have a eZ Publish 4.x version of http://projects.ez.no/coolzipimport , there was no time to publish it yet, I far as I know Jorge estévez is using it very heavily in combination with an other script with text content.

I can send it to you via email, if you need it.

Greetings ekke

Monday 19 October 2009 8:18:39 pm

Hi Ekke,
I'm still (well... again) interessted in a 4.x-Version of coolzipimport...
If you wouldn't mind sharing it, can you send it to me by e-mail?

Thanks,

Marco

Monday 19 October 2009 10:12:33 pm

@Marco,

sorry, I forgot you posting a year ago, check you inbox blunk.gif Emoticon , please tell me, what you think, then I'll publish it soon (hopefully)

Greetings, ekke

Modified on Monday 19 October 2009 10:15:56 pm by Ekkehard Dörre

Tuesday 20 October 2009 9:50:29 am

Hi Ekke,
Thank you for your support. I check these solutions you provided me. I didn't even know about them (but been searching).

You've just helped to Polish Government happy.gif Emoticon

Cheers,

Chriss

PS. The forum thread you provided is not accessible sad.gif Emoticon

Tuesday 20 October 2009 1:12:13 pm

Hi Chris,

the forum thread:

http://ez.no/developer/forum/deve...ic_csv_import_extension_who_owns_it/

Chris wrote:
<i>
You've just helped to Polish Government happy.gif Emoticon</i>

It is a pleasure to help neighbours blunk.gif Emoticon

Greetings, ekke

Thursday 22 October 2009 11:53:16 am

EDIT:

OK, another stupid question I cannot find answer to.

1. I installed Import Framework extension in /extension folder
2. copied extension/import/example/example.php file to eZ root
3. I run the file and see this error:

PHP Fatal error:  Class 'eZPersistentObject' not found in /var/www/html/kk/import/kernel/classes/ezcontentobject.php on line 40

4. After I corrected include path in the above file I saw next message:

PHP Fatal error:  Class 'eZDebug' not found in /var/www/html/eztest01/kernel/classes/ezscript.php on line 173

I found eZDebug class declaration in /lib/ezutils/classes/ezdebug.php so it seems like another include path is wrong - what I can't believe.

Please help!

Modified on Thursday 22 October 2009 4:19:54 pm by Chris K

Monday 26 October 2009 12:14:22 pm

Really no idea, what's wrong here?

Any help would be very appreciated.

Monday 26 October 2009 6:01:54 pm

Hi,

Have you tried ezpublish csvimport script ? ,

You can try it running this at your site root :

php bin/php/ezcsvimport.php --help

It works very well for straightforward import of CSV data into ezpublish

Regards

Monday 26 October 2009 10:56:14 pm

There is a very, very useful firefox extension called IMacros. Look it up. Basicly what you do is, start recording, open original site page, create new page on new system, copy data, publish, stop recording.

Then have a look at created script and modify it to read list of original page url's (id's etc) from csv file. A bit of manual reading plus head scratching and you can watch your firefox go absolutely nuts and copy everything to new site at lightspeed happy.gif Emoticon

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from