Hello,

this is an alternative approach to the question I asked here:

http://drupal.org/node/62954

Can that be done with a mysql script? That is, imagine I have an ASCII template like this:

##################################################
ARTICLE_CATEGORIES="travel/england/london, food/foreign/restaurants"
TEXT="path/to/some/html/file/on/my/computer"
CREATED_ON_DATE="YYYY/MM/DD"
AUTHOR="John Doe"

etc etc.... (other variables like, for example, "create_a_forum_for_this_node")

##################################################

how do I convert that to a mysql statement(s) which can be directly fed to mysql on the
command line, and will insert a new node with teaser, autor, category, whatever.....
just like if I had done it from the admin page via a browser? Escaping any weird character,
quoting....

Is this documented somewhere?
Do scripts for this already exist?
Are there any caveats, security holes, whatever... in this approach?
Can it work while the site is running?

TIA,
O.