On Feb 27, 2008, at 12:08 AM, Jan Haderka wrote:
Jan Haderka wrote:
The other option is to write and register import handler for data
module
and have it start the import shortly after your instance is up and
running and all types are registered already.
ok, it seems that it will be the best way, that I will implement
my own import handler. Could you give a little hint how I could
do that?
Have a look at info.magnolia.module.data.samples.DateTimeImportHandler
It is a sample import handler that creates a node with current
Date&Time
in the data repository when it runs.
HTH,
Jan
I think that the data module should really have some kind of
mechanism built-in to handle this. perhaps it can look in the
classpath for a directory mgnl-bootstrap/data/ and load in all the
data from there when it is run?
One of the strengths of magnolia IMO is the ability to easily backup
everything to XML and then easily boostrap that content back in on
another machine (or the same machine) - it makes syncing a
development instance with a production instance a piece of cake.
Has anyone come up with an easy solution yet?
Ryan
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------