View Single Post
Old 04-17-2017, 06:44 AM   #1
Michit1
Member
Michit1 began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Apr 2017
Device: Tolino
sigil 0.9.8 merge epub problem

I have 3 epubs from internet each is a chapter with 2 xml files inside (cover and chap0), I will make these individual epub chapters together into a single epub. I have unpacked the 2 chapters Epubs which come to this and the 2 xml filenames renamed in chapter1.xml and chapter2.xml. In Sigil I use the rightclick and the option "Add Existing Files", but he takes that into the "misc folder" pure. If I chapters1 and 2 double click on the name in folder misc he does not even show the code. In content.opf I changed the xml left of misc to text but it has also not functioned. I have found an internet site ide describes how to join epubs, but that is 5 years old. How can I merge into the epub? I can litte HTML Code, i training XML and XHTML.
Code:
----------------------------------------------------------------------------------
This is the code of the xml files:

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<!--?xml version="1.0"?--><html xmlns="http://www.w3.org/1999/xhtml" xmlns:xlink="http://www.w3.org/1999/xlink">
<head>
  <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
  <title>Hals und Beinbruch</title>
  <link href="../Styles/main.css" rel="stylesheet" type="text/css"/>
</head>

------------------------------------------------------------------------------------
The file content.opf:

<?xml version="1.0" encoding="utf-8"?>
<package version="2.0" unique-identifier="uniqueid" xmlns="http://www.idpf.org/2007/opf">
  <metadata xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:opf="http://www.idpf.org/2007/opf">
    <dc:language>en</dc:language>
    <dc:title>Hals und Beinbruch</dc:title>
    <dc:identifier opf:scheme="uuid" id="uniqueid">sofurry-20-226439</dc:identifier>
    <dc:creator opf:role="aut">Huskyboy666</dc:creator>
    <meta name="Sigil version" content="0.9.8" />
    <dc:date opf:event="modification" xmlns:opf="http://www.idpf.org/2007/opf">2017-04-17</dc:date>
  </metadata>
  <manifest>
    <item id="ncx" href="toc.ncx" media-type="application/x-dtbncx+xml"/>
    <item id="id_cover" href="Text/cover.xml" media-type="application/xhtml+xml"/>
    <item id="id_chapter-0" href="Text/chap0.xml" media-type="application/xhtml+xml"/>
    <item id="css" href="Styles/main.css" media-type="text/css"/>
    <item id="chap1" href="Text/chap1.xml" media-type="application/xhtml+xml"/>
    <item id="chap2" href="Text/chap2.xml" media-type="application/xhtml+xml"/>
    <item id="chap1.xml" href="Misc/chap1.xml" media-type="application/xhtml+xml"/>
    <item id="chap2.xml" href="Misc/chap2.xml" media-type="application/xhtml+xml"/>
  </manifest>
  <spine toc="ncx">
    <itemref idref="id_cover"/>
    <itemref idref="id_chapter-0"/>
    <itemref idref="chap1"/>
    <itemref idref="chap2"/>
  </spine>
  <guide>
  </guide>
</package>
-----------------------------------------------------------------------------------
Click image for larger version

Name:	epub.jpg
Views:	242
Size:	334.3 KB
ID:	156224

Last edited by Michit1; 04-17-2017 at 07:06 AM.
Michit1 is offline   Reply With Quote