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

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

eZ debug

Timing: Jan 30 2025 19:36:45
Script start
Timing: Jan 30 2025 19:36:45
Module start 'content'
Timing: Jan 30 2025 19:36:45
Module end 'content'
Timing: Jan 30 2025 19:36:45
Script end

Main resources:

Total runtime0.2159 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 588.3125370.2422
Module start 'content' 0.00600.0114 958.55471,005.6719
Module end 'content' 0.01740.1984 1,964.22663,894.6641
Script end 0.2159  5,858.8906 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00431.9997200.0002
Check MTime0.00120.5620200.0001
Mysql Total
Database connection0.00060.260310.0006
Mysqli_queries0.121856.40471410.0009
Looping result0.00150.69921390.0000
Template Total0.198191.810.1981
Template load0.00070.311310.0007
Template processing0.197491.445010.1974
Override
Cache load0.00040.203710.0004
Sytem overhead
Fetch class attribute can translate value0.00170.790210.0017
XML
Image XML parsing0.00030.123210.0003
General
dbfile0.00843.9067200.0004
String conversion0.00000.001830.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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