Module: Transfer Full nodes from a drupal site to another drupal site

Events happening in the community are now at Drupal community events on www.drupal.org.
3emad's picture

Hello All,

I had been working for couple of days on a module that would allow me to transfer nodes from a Drupal Website to another drupal site (for now).

which includes a full node save along with terms,files and CCK extra fields.

its really been a headache since i started patching the method "taxonomy_node_save" in "taxonomy services";
i have done the step of save a node (piece of cake) but now into the terms problem hence the NID of the new transferred node needs to be send to the remote server.

ill keep you updated guys on it and might release a contribution soon.

if any is interested,please let me know.

Comments

yes please

timoti's picture

this is exactly what I'm looking for right now (that's how I found you)

In my situation, i want to be able to mash up development work on several sites - IE pull nodes (with custom content types), and ideally users as well, from one drupal site into another 'forked / templated' site that has a fuller build that I can make use of. Hope that makes sense?

one planet, one chance

one planet, one chance

Been away!

3emad's picture

Hey tim!!

an alpha version of it and works well to Push nodes to another server.

my module works to "PUSH" chosen nodes for the both sat up sites.

anyhow,you gave me a new idea to enable the option "Pull" from a server....and enable multiple sites ^^

i wish i have more time to modify the module, why not help the module i made and we can release it?

domain access?

chicagomom's picture

Just wondering if you could outline the difference between this and the functionality provided by the Domain Access module.

chicagomom on Twitter and d.o.

Different Databases

3emad's picture

Domain Access: a group of affiliated sites from one Drupal installation and a single shared database"

The module objective my module is "the ability to transfer content from a websites to another each with its separate database "

excited!

3emad's picture

i'm a lil excited!! (jumping around) hope contributors will help here,i believe this module will be helpful for Content Sharing!!

you can enable you site to be a content provider for different Drupal sites through your own website with a friendly administration ^^

How's it going?

nilocj.d's picture

Hi 3emad, have you progressed any further with this? I'd be willing to help get this module developed.

been away ( Again )

3emad's picture

Hey Nilocj,

Sorry i have been busy with moving from Jordan to Toronto, ill be reciving my laptop on the 20th!!
as soon as i get it ill be uploading it as a project so we would start working on it.

Hi I thought I would butt in

Dave Kinchlea's picture

Hi
I thought I would butt in here, from what I have been reading via multi-site setups, mine is unique. I share large parts of the database between otherwise disparate sites. This includes node and node_type but that is really because there didn't seem the easy ability to move content between sites. Sounds to me like that is exactly what you are doing with this idea and so I would like to offer my support as well.

President & CEO, Global Alliance of Trusted Experts
http://www.gatevillage.net -- South-Western Ontario's Drupal Community Building Site

Me too!

DeeZone's picture

Sounds like an interesting project and functionality we could use. We're watching you - good luck in your efforts.

Motivation!!

3emad's picture

This is a motivation on how many ppl are interested and supports which gives the project one of my 1st priorities along with getting a full time job here in Toronto ( only been 10 days and got my SIN! )

Back in the office...

nilocj.d's picture

Hello - I'm around again now and have been experimenting with node transfer using xmlrpc. I have 2 functional modules now (master and slave) but they need a lot of work. Let me know when you are ready to get started :) will be very interested to see how you have gone about transferring nodes!

This is very exciting, any

cgjohnson's picture

This is very exciting, any updates?
thanks

Encouragement

NoCoolNamesRemain's picture

I also would really like to have the ability to move nodes from one Drupal installation/database to another. Also welcome to Canada 3emad!

I myself would like to know

_gramur's picture

I myself would like to know if there has been any progress on this module. Would this module also include the ability to transfer images as well?

I'd suggest looking at the

IncrediblyKenzi's picture

I'd suggest looking at the Deploy module along with the features module as a combo solution. Features allows you to package up content types along with views and other configuration as a deployable "module" that can be sync-ed as new changes come in.

Deploy module allows for portability between drupal sites using the services module. it includes some subset of functionality of features, though I'm unclear which does this better.

expect release within the next week!

3emad's picture

I can have Deploy module as my reference since my approach is way simpler and slightly different.

node Transfer is about Pushing and Pulling nodes along handling the new taxonomy or content types with their files; more of exchanging content and frienldy UI controls.

I have sat my development server so ill be working on it full time now days.

Please expect it within the next week, I'll need your reviews.

I'm curious how you will make

gdd's picture

I'm curious how you will make this work in a simpler manner than Deploy and with a friendlier UI. I anxiously await your work.

seems interesting module, any

rami.sedhom's picture

seems interesting module, any updates even for dev release for testing?

hey, any action on this?

mwinchina's picture

This looks great. We have two sites that share a similar architecture, both with Events nodes.

we want to give the user of one site the ability to post their events in one site with a check-box that allows them to cross post in another.

I wonder if this project would be able to do this?

node export/import vs cross-post?

wmadryga's picture

I don't think you want to clone the entire node in this case. You are giving the user the ability to select one posting to copy. Your requirement seems more like an AJAX or API function to echo the posting to another site. If both sites/databases are on the same server you could echo the posting internally, but that would not be very flexible. What you really need is a site-site echo API, sort of like the Facebook Login.

Dropped my 1st code

3emad's picture

wmadryga, your talking about opengraph api?

I'm still looking around for the best implementation. i dropped down my 1st code after benchmarking it cause it was ridiculously slow ( retrieving nodes > 10000 from server to server )

I'm still researching for better ways to implement, please let me know if you have any idea's or technologies in your mind i can use to make the process faster.

Did you ever got something out of this?

scuba_fly's picture

I'm looking for something that is similar. Currently thinking to update the other database on hook_node_insert / update / delete.

In my case my sites use a shared database server so I'll just switch databases but I think this could also be used with an API implementation.

The only thing you need to do is transfer the nodes that are already in the system, but that could be done in a cron job doing some nodes at the time.

But then I see the last post is from december 15th in 2010 so not sure anyone got any further here...

In the past year we've done 3

dalin's picture

In the past year we've done 3 big sites where content is created centrally and then deployed to other sites using Deploy module, UUID, UUID Redirect, Features, and a lot of glue code. Here's one of them:
http://www.bluedropawards.org/best-government-website/nominees/us-depart...

--


Dave Hansen-Lange
Director of Technical Strategy, Advomatic.com
Pronouns: he/him/his

Done this with Deploy & Incremental Deploy Modue

Anonymous's picture

I have implemented the automatic deployment on very big news site using Deploy,Uuid,Incremental Deploy and with some custom code.

Require Suggestion

rksadit's picture

Hi,
Is there any such modules in drupal 8, where we can share contents in between multisite with different database? OR any idea how to achieve this? I created multisite with 2 database, if i want to share content from one site to other.

AI/Drupal Toronto

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: