On Thu, Feb 5, 2009 at 3:37 PM, M. Fioretti
<mfioretti@nexaima.net> wrote:
The only problem is that to write such a script one needs to know in
advance:
- the exact sequence of URLs to call (isn't this documented anywhere
but in the source code itself?)
- a list of the names and admissible values of all the form variables
to pass to curl when it calls each one of those URLs. (**)
You need to know the fields in the form to create the node type you want to create. You put the data in $form_state['values'], just as is passed into, hook_form_alter(). You can get that by writing a hook_form_alter() function that calls var_export($form_state['values'], 1);