Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# D3grade 11/19/2007 12:59 PM
Hi Guys,

I have a requirement where by when an admin is setting up a site, i need to be able to let them point to another site within the installation and duplicate it's structure and content.

Could anyone sugest a way to do this? The main problems i see are the amount of processing this will take and just getting to content to duplicate.

Any help is greatly appreciated.

Matt
# gedw99 11/19/2007 2:33 PM
write a script which outs the DB to an XML structure.

then a script that taks the XMl structure and pumps it into a new instance.

Its just packaging like MS Word 2007 does. Thts he modnr way of dong it these days if you ask me :)
Lots of work though i know.

ged
# D3grade 11/19/2007 3:28 PM (edited 11/19/2007 3:30 PM)
Well i have written a cluster service which allows me to write xml files to generate nodes and sections (including connections) however i don't know how i could get it to do data, as each module could be completley different so it wouldn't be a standard structure.

Any sugestions?

Would i need to get my modules to implement an interface to be able to export and import data?

Matt