On Sun, January 4, 2009 9:39 am, M. Fioretti wrote:
Greetings,
I would like to ask all Drupal developers where to find the info to... write a shell script which takes as input an HTML file and other parameters (title, category, etc...) and then, using curl and the POST method, logs into a Drupal website, adds a node with that text and parameters, logs off and returns the complete URL assigned by drupal to that page.
I would just like to thank all the developers who answered, either here or privately. I haven't found a solution yet, primarily because I didn't explain myself clearly, sorry for the confusion. When I wrote "shell script" above, I didn't make clear that I am (almost) only interested in shell running remotely, not on the server which is running drupal. The tips and pointers I got are less useful (=require more extra tweaking to work) in such a context, so I *think* I'll retry, when I have again time, with the bash+curl approach Thanks anyway for the info, it was quite useful to learn something on how drupal works and is developed. Ciao, Marco -- Help *everybody* love Free Standards and Software: http://digifreedom.net