Quote:
How did I not notice that?
|
Becose You are magician. (?)
It seems that creating very simple opf file:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<package xmlns:xx="http://saxon.sf.net/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/metadata/dublin_core"
unique-identifier="BookId" version="2.0">
<metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:opf="http://www.idpf.org/2007/opf">
<!-- Fixed Layout, Region Magnificaiton & Children\'s Content -->
<meta name="fixed-layout" content="true"/>
<meta name="book-type" content="gra paragrafowa"/>
<dc-metadata xmlns:dc="http://purl.org/metadata/dublin_core" xmlns:oebpackage="http://openbook.org/namespaces/oeb-package/1.0/">
<dc:title>'. $scenariusz['Nazwa_gry']. '</dc:title>
<dc:language>pl</dc:language>
<dc:creator>'. $scenariusz['Autor_txt']. '</dc:creator>
<dc:publisher>rolegames.tk</dc:publisher>
<dc:date>'. $scenariusz['Autor_rok']. '</dc:date>
</dc-metadata>
</metadata>
<manifest>
<item id="book" href="'. $nazwa_pliku. '-MOBI.html" media-type="application/xhtml+xml"/>
</manifest>
<spine toc="ncx">
<itemref idref="book"/>
</spine>
</package>'
...ignoring fact, that there are some additional fonts and images, works.
Many thanks DD!