Fast way to add an article with images

Author Message

Oree Eyo

Monday 18 July 2005 1:38:40 pm

Hello.
I'm looking for the fastest way to let an editor add html pages to the articles sections.
These html pages were saved using MS Word "Save As html(filtered)"
The problem is the images.
msword creates a folder with all kind of images related to the html page.
On each html page there are 5-20 images. And it's ridiculous to ask the editor to upload and add them one by one.

I gave webdav a chance...
After uploading article.html and the article_files folder I've found that ezpublish treats the html as a file object and not as an article. (why?)
Even If I solve this problem. The images are related to "article_files/" e.g <img src="article_files/bump.jpg">

Is there another way to add a html file with images straight into the content system without uploading images one by one ?
Or any way to make ezwebdav add article objects?
Thanks...

Tuesday 19 July 2005 1:02:22 am

Hi,

Take a look at the OpenOffice extension:
http://ez.no/community/contribs/import_export/openoffice_org_extension

I guess it will fit the job perfectly.

Oree Eyo

Tuesday 19 July 2005 7:59:34 am

Thanks Hans, but that's not my case since I don't use OpenOffice...

I have these word html documents and have no access to their Doc files...

Bertrand Dunogier

Friday 05 August 2005 12:26:38 pm

Oree, I think it is not possible... so far at least, unless you write your own import extension :)

But can't you import these HTML archives as OpenOffice documents then use the extension ?

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 18:29:10
Script start
Timing: Jan 18 2025 18:29:10
Module start 'layout'
Timing: Jan 18 2025 18:29:10
Module start 'content'
Timing: Jan 18 2025 18:29:11
Module end 'content'
Timing: Jan 18 2025 18:29:11
Script end

Main resources:

Total runtime1.3031 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 587.9297152.6250
Module start 'layout' 0.00530.0033 740.554739.4453
Module start 'content' 0.00861.2931 780.0000547.2109
Module end 'content' 1.30170.0013 1,327.210912.1563
Script end 1.3030  1,339.3672 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2464160.0002
Check MTime0.00130.0999160.0001
Mysql Total
Database connection0.00070.051610.0007
Mysqli_queries1.253796.2121620.0202
Looping result0.00080.0610600.0000
Template Total1.270597.520.6352
Template load0.00200.155420.0010
Template processing1.268497.343720.6342
Template load and register function0.00010.010410.0001
states
state_id_array0.00250.188610.0025
state_identifier_array0.00210.160220.0010
Override
Cache load0.00170.1294270.0001
Sytem overhead
Fetch class attribute can translate value0.00070.050730.0002
Fetch class attribute name0.00120.095950.0002
XML
Image XML parsing0.00090.068230.0003
class_abstraction
Instantiating content class attribute0.00000.001050.0000
General
dbfile0.00090.0701160.0001
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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs