Import / export of articles into the EzPublish v3.x system .. scripts available??

Author Message

Jørgen Skogstad

Saturday 26 April 2003 11:58:22 am

Kindest ..

I am very satisfied thus far with EzPublish, but I have one question:

Is there any ways of importing and exporting articles through "feeds" in EzPublish. My given scenario dictates that articles from site A->Z is sent through email to an email alias which is parsed through a perl script (predefined xml format) .. the data should then be inserted into the EzPublish system .. and be available either asap .. or put into an aproval queue.

Have anyone done this .. and can anyone share any information on this. I would be extremely happy to help out making something like this as I am part of the developer comunity around Xmultra; a document processing thingie .. but that is based on ftp ..

.. more of the same anyways.

Would really apriciate any input!

Kindest,
Jørgen Skogstad

Gabriel Ambuehl

Monday 28 April 2003 8:23:11 am

I think the SOAP module could be used to trigger something like this automatically. Furthermore, I think I've read something about ez system implementing this for 3.1.

I think it wouldn't be very hard to implement it (maybe two days of work). So if you need to have it done now, I might do it (suppose I'd have to charge a reasonable fee though)...

Visit http://triligon.org

Gabriel Ambuehl

Monday 28 April 2003 10:13:28 am

Also look at http://ez.no/developer/ez_publish_3/forum/developer/datacollector_engine_using_soap_with_a_class

Visit http://triligon.org

Jørgen Skogstad

Wednesday 30 April 2003 2:29:11 pm

Neat stuff ..

I guess.. this could be pretty simple to do if you know the data structure of EzPubliush, but the problem is keeping it up to date. Why not use the same api more or less .. during import ..

.. define a xml structure that fits .. and execute php scripts to insert a given datafile into the system?

.. should be pretty simple .. and supported .. ??

Kindest,
Jørgen

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 21:38:24
Script start
Timing: Jan 30 2025 21:38:24
Module start 'layout'
Timing: Jan 30 2025 21:38:24
Module start 'content'
Timing: Jan 30 2025 21:38:25
Module end 'content'
Timing: Jan 30 2025 21:38:25
Script end

Main resources:

Total runtime1.2157 sec
Peak memory usage8,192.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0043 588.6250151.2734
Module start 'layout' 0.00430.0034 739.8984220.7656
Module start 'content' 0.00761.2073 960.66414,452.8516
Module end 'content' 1.21490.0008 5,413.515611.7500
Script end 1.2156  5,425.2656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2616160.0002
Check MTime0.00120.0994160.0001
Mysql Total
Database connection0.00060.047110.0006
Mysqli_queries1.123292.3929600.0187
Looping result0.00060.0488580.0000
Template Total1.164995.820.5824
Template load0.00220.177620.0011
Template processing1.162795.641320.5813
Template load and register function0.00150.122610.0015
states
state_id_array0.00200.167810.0020
state_identifier_array0.00170.135820.0008
Override
Cache load0.00190.1522250.0001
Sytem overhead
Fetch class attribute can translate value0.00230.187620.0011
Fetch class attribute name0.00200.168550.0004
XML
Image XML parsing0.00200.168020.0010
class_abstraction
Instantiating content class attribute0.00000.001160.0000
General
dbfile0.00330.2736160.0002
String conversion0.00000.000740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs