Hello,
what if one has a **lot** of html files (*), each of which should become a drupal node in an already built and categorized drupal site?
Is there any way to load them in the website automatically, with some shell script which prepares the mysql query and then feeds it to the mysql client from the command line?
This would be soo much faster than creating content from the browser, one node at a time :-(
TIA, O.
(*) assuming that the html has been previously cleaned up of bogus codes and tags by another script, of course
I haven't used it, but you may want to check out http://drupal.org/ node/46008
Ray
On Jun 16, 2006, at 11:27 AM, dondi_2006 wrote:
Hello,
what if one has a **lot** of html files (*), each of which should become a drupal node in an already built and categorized drupal site?
Is there any way to load them in the website automatically, with some shell script which prepares the mysql query and then feeds it to the mysql client from the command line?
This would be soo much faster than creating content from the browser, one node at a time :-(
TIA, O.
(*) assuming that the html has been previously cleaned up of bogus codes and tags by another script, of course
-- [ Drupal support list | http://lists.drupal.org/ ]
Check the contributed modules for your version of Drupal. There are a number of modules using different approaches for importing existing content using CSV, XML, etc. Something there may be a good fit for what you have.
Best, Laura
On Jun 16, 2006, at 9:27 AM, dondi_2006 wrote:
Hello,
what if one has a **lot** of html files (*), each of which should become a drupal node in an already built and categorized drupal site?
Is there any way to load them in the website automatically, with some shell script which prepares the mysql query and then feeds it to the mysql client from the command line?
This would be soo much faster than creating content from the browser, one node at a time :-(
TIA, O.
(*) assuming that the html has been previously cleaned up of bogus codes and tags by another script, of course
-- [ Drupal support list | http://lists.drupal.org/ ]