Closed (fixed)
Project:
Node export
Version:
6.x-2.17
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
3 Oct 2009 at 02:24 UTC
Updated:
25 Oct 2009 at 21:50 UTC
I have a few thousand nodes to export. Is there a way to export to a text file on the filesystem directly instead of to a textbox?
Comments
Comment #1
danielb commentedI've been thinking about this, the idea came up in another issue - but I haven't had a chance to do anything about it yet. It shouldn't be too hard, I have a similar feature in one of my other modules.
In the meantime, you could call the function that does the exporting and make a file thing yourself somehow :/
Comment #2
arcane commentedOk, I can try that, which function does the exporting?
Comment #3
danielb commentedhmm! there isn't really a nice function for this, a few things will have to change I guess
the code for it would be
something like that
Comment #4
John Carbone commentedIn the same boat here. Few thousand nodes to move. Definitely would be a great add-on feature. Firefox tanks pretty hard when copying and pasting anything over about 200 simple nodes.
Awesome module though, thanks for sharing it.
Comment #5
danielb commentedI've added text file support to 6.x-2.17, you just have to turn it on in the config.
Comment #6
arcane commentedThanks I'll take a look!!
Comment #7
arcane commentedI unpacked the new tar file over the old directory, and saved the new settings (I used the defaults). I get the following error when i try to do an export:
Cannot redeclare node_export_settings() (previously declared in /var/www/dev.mysite.com/public_html/sites/all/modules/node_export/node_export.module:242) in /var/www/dev.mysite.com/public_html/sites/all/modules/node_export/node_export.pages.inc on line 77, referer: http://dev.mysite.com/admin/content/node/overview
Comment #8
danielb commentedDisable the module, delete the module completely, add the new module back, renable.
Comment #9
darrellduane commentedThanks for adding this functionality in, we also have a lot of data we're working with and its great to handle it outside of the browser.
I'm getting these errors now that I've upgraded:
Warning: Call-time pass-by-reference has been deprecated in C:\Drupal-6.14\sites\all\modules\node_export\node_export.module on line 263
Warning: Call-time pass-by-reference has been deprecated in C:\Drupal-6.14\sites\all\modules\node_export\node_export.module on line 276
Comment #10
danielb commentedthanks
Comment #11
John Carbone commentedOh wow, that's awesome!! I wish I'd checked this thread sooner... I just finished my import (copy and paste style) this afternoon. Doh! : ) I'll have to keep it in mind for future use though. Thanks again danielb.
Comment #12
arcane commentedThanks danielb, works like a charm!!