Drupal Association members fund grants that make connections all over the world.
my module is using the insert hook to insert nodes of type question. now i wish to create nodes with out using a node form.
I am guessing i can just create a node object of type question programmatically , alter some of its propertys and then pass it to question_insert($node) to save it. i have found node_save but no method to freshly create node objects . i also found advice to use node_aggragator but i cant find it in the api.
Is this how i should create a node ?
What functions should i use to create the fresh node object ?
Once again thankyou for all the great help. :)