Jan Haderka ha scritto:
How many public instances do you have?
Hi, Jan, we are working on 1 author and 2 public (but in future maybe 3
or 4...) so I think the XA activation must be kept turned on...
Other option would be to change the extraction rule and activate content
in bigger chunks rathern then piece by piece ...
Can it be done programmatically? How?
OTOH if you rely on
observation to start your activation it might not be possible for you
(Since you get notifications one by one for each piece of content).
This is my case: one notification for each added node...
Possibly unrelated, but I'd like to know why do you activate nodes from
data module by observing the changes and then reacting on that, rather
then setting "activateImport" of your import handler to "true"?
We have an external data source that periodically syndicates to our
author instance. Every night an http request is done by an external
agent and an update procedure is started within a listener, parsing the
request and adding nodes. It is not done in standard SV XML, because we
don't have access to the request caller, so we must keep the original
XML format.
In this
case it would be import handler activating your content once the import
is done and since it knows of all the content that needs to be pushed to
public, you might be able to push it more effectively from there.
I need more info on that, I've not yet manage this object before... but
yes, I agree with you, "on paper" it sounds better than my previous choice.
Yet another option that comes to my mind is that you can run the import
on both, author and public instance so you don't need to activate data
nodes at all, but that depends on what you are actually doing with those
data nodes and whether they aree referenced by uuids or by path only.
They are referenced by uuid, so I must kept them related.
Cheers,
Jan
Thanks a lot, Jan!
If you have time, can you give me more info on how to import data
programmatically? Only on thing, I can not reproduce (for now, but if
the next time budget will let me, I'll do!) the SV XML generation.
Matteo
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------