View Single Post
Old 02-13-2017, 12:07 PM   #8
chaot
Head of lunatic asylum
chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.
 
chaot's Avatar
 
Posts: 349
Karma: 77620
Join Date: Jun 2012
Location: UTC +1
Device: Tolino Vision 3HD
Quote:
Originally Posted by DaleDe View Post
Great advice. All that extra head meta stuff is for web pages, not ePub. It is wasted on ePub where everything needs to be in the OPF file anyway.
Yes, for web pages. May be, beside of other reasons, to order the stuff there.

But it's difficult to compare/find directly.
Code:
<head>
  <title>Werke 1</title>
  <meta name="generator" content="pdftohtml 0.36"/>
  <meta name="author" content="Roth, Joseph"/>
  <meta name="keywords" content=""/>
  <meta name="date" content="2017-01-20T12:05:05+00:00"/>
  <meta name="subject" content="Das journalistische Werk"/>
  <link href="stylesheet.css" rel="stylesheet" type="text/css"/>
  <link href="page_styles.css" rel="stylesheet" type="text/css"/>
</head>
as compared with the corresponding entries in content.opf

Code:
<?xml version='1.0' encoding='utf-8'?>
<package xmlns="http://www.idpf.org/2007/opf" unique-identifier="uuid_id" version="2.0">
  <metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:opf="http://www.idpf.org/2007/opf" xmlns:calibre="http://calibre.kovidgoyal.net/2009/metadata" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <dc:title>Werke 1#orig</dc:title>
    <dc:creator opf:role="aut" opf:file-as="Roth, Joseph_x">Roth, Joseph_x</dc:creator>
    <dc:date>0101-01-01T00:00:00+00:00</dc:date>
    <dc:contributor opf:role="bkp">calibre (2.77.0) [https://calibre-ebook.com]</dc:contributor>
    <dc:identifier id="uuid_id" opf:scheme="uuid">dfed961f-f9bf-4c7d-9fad-406d68718bdd</dc:identifier>
    <dc:subject>#orig</dc:subject>
    <dc:subject>Juden</dc:subject>
    <dc:subject>Presse</dc:subject>
    <dc:subject>Zeitung/en</dc:subject>
    <dc:language>de</dc:language>
    <dc:identifier opf:scheme="calibre">dfed961f-f9bf-4c7d-9fad-406d68718bdd</dc:identifier>
    <meta name="calibre:timestamp" content="0101-01-01T00:00:00+00:00"/>
    <meta name="calibre:title_sort" content="Werke 1#orig"/>
    <meta name="cover" content="cover"/>
    <meta name="calibre:user_categories" content="{&quot;Favorites.Authors&quot;: [], &quot;Favorites&quot;: []}"/>
    <meta name="calibre:author_link_map" content="{&quot;Roth, Joseph_x&quot;: &quot;&quot;}"/>
E.g. the marked word journalistische doesn't appear in content.opf.

Quote:
Originally Posted by JSWolf View Post
Here is the start of the XML file from the start of the file [...].

Code:
<?xml version="1.0" encoding="utf-8"?>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops">
That doesn't look usual (first time I see such entry). For what it is good for?
chaot is offline   Reply With Quote