Creating a node programmatically.
The best code snippet I found about this:
http://drupal.org/node/178506#comment-1590834
Some people say is better to use drupal_execute(), but on my experience I would recommend to use the snippet above.
Post new comment