Adding data for CCK fields
Now there is the basic node object there is the task of creating the data for the CCK fields. At it's simplest, just
var_export($node->field_name) gives a good enough idea of what is in the CCK array. Checking anything that might be done on validation and submission is good too. To do this I've found it easiest to have a quick look at the
Here I am also parsing data out of the content to get it into the appropriate CCK fields. Much better having the data in the correct place!