Import content via RSS (or Curl)

Author Message

Michael Hall

Monday 17 March 2008 3:52:51 pm

I read somewhere on this site about the possibility of importing content via RSS into EZP. I'm using v4. I'm interested in the bulk import of image objects into a gallery. Is this possible using RSS, and if so, are there any references about doing this?

Otherwise, could I use curl to import the data by submitting it through web forms?

Michael Hall

Friday 21 March 2008 2:37:59 am

Couldn't find anything useful about bulk image imports into gallery using RSS, so I wrapped a few Curl commands in a Python script which reads image data from a CSV file ... works well.

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

Main resources:

Total runtime0.5425 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0044 588.0313152.6406
Module start 'layout' 0.00440.0028 740.671939.4766
Module start 'content' 0.00710.5340 780.1484421.6406
Module end 'content' 0.54110.0014 1,201.78918.1406
Script end 0.5425  1,209.9297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.5593160.0002
Check MTime0.00130.2419160.0001
Mysql Total
Database connection0.00060.109710.0006
Mysqli_queries0.509193.8342520.0098
Looping result0.00040.0827500.0000
Template Total0.517895.420.2589
Template load0.00190.352220.0010
Template processing0.515995.084420.2579
Template load and register function0.00030.063610.0003
states
state_id_array0.00070.133410.0007
state_identifier_array0.00060.112820.0003
Override
Cache load0.00160.290070.0002
Sytem overhead
Fetch class attribute can translate value0.00160.299510.0016
Fetch class attribute name0.00130.246720.0007
XML
Image XML parsing0.00010.020810.0001
class_abstraction
Instantiating content class attribute0.00000.001520.0000
General
dbfile0.00090.1589100.0001
String conversion0.00000.001540.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 6
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs