Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
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:	240
Size:	334.3 KB
ID:	156224

Last edited by Michit1; 04-17-2017 at 07:06 AM.
Michit1 is offline   Reply With Quote
Old 04-17-2017, 07:17 AM   #2
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,506
Karma: 5433350
Join Date: Nov 2009
Device: many
Rename all xml files that are really xhtml files to have an .xhtml file name extension before trying to add them with Sigil.

Last edited by KevinH; 04-17-2017 at 07:23 AM.
KevinH is offline   Reply With Quote
Advert
Old 04-17-2017, 07:55 AM   #3
Michit1
Member
Michit1 began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Apr 2017
Device: Tolino
must be a bug, i have close Sigil and new open Sigil white this files and he work the change. I change the extensions to xhtml.
Michit1 is offline   Reply With Quote
Old 04-17-2017, 08:13 AM   #4
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,506
Karma: 5433350
Join Date: Nov 2009
Device: many
All pure xml files added with "Add Existing Files" are added to the Misc folder. True xhtml files are added to Text. That is by design. An .xml file with no mime-type info can be anything really. So using an .xml file extension is not recommended for true .xhtml files.

Last edited by KevinH; 04-17-2017 at 01:01 PM.
KevinH is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Merge/Compare 2 Epub io.massimo Library Management 2 10-27-2016 03:43 PM
Merge a collection of epubs with Sigil portersprings Sigil 2 08-14-2014 09:39 PM
Epub crashes on Sigil for Mac, OK on Sigil for PC crystamichelle Sigil 6 08-14-2013 02:52 PM
New Problem-Merge libraries and preserve date Sydney's Mom Library Management 0 05-02-2013 08:37 PM
Sigil EPUB to MOBI problem mncowboy Conversion 0 07-14-2011 01:59 PM


All times are GMT -4. The time now is 05:58 AM.


MobileRead.com is a privately owned, operated and funded community.