25. Importing books from Full XML into Joomla Book Library
In this article we will take a look at importing books from a Full XML file into Book Library. This can be from a Full XML Export you did earlier. The Full XML Import will contain all books and categories, but before import it will delete the existing Book Library tables, so be careful when using it.
What does the Full XML Export function say?
First, let's take a good look at what the Full XML Export function says:
Full XML EXPORT:
- This export will export all Book Library Full XML tables and save all fields and entries
- You can later use these sql files to restore your Book Library data in full
- This subsequent import will overwrite ALL existing entries, so be careful when using it!
- If the user who wrote the original book review does not exist anymore, the review will be assigned to "Anonymous"
What does the Full XML Import function say?
Full XML IMPORT:
- This import will import all Joomla Book Library Full XML and restore all fields and details
- This option will overwrite ALL existing entries, so be careful when using it!
- If the user who wrote the original Book Review does not exist anymore in the system, the Review will be assigned to "Anonymous"
Importing a Full XML file into Joomla Book Library
- Go to Components -> Book Library -> Import/Export and choose the Import tab.
Full XML Import in Joomla Book Library
- Choose Full XML for the Import Type
- You do not have to choose a Category to import into since this import type will contain all Categories as well.
- Next use Browse to point to the Full XML file of your choice (.dat file extension).
- Then click the Import Books button on the top bar.
First you will receive a warning screen, telling you that all existing Book Library tables will be erased by this import:
- Click OK if you are sure you want to proceed, and you will see the following screen which gives you the results of the import:
Results of full XML Import in Joomla Book Library
- Click Back in the top bar to return to the Import/Export page, or go to
Components -> Book Library -> Books to go to the Book Manager window. You will see the books you have just imported. The published or unpublished information for the books will be EXACTLY like it was specified in the export file from the time the export was made, so you may want to double check that information.
You will also see in Categories that all Categories in Joomla Book Library have been restored.
Note:
If you are not seeing the import results immediately, you may need to log off and then log on again to see the results. The import was actually successful, but since MySQL Tables Import is a rather extensive operation, it may need this log off then log on again action before showing the results on your screen.
Let's now see how to work with Language Manager