Hi,
I just installed the node_import module and now it's time to test it. Apparently there is a wizard to help with the import procedure, which is fine.
Eventually, though, I need to be able to import the nodes in an unsupervised way, would that be possible¿?
With my scenario, it would be even more elegant to use node_import before? here it is:
*cron calls php script
*php script queries and external database and extracts some data
*data is collected in a csv file
*node_import gets the file and adds nodes for each row in it
I wish I could skip al the php->csv->node_import and write directly into the drupal database...
Comments
Comment #1
neopoet commentedI would also be interested.
Comment #2
millenniumtreeI second this. Automated import would make my life so much easier.
Comment #3
jako0013 commentedSame here. I'm working on trying to accomplish this very same task.
Comment #4
drewschmaltz commentedI've sponsored a development of this, and the module is coming along great. E-Mail me at drew@imoria.com to inquire. If you are interested in helping me sponsor this development (the module is already usable, but will be getting some spiffy upgrades) - I will be happy to give you a patch that will make node_import drupal-5 and cron seamless as soon as today. I will also update you with patches as soon as they come in.
Comment #5
goodeit commentedawesome news, Drew! Will this support automatically updating nodes as well (or could it tie in with the work here)?
Comment #6
drewschmaltz commentedYep, auto update based on customizable criteria. (ie: if (this = that) {update or do not update node}) Haven't taken a look at the work there yet, I'll get back to you after I do.
To be specific, this patch can/will be able to:
Like I said in my previous post, about 3/4 of this is finished and ready go. Anyone who can help me fund the last 1/4 of it can have the patch as it is now (perfect for everything I listed except # 7). The faster I get the developer the money, the faster we can have this reviewed by the maintainer and get a patch, or updated module up there. Anything is appreciated, let me know if you're willing to help.
Comment #7
zeezhao commentedSounds great! Please do you know roughly how fast the automatic import performs e.g. how many nodes per minute for a given spec machine?
The reason I ask, is I want to know if some performance improvements were also implemented. Please see comments on:
http://drupal.org/node/270584
Thanks
Comment #8
drewschmaltz commented120 nodes per minute is about average. There were some tweaks made, and CCK is to blame for some of the lag, but when you get up 75,000 + it slows down to about 10 / minute.
EDIT: at first, it flies... maybe 700 - 800 / minute.
Comment #9
scottrigbySounds useful! are there currently any plans for a 6.x port? :) Scott
Comment #10
zeezhao commentedOk, thanks. I can help out with testing, if necessary. Please what's the current status of the patch for:
"5. Ability to upload straight from file in a folder already on server (default "files") ..."
Comment #11
asak commentedSubscribing (And very exicted about this!)
Comment #12
ianchan commentedSubscribing
Comment #13
akaserer commentedSubscribing
Comment #14
sammy-node commentedsub
Comment #15
asak commentedNow that everyone's here...
What/How much would it take to get this completed?
Comment #16
Vic96 commentedAny update on this? It sounds very promising!
Comment #17
roieki commentedI would very much want to see such an improvement to an already great module. Is anyone doing anything or is this thread dead?
Comment #18
okday commentedsubscribing
Comment #19
funkeyrandy commentedany updates on this...?
Comment #20
WoozyDuck commentedSubscribing ... Any updated on this?
Comment #21
dealancer commentedDrew, Let me help to accomplish automatic import, I need it too, very ugrent :)
Comment #22
pimentoski commentedsubscribing
Comment #23
dealancer commentedHi,
If i correctly understand problem you need to add new records in tvs/cvs file and then import it in automatically by node Import module via cron. If so, I had the same problem.
For solving that I have created new module Node import via cron, it requires Node import module.
User or bot should append content to the existent files for tasks automatically. And then it is imported via cron.
I hope it will be useful for you. Please test it.
Now I'm working on other module which can convert data from XML to CVS and even images. This is done is for only my case, but in future I'm going to implement that in general way.
Please write here your ideas.
Comment #24
Robrecht Jacques commentedSetting as duplicate of http://drupal.org/node/684512.
Comment #25
blogers commenteddealancer I need drupal 7 module for