Stuff Relating to Drupal

How to import products into Drupal Ubercart with a Script

So, you've setup you brand new Drupal install with Ubercart, and now you want to import your products into the store's database. However, much to your disappointment, you can't find anything that tells you how to do that. As always, the lack of examples makes such a task seem impossible, but in reality it's very simple.

How to Create Drupal Nodes with a Script

One of the most power features about Drupal is it's API. Sometimes it's necessary to manually create content such as a story or page (aka: nodes) using a PHP program/script. The current documentation about this is very limited or hard to follow. So I provide complete instructions here. They have been tested in Drupal 5.x but they should also work in version 6.x without much modification.