Thanks for answering Henri.

That's right I have static HTML files more precisely I have around 10 000 HTML files in differents folders. The layout of my pages are quite poor so it can be easy to separate the layout from the content using BODY tag. But is there a more efficient way to import the files into the database or to link my folder to my site tree ? For example a virtual topic that replace <[content)> by an html file located in my FileSytem ?

Cheers

Andry

Henri Kaukola a �crit :

Hello Andry,

Andry RAZAFINJATOVO wrote:

Hello the community

I hope this question wil be most answered than the others.

I am studying different OpenSource CMS offers and I am interrested in Midgard and midcom.
I have a lot of different websites and I want to import (or link) them in one unique site powered by midgard/midcom. It will allow me to have a unique look and feel and a unique tool to administrate them.


How can I do that ? (importing my html pages into the mysql database ?)


So, you have static HTML files, right?
Are there any tags that could separate page's main content
from the layout?  If not, you're facing some serious
copy-pasting sessions. If you're able to parse through
the files, I'd recommed you create one root topic and
start inserting topics (one topic per directory) and
articles (one article per HTML file) underneath it.

So, you need HTML parser (to separate content) and
the Midgard end which generates topics and articles.
This all can be done by separate PHP application
but I'd recommend creating the app to a Midgard page
(i.e. In Aegir go to Web sites and create a subpage).

Thanks in advance for your help


Not a problem. I know the explanations are
pretty vaque but that should get you started.
And I'll be happy to help you further as you proceed.

Cheers!

//Henri

Regards

Andry.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]




--
----------------------------------------
- Andry RAZAFINJATOVO -
- BULL SA -
- Echirolles France -
- Open Support - ----------------------------------------




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to