[opencms-dev] More questions on HTML import

Michael Emmerich emmerich at german-navy.de
Fri Dec 16 21:04:17 CET 2005


Joel,

> The HTML import tool seems to be fine if you want to get flat html files 
> into the repository and edit it as an html page. 

This is exactly what the HTML import tool was made for. Import a 
structure of existing HMTL pages and convert them into xml pages in 
OpenCms. Pictures and dowlloads are moved into galeries in OpenCms.
It does not support other content types like structured xml content. 
(Simply because this tool was written when there was not xml content 
yet....<g>)

 > What if you want to
> import content in as a certain content type?  For example, can you 
> import a set of files that you know should be of the type ‘news’ so that 
> the content would be editable in the news content form?  We are 
> migrating from one other content management system to open cms and this 
> would make the migration much easier.  I can provide the old content in 
> an xml format similar to what the ‘news’ content would look like.

Currently there is no "out of the box" tool for this in OpenCms. But it 
shoudl be not too difficult to write a little tool that can import your 
xml files if they already have the correct structure.

Regards,
Michael Emmerich

-- 
Home   : emmerich at german-navy.de
Work   : m.emmerich at alkacon.com
ICQ    : 18897063
WWW    : German Naval History http://www.german-navy.de



More information about the opencms-dev mailing list