Currently, I have a 8 sub-directory multisite installation. I want to be able to export "event" content type nodes from ONE site (example.com/shared) and then import them to automatically (with cron) to all the other sites (/alumni, /admissions, /support, etc.). I can do it manually, but is there a way to schedule this job to do it? Maybe post to a local file: example.com/shared/exported/file.xml - then I could use that absolute URL to import the nodes (can that be scheduled too??).

Thanks,

Alex

Comments

danielb’s picture

Category: support » feature

Nope, unless it's possible through Features, Feeds, or Drush, and I just don't know about it. Feel free to use this issue to discuss your ideas for such a feature, how it would work, code samples, patches, etc..

danielb’s picture

have you ever used a module that uses job scheduler? http://drupal.org/project/job_scheduler
i haven't but it might be the sort of thing to use

danielb’s picture

Maybe post to a local file: example.com/shared/exported/file.xml - then I could use that absolute URL to import the nodes (can that be scheduled too??).

Can you elaborate on how that would work? You'd need one site to connect directly to the other right? I'm thinking there would have to be some sort of security feature like a secret password that both sites know about or this could be misused.

danielb’s picture

Status: Active » Postponed (maintainer needs more info)
danielb’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

Since this was originally a support request, the basic answer is... no that isn't available in node export (unless one of the integration modules provides this).
For a feature request I would need something more to go on, like a strategy on how to approach this.
The idea of automatically pushing nodes to another site has been addressed before, and in fact a module was added to this project to provide that functionality, however it was removed due to security concerns.
I'm happy to revisit this idea if there is more meat to it, but for now I don't see this going anywhere as I have no motivation to get something like this off the ground.