Setting terms for inserted nodes
Last modified: February 19, 2008 - 03:56
you probably want to assign terms to the inserted nodes. You can do this by hand in mysql. The following attaches the term with term id 1 to all the nodes (whose node ids I determined by some characteristic of the nodes themselves, using a select statement).
%mysql -ppassword drupal
mysql> insert into term_node select nid, 1 from node where nid >= 6 and nid <= 83;