[development] what's the best way to create nodes from code?

William Smith william.darren at gmail.com
Fri Oct 30 15:58:28 UTC 2009

Look into drupal_execute, although I often tend to create my node object
explicitly and go via node_save, depending on the task.

On Fri, Oct 30, 2009 at 11:53 AM, Zhang Xiao <xellzhang at gmail.com> wrote:

> Hi,
> I have a batch of nodes need to be created from code, which function should
> i use as an entry?
> thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20091030/0b06dae0/attachment.html 

More information about the development mailing list