CVS messages for Book Import
March 5, 2006
-
- added import options to deal with import of PHP code - refactored interface to use validate/submit model - make sure variables are properly initialized - added watchdog logging - changes to invocation of drupal_xml_parser - remove file_check_upload()
March 2, 2006
-
- Added code to parse teaser elements - Added parameter to control how to deal with import of PHP pages (this is passed through to the element handlers)
January 28, 2006
-
- wrapped 'foreach()' loop in make_links() in a test to ensure array is nonempty (fixes bug http://drupal.org/node/46708) - deal with bug where creating a new book containing a 'new node' - one with no nid - confuses 'make_links()'. This happens because the new node has no original nid; thus there is an entry [] => new_id in the array $new_nid. But when we look up the parent of a root node, it is empty, and when we look up the corresponding new nid, we get the new nid of the new node, rather than the root node. - renamed utility functions to avoid name collisions - refactored function definitions to remove $new_nid and $parent_of params - moved global arrays $new_nid and $parent_of into this file, since these are used here and only here. -
- applied fix for bug http://drupal.org/node/46698 supplied by jsloan - thanks - removed global arrays $new_nid and $parent_of to file save_node.php
January 27, 2006
-
- updated INSTALL and README for new version of bookimport.module
-
- corrected incorrect function call: get_md5() should be get_md5_body() - corrected name of field: nodetype rather than type - changed order of assignments to fields to match the order in which they appear in database tables - updated code to match new behaviour of node_save() (nid is not returned now) - refactored update, insert cases into functions for ease of maintenance - use node_save() rather than doing updates to database tables by hand - fixed some bugs with variables not being properly initialized prior to use in database queries -
- updated to use the 4.7 Forms API - some cleanup of code (variable names, better comments) -
- updated node class to reflect new node structure in 4.7 (new node_revisions table) - rearranged order of fields and functions to reflect order of fields in database
November 28, 2005
-
- Fixed up help/documentation
September 2, 2005
-
Book Import: /modules/bookimport/bookimport.module 1.1
Book Import: /modules/bookimport/contrib/explode2dir.php 1.1
Book Import: /modules/bookimport/contrib/outline.php 1.1
Book Import: /modules/bookimport/contrib/tidy-traverse.pl 1.1
Book Import: /modules/bookimport/drupal_export_parser.php 1.1
Book Import: /modules/bookimport/INSTALL.txt 1.1
Book Import: /modules/bookimport/LICENSE.txt 1.1
Book Import: /modules/bookimport/node.php 1.1
Book Import: /modules/bookimport/README.txt 1.1
Book Import: /modules/bookimport/save_node.php 1.1Initial checkin
