| 1 |
Bookimport install
|
| 2 |
=====================
|
| 3 |
|
| 4 |
Unpack the bookimport directory in the modules directory of your
|
| 5 |
Drupal installation:
|
| 6 |
|
| 7 |
% cd /path/to/drupal/modules
|
| 8 |
% tar -zxf /path/to/bookimport.tar.gz
|
| 9 |
|
| 10 |
Enable the bookimport module by checking the 'bookimport' item on the
|
| 11 |
module administration page at admin/modules.
|
| 12 |
|
| 13 |
Enable 'import books' permissions for all user roles which should
|
| 14 |
be able to import books.
|
| 15 |
|
| 16 |
Please make sure to protect your Drupal data by *backing up
|
| 17 |
your Drupal database* prior to importing books via this
|
| 18 |
module.
|
| 19 |
|
| 20 |
|
| 21 |
Requirements
|
| 22 |
-----------
|
| 23 |
|
| 24 |
XML import/export requires XML support in your PHP installation, see
|
| 25 |
the PHP documentation with your system.
|
| 26 |
|
| 27 |
You can view the configuration of your PHP installation by creating a
|
| 28 |
PHP page containing the following code. Make sure that it is visible
|
| 29 |
only by people you trust.
|
| 30 |
|
| 31 |
<?php
|
| 32 |
print phpinfo();
|
| 33 |
?>
|
| 34 |
|
| 35 |
This should display the configuration of your PHP installation.
|
| 36 |
You should see under 'Configure command' an entry of the form
|
| 37 |
|
| 38 |
--with-xml
|
| 39 |
|
| 40 |
You should also see a table titled "dom", and a row indicating
|
| 41 |
'DOM/XML enabled', and a table entitled "xml", indicating
|
| 42 |
"xml support: active".
|
| 43 |
|