[development] Mass node create module

Rob Barreca rob at electronicinsight.com
Mon Jul 2 21:03:24 UTC 2007


Try using drupal_execute() 
(http://api.drupal.org/api/5/function/drupal_execute) to simulate the 
submission of a node form.

-Rob

Bob wrote:
> Ah, this isn't for dud nodes though. This is to add, say, 20 nodes
> each just with a title and a couple of sentences, for instance, and
> for general users to use.
>
> I guess i'd better get typing :)
>
> On 02/07/07, Larry Garfield <larry at garfieldtech.com> wrote:
>>
>> The devel module has a "generate" module that can generate a bunch of 
>> dud nodes, comments, users, etc. for testing purposes.
>>
>> --Larry Garfield
>>
>> On Mon, 2 Jul 2007 19:00:16 +0100, Bob <anarchybob at gmail.com> wrote:
>> > Does anyone know if there's a module that can be used to generate a
>> > large number of nodes at once, perhaps 1 per line with much reduced
>> > options?
>> >
>> > It'd come in handy for a lot of CCK stuff I want to do with simple
>> > information where you don't need all the menu, input format etc boxes
>> > for everything.
>> >
>> > If not, I'll make one, but just wanted to check I wasn't duplicating
>> > effort first.
>> >
>> > Thanks!
>> >
>> > Bob
>> > xx
>> >
>> > --
>> > Those who do not move, do not notice their chains.
>> >
>> > phone: 0774 3917404
>> > skype: daresbalat
>> > msn: bobulatorm at hotmail.com
>>
>>
>
>


More information about the development mailing list