I know I'm not the only one to have ever wanted this, but I've rummaged through lots of forum posts, with no success, so I'll have to ask.
I have several hundred simple documents of pure HTML. For each I want to create a Page in Drupal 6.x in some automated fashion. Each page should have a several taxonomy terms set. A Unix shell would be my way of solving this, something like:
magic-import-into-drual -file abc.html -tax 'group=xyz' -tax 'class=normal' -tax 'year=2008' etc etc
but I'm not that particular. I can do this by hand with lots and lots of mouse activity, but that is tedious and highly error prone. Someone must have done this before. I'd appreciate some pointers to those who've gone through this before. TIA
Comments
The only two existing
The only two existing options I can think of are http://drupal.org/project/node_import and http://drupal.org/project/import_html, neither one of which have d6 versions yet though.
===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime." -- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz
I've not used it myself, but
I've not used it myself, but if you're handy on the command line you might be able to make use of Drush in some batch scripts.
--
Ixis (UK): Drupal support, Drupal hosting.
Work Around Found
Once, again after a huge amount of searching on the web, I found enough tidbits to paste together a solution.
http://www.hps.com/~tpg/notebook/drupal.php describes what I did. It's not a general solution, but was good enough for me so I could pound in many many hundreds of pages with only a lot of work on my part. Sometimes I like Drupal, far too many times I find it waaay too hard to do things.
Anyway, the URL above will perhaps give others a coherent approach.