S�bastien LANDEAU wrote:
Hello,
Just after I've created a new site, I'd like to import (in terms of structure of pages and data) data from an older portail a simple one, in static HTML pages (not a Jahia one).
I suppose that I have a directory structure and HTML files well formed in XHTML and I know how to extract all pertinent data.
--> So how to write this module from a Jahia point of view ?
Is the API capable to update page structure (Would I able to create new pages form a template) ?
Yes, but as I said in my previous mail it requires some understanding of the content model in Jahia. An introduction to the content model is available in the first draft of our new template guide :
http://www.jahia.org/jahia/webdav/site/jahia_org/shared/documentation/First_Draft_Jahia_Template_Developer_Guide.pdf
I also had some slides that showed an overview of the content model here :
http://www.jahia.org/download/documentation/jahiadev.ppt
--> Where do I place this module in the general architecture of code ? a JSP, a servlet, an independant code ?
I think the easiest would be in a JSP template, since you will then have access to all the content API without restrictions. It is harder to integrate from another servlet or independant code (although a bit cleaner :)).
Regards, Serge Huber.
