let's start from the beginning in order to understand and the other users that may have the same questions.
I have exported these 3 books from booklibrary and I have saved it in XML format file in order to take the form of XML file.
I want to add more than 1000 books in the XML file and then import it in booklibrary.
To add 1000 books with notepad++ or with an XML editor I must write XML code for 1000 books.
It will take me 100 years to finish it!
Can you tell me how can I create an XML file with 1000 books? (the fields that I want to use are: Title, BookID, Authors, ISBN, Publisher and Publication date.)
My XML code for 1 book is this:
Warning Spoiler! Code: |
<?xml version='1.0' encoding='utf-8' ?>
<data>
<version>2.0 Basic</version>
<books>
<book>
<bookid>11</bookid>
<isbn>11</isbn>
<title><![CDATA[a title of a book 2]]></title>
<authors><![CDATA[the author of the book 2]]></authors>
<manufacturer><![CDATA[the publisher of the book 2]]></manufacturer>
<releaseDate>2010</releaseDate>
<language>English</language>
<hits>9</hits>
<rating>0</rating>
<price></price>
<priceunit></priceunit>
<numberOfPages>0</numberOfPages>
<url><![CDATA[]]></url>
<imageURL><![CDATA[]]></imageURL>
<edition><![CDATA[]]></edition>
<ebookURL><![CDATA[]]></ebookURL>
<informationFrom>0</informationFrom>
<date>2011-03-16 23:37:44</date>
<comment><![CDATA[]]></comment>
<published>1</published>
<owneremail><![CDATA[]]></owneremail>
<vm_id_product>0</vm_id_product>
<reviews>
</reviews>
<categs>
<categ>56</categ></categs>
</book>
</books>
</data>
|