<?php
$node = somefunction();
dprint_r($node);
node_save($node);
// This doesn't update the existing node
/*
This is a dprint_r($node) results:
stdClass Object
(
[type] => library_items
[title] => The biographical dictionary of women in science : pioneering lives from ancient times to the mid-20th century
[status] => 1
[comment] => 0
[promote] => 1
[moderate] => 0
[format] => 2
[uid] => 1
[name] => admin
[log] => Imported automatically by Millennium module on date 5:21:19 pm
[teaser] =>
[body] => HOLA HOLA HOLA!
[millennium_biblio_data] => Array
(
[lcc] => Q141 .B5285 2000
[notes] => Includes bibliographical references and indexes<br />
v. 1. A-K -- v. 2. L-Z<br
[links] =>
[item_description] =>
[type_num] => 100
[type] => Book
[title] => The biographical dictionary of women in science : pioneering lives from ancient times to the mid-20th century
[short_title] =>
[alternate_title] => Women in science
[translated_title] =>
[authors] => Ogilvie, Marilyn Bailey; Harvey, Joy Dorothy
[corp_author] =>
[edition] =>
[isbn] => 0415920388; 0415920396; 041592040X
[issn] =>
[series] =>
[imprint_place] => New York
[imprint_name] => Routledge
[imprint_date] => 2000
[lang] => English
[item_recnum] => i4673612
[imprint] => Routledge, New York : 2000
[url] => http://www.consuls.org/record=i4673612&searchscope=0
)
[taxonomy] => Array
(
[tags] => Array
(
[11] => Book,Biography,Dictionaries
[10] => Women scientists
)
)
[nid] => 1197
[created] => 1227136879
[validated] => 1
[is_new] =>
[changed] => 1227136879
[timestamp] => 1227136879
)
*/
?>
Comments
Post new comment