I may have done more than I needed to, so here's a complete zipped replacement that works in D5. You need to remove the ".txt" extension and then upzip it into your working modules directory.

CommentFileSizeAuthor
bookimport.zip_.txt19.3 KBnancydru

Comments

saml’s picture

Thanks!

cestmoi’s picture

Title: Bookimport 5.x version » Bookimport 5.x version errors in Drupal 5.5 not in 5.3
Category: feature » bug
Priority: Normal » Critical

using the bookimport 5 & Drupal 5.5

Thanks for this nice module. while it worked great in drupal 5.3 it is not keeping the parent child relationship in drupal 5.5 and im having this error (it is still importing all book pages but as said all as orphan pages - because I have over 100 children pages, updating them manually would be a nightmare):

user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LEFT JOIN i18n_node i18n ON n.nid = i18n.nid WHERE (i18n.language ='ar' OR i18n' at line 1 query: UPDATE book SET nid=441, parent=555, weight=0 LEFT JOIN i18n_node i18n ON n.nid = i18n.nid WHERE (i18n.language ='ar' OR i18n.language ='' OR i18n.language IS NULL) AND ( vid='441' ) in C:\Program Files\EasyPHP\www\drupar\includes\database.mysql.inc on line 172.

I don't have this problem on another test site with Drupal 5.3 and i18n ver 5.x-1.x-dev.

I apprecaite any help and thanks again for the greatly useful module.

nancydru’s picture

Have you reported this against i18n? There were some changes in 5.5 that have broken other modules.

And it is really not good practice to hijack an issue to start a new one. Please open a new, separate issue.

nancydru’s picture

Title: Bookimport 5.x version errors in Drupal 5.5 not in 5.3 » Bookimport 5.x version
Category: bug » feature
Priority: Critical » Normal
Status: Active » Needs review

Reverting title, category, priority, status

timmillwood’s picture

I could do with a Drupal 6 version of this.

nancydru’s picture

Well, the owner of this module hasn't done a commit in 2 years, so I doubt it will happen unless he gives me commit access.

antgiant’s picture

Just wanted to note that I posed #295773: Bookimport 6.x version.

puregin’s picture

This module is deprecated in favour of http://drupal.org/project/book_import_export.

Please follow up on that module.

Regards, Djun

nancydru’s picture

Hi, Djun. Please post that on the project page.

puregin’s picture

Good point! BTW, I have added you as a maintainer for Book Import/Export - thanks for all of your work on this.

nancydru’s picture

Thanks.