By StuartDH on
Using D6, I've created a CCK content type that I'd like to mass create dozens/hundreds of nodes, each one being only different by a few taxonomy terms/cck fields.
Ideally, I'd like to choose the content type, select how many copies I need, then using an editablefields table view - http://drupal.org/project/editablefields -scan down the rows and choose different content taxonomy or fields for each row/node
auto-nodetitles - http://drupal.org/project/auto_nodetitle - can then create a different title for each node based on the taxonomy/field choice etc.
So my question is, is there a module to mass create empty nodes or do something like the above?
Thanks
Stu
Comments
_
I don't know of any module for this, but maybe http://drupal.org/project/taxonomy_multi_edit and/or http://drupal.org/project/views_bulk_operations modules might be helpful.
===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz
Thanks, I've had ago with
Thanks, I've had ago with each of those modules, but can't seem to find anything that mass create nodes.
I was wondering how people must create music catalogue type sites with hundreds of albums, each with 10+ of songs.
Starting with the albums, it would be great to have 20 categories, one for each artist, then use a module to auto-create 100+ empty album nodes. edit them in a view to put them in the relevant artist category and add the album title etc, all on one page...and after half an hour you've got a hundred new nodes.
Next, auto-create hundreds of empty song nodes and again usinga single editablefields view on one page quickly select the album from drop-down, maybe enter the track number, song time etc
At the moment, I'm creating a node + submit, create another node + submit,...etc. So I'm thinking there must be a quicker way than this.
I can actually do it using a spreadsheet, then importing 1,000+ nodes via a csv in a few minutes, but I can see tons of opportunities for other users to quickly create drupal content if it could all be done without the need for MS Excel & import
Stu
_
You can also do it programmatically, but I've not tried it yet. See http://drupal.org/node/178506
===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz
crikey, thanks, there's some
crikey, thanks, there's some good info in that page. while the code has gone over my head a bit, from what I can tell it certainly looks like it would create the same sort of results...shame it's not nicely packaged in a module, I think it'd a be very popular feature for drupal
Thanks
Stu
Not sure if it's what you
Not sure if it's what you want exactly (and I know this is an ancient post), but you should try the "devel generate" module in http://drupal.org/project/devel . You could then change the values for the content fields you're interested in directly in mysql.
Just in case someone stumbled
Just in case someone stumbled across this later, the solution would be the Feeds module.
It can create many types of objects from spreadsheets (CSV's), such as users, nodes, and data tables (when used with the Data module).
Node Import
...or, for D6 and much simpler to set up: Node Import.
However, in many cases even this is too much overhead. Something like Taxonomy Manager's "mass adding taxonomy terms" feature, just for for quick bulk creating a couple of dozend nodes, would come handy ("bulk add nodes" from a simple text field)...
Another option I'm using regularily is the Node Clone module. It adds an "Clone" tab to the node, and can be used for some kind of primitive templating.