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

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 11-09-2018, 08:13 PM   #1
thiago.eec
Guru
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 921
Karma: 1177583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
[Metadata Rearrangement when adding a book]

Hi everyone.

Is there a way to prevent Calibre from rearranging my opf file when I add a book to the library? It is not deleting anything, but it messes with my structure. I like to keep things grouped, like this:

ORIGINAL
Spoiler:
Code:
<?xml version='1.0' encoding='utf-8'?>
<package xmlns="http://www.idpf.org/2007/opf" version="3.0" unique-identifier="isbn-id" prefix="ibooks: http://vocabulary.itunes.apple.com/rdf/ibooks/vocabulary-extensions-1.0/ a11y: http://www.idpf.org/epub/vocab/package/a11y/#" xml:lang="pt-BR">

  <metadata xmlns:dc="http://purl.org/dc/elements/1.1/">

    <!--Registro completo dos Metadados do Livro-->

      <link rel="onix-record" href="Meta/9788584850396.xml"/>

    <!--Metadados embutidos-->

      <meta name="generator" content="Adobe InDesign 13.1"/>
      <meta name="cover" content="Cover.jpg"/>
      <meta property="ibooks:specified-fonts">true</meta>
      <dc:title id="title">A Crise da Morte</dc:title>
      <meta refines="#title" property="title-type">main</meta>
      <meta refines="#title" property="display-seq">1</meta>
      <dc:creator id="creator">Ernesto Bozzano</dc:creator>
      <meta refines="#creator" property="role" scheme="marc:relators" id="aut-role">aut</meta>
      <dc:contributor id="translator">Guillon Ribeiro</dc:contributor>
      <meta refines="#translator" property="role" scheme="marc:relators" id="trl-role">trl</meta>
      <dc:contributor id="book-designer">Thiago Oliveira</dc:contributor>
      <meta refines="#book-designer" property="role" scheme="marc:relators" id="bkd-role">bkd</meta>
      <dc:subject>Espiritísmo</dc:subject>
      <dc:subject>Morte</dc:subject>
      <dc:subject>Reencarnação</dc:subject>
      <dc:subject>Vida após a morte</dc:subject>
      <dc:subject>EQM</dc:subject>
      <dc:description>Haverá quem não tenha pensado no instante final da nossa trajetória terrestre? A vida continua além do túmulo? Se cremos que sim, como será essa nova vida? Quais os fenômenos que se passam com aqueles que se desprendem dos liames carnais e dão entrada no outro mundo? Em A Crise da Morte, o autor aprecia e comenta os testemunhos vindos do mundo espiritual, submetendo-os ao processo científico da análise comparada, do que resultou um conjunto de revelações de irrecusável veracidade. Traça orientações sobre os objetivos de existência física, as bases da moral e dos deveres do homem na decisão do seu futuro. Ler esta obra é confirmar as realidades de uma outra existência, de um mundo extrafísico, cujas condições, para cada um de nós, sempre dependerão do modo por que nos conduzimos moralmente enquanto Espíritos encarnados.</dc:description>
      <dc:publisher>FEB - Federação Espírita Brasileira</dc:publisher>
      <dc:rights>Copyright © 1926 by FEDERAÇÃO ESPÍRITA BRASILEIRA – FEB</dc:rights>
      <dc:date>2018-05-26</dc:date>
      <dc:language>pt-BR</dc:language>
      <meta property="dcterms:modified">2018-11-10T00:05:08Z</meta>
      <dc:identifier id="isbn-id">urn:isbn:978-85-8485-039-6</dc:identifier>
      <meta refines="#isbn-id" property="identifier-type" scheme="onix:codelist5">15</meta>

    <!--Metadados de Accessibilidade-->

    <!--Certificação-->

      <meta property="a11y:certifiedBy">Thiago Oliveira</meta>
      <link rel="dcterms:conformsTo" href="http://www.idpf.org/epub/a11y/accessibility-20170105.html#wcag-a"/>

    <!--Sumário de Acessibilidade-->

      <meta property="schema:accessibilitySummary">Este eBook foi otimizado para o uso através de Tecnologias Assistivas. Todas as imagens contém texto alternativo. O conteúdo está em conformidade com as orientações do WCAG 2.0 Level A.</meta>

    <!--Modo de Acesso-->

      <meta property="schema:accessMode">textual</meta>
      <meta property="schema:accessModeSufficient">textual</meta>

    <!--Opçoes de Accessibilidade-->

      <meta property="schema:accessibilityFeature">tableOfContents</meta>
      <meta property="schema:accessibilityFeature">structuralNavigation</meta>
      <meta property="schema:accessibilityFeature">bookmarks</meta>
      <meta property="schema:accessibilityFeature">readingOrder</meta>
      <meta property="schema:accessibilityFeature">displayTransformability</meta>
      <meta property="schema:accessibilityFeature">unlocked</meta>
      <meta property="schema:accessibilityFeature">alternativeText</meta>

    <!--Perigos de Acessibilidade-->

      <meta property="schema:accessibilityHazard">noFlashingHazard</meta>
      <meta property="schema:accessibilityHazard">noMotionSimulationHazard</meta>
      <meta property="schema:accessibilityHazard">noSoundHazard</meta>

    <!--APIs de Acessibilidade-->

      <meta property="schema:accessibilityAPI">ARIA</meta>
      <meta property="schema:accessibilityAPI">iOSAccessibility</meta>
      <meta property="schema:accessibilityAPI">AndroidAccessibility</meta>

    <!--Controles de Acessibilidade-->

      <meta property="schema:accessibilityControl">fullKeyboardControl</meta>
      <meta property="schema:accessibilityControl">fullMouseControl</meta>
      <meta property="schema:accessibilityControl">fullTouchControl</meta>

  </metadata>

  <manifest>

    <!--Capa-->

      <item id="Cover" href="Text/Capa.xhtml" media-type="application/xhtml+xml" properties="svg"/>

    <!--Arquivos de texto-->

      <item id="Halftitle" href="Text/Halftitle.xhtml" media-type="application/xhtml+xml"/>
      <item id="Doc" href="Text/Rosto.xhtml" media-type="application/xhtml+xml"/>
      <item id="Doc-2" href="Text/Creditos.xhtml" media-type="application/xhtml+xml"/>
      <item id="Doc-3" href="Text/Resumo.xhtml" media-type="application/xhtml+xml"/>
      <item id="Doc-4" href="Text/Prefacio.xhtml" media-type="application/xhtml+xml"/>
      <item id="Doc-5" href="Text/Introducao.xhtml" media-type="application/xhtml+xml"/>
      <item id="Doc-6" href="Text/01-Caso.xhtml" media-type="application/xhtml+xml"/>
      <item id="Doc-7" href="Text/02-Caso.xhtml" media-type="application/xhtml+xml"/>
      <item id="Doc-8" href="Text/03-Caso.xhtml" media-type="application/xhtml+xml"/>
      <item id="Doc-9" href="Text/04-Caso.xhtml" media-type="application/xhtml+xml"/>
      <item id="Doc-10" href="Text/05-Caso.xhtml" media-type="application/xhtml+xml"/>
      <item id="Doc-11" href="Text/06-Caso.xhtml" media-type="application/xhtml+xml"/>
      <item id="Doc-12" href="Text/07-Caso.xhtml" media-type="application/xhtml+xml"/>
      <item id="Doc-13" href="Text/08-Caso.xhtml" media-type="application/xhtml+xml"/>
      <item id="Doc-14" href="Text/09-Caso.xhtml" media-type="application/xhtml+xml"/>
      <item id="Doc-15" href="Text/10-Caso.xhtml" media-type="application/xhtml+xml"/>
      <item id="Doc-16" href="Text/11-Caso.xhtml" media-type="application/xhtml+xml"/>
      <item id="Doc-17" href="Text/12-Caso.xhtml" media-type="application/xhtml+xml"/>
      <item id="Doc-18" href="Text/13-Caso.xhtml" media-type="application/xhtml+xml"/>
      <item id="Doc-19" href="Text/14-Caso.xhtml" media-type="application/xhtml+xml"/>
      <item id="Doc-20" href="Text/15-Caso.xhtml" media-type="application/xhtml+xml"/>
      <item id="Doc-21" href="Text/16-Caso.xhtml" media-type="application/xhtml+xml"/>
      <item id="Doc-22" href="Text/17-Caso.xhtml" media-type="application/xhtml+xml"/>
      <item id="Doc-23" href="Text/Conclusoes.xhtml" media-type="application/xhtml+xml"/>
      <item id="Notas" href="Text/Notas.xhtml" media-type="application/xhtml+xml"/>

    <!--Documentos de Navegação-->

      <item id="ncx" href="toc.ncx" media-type="application/x-dtbncx+xml"/>
      <item id="toc" href="Text/toc.xhtml" media-type="application/xhtml+xml" properties="nav"/>

    <!--Folhas de estilo-->

      <item id="Styles.css" href="Styles/Styles.css" media-type="text/css"/>
      <item id="Frontmatter.css" href="Styles/Frontmatter.css" media-type="text/css"/>
      <item id="Rights.css" href="Styles/Rights.css" media-type="text/css"/>

    <!--Imagem de Capa-->

      <item id="Cover.jpg" href="Images/Cover.jpg" media-type="image/jpeg" properties="cover-image"/>

    <!--Imagens-->

      <item id="LogoFEB" href="Images/logoFEB.png" media-type="image/png"/>

    <!--Fontes-->

      <item id="HelveticaNeueLTStd-ThEx.otf" href="Fonts/HelveticaNeueLTStd-ThEx.otf" media-type="application/vnd.ms-opentype"/>
      <item id="MinionPro-Bold.otf" href="Fonts/MinionPro-Bold.otf" media-type="application/vnd.ms-opentype"/>
      <item id="MinionPro-It.otf" href="Fonts/MinionPro-It.otf" media-type="application/vnd.ms-opentype"/>
      <item id="MinionPro-Regular.otf" href="Fonts/MinionPro-Regular.otf" media-type="application/vnd.ms-opentype"/>

  </manifest>

  <spine toc="ncx">

    <itemref idref="Cover"/>
    <itemref idref="Halftitle"/>
    <itemref idref="Doc"/>
    <itemref idref="Doc-2"/>
    <itemref idref="Doc-3"/>
    <itemref idref="toc"/>
    <itemref idref="Doc-4"/>
    <itemref idref="Doc-5"/>
    <itemref idref="Doc-6"/>
    <itemref idref="Doc-7"/>
    <itemref idref="Doc-8"/>
    <itemref idref="Doc-9"/>
    <itemref idref="Doc-10"/>
    <itemref idref="Doc-11"/>
    <itemref idref="Doc-12"/>
    <itemref idref="Doc-13"/>
    <itemref idref="Doc-14"/>
    <itemref idref="Doc-15"/>
    <itemref idref="Doc-16"/>
    <itemref idref="Doc-17"/>
    <itemref idref="Doc-18"/>
    <itemref idref="Doc-19"/>
    <itemref idref="Doc-20"/>
    <itemref idref="Doc-21"/>
    <itemref idref="Doc-22"/>
    <itemref idref="Doc-23"/>
    <itemref idref="Notas"/>

  </spine>

  <guide>

    <reference type="cover" href="Text/Capa.xhtml" title="Cover"/>
    <reference type="title-page" title="Folha de Rosto" href="Text/Rosto.xhtml"/>
    <reference type="copyright-page" title="Página de Créditos" href="Text/Creditos.xhtml"/>
    <reference type="toc" title="Sumário" href="Text/toc.xhtml"/>
    <reference type="text" title="Início" href="Text/Resumo.xhtml"/>
    <reference type="notes" title="Notas" href="Text/Notas.xhtml"/>

  </guide>

</package>


But, when I add the book to my Calibre Library, it changes to this:

ON CALIBRE LIBRARY:
Spoiler:
Code:
<package xmlns="http://www.idpf.org/2007/opf" version="3.0" unique-identifier="isbn-id" prefix="a11y: http://www.idpf.org/epub/vocab/package/a11y/# calibre: https://calibre-ebook.com ibooks: http://vocabulary.itunes.apple.com/rdf/ibooks/vocabulary-extensions-1.0/" xml:lang="pt-BR">
  <metadata xmlns:dc="http://purl.org/dc/elements/1.1/">
    <dc:title id="title">A Crise da Morte</dc:title>
    <dc:creator id="id">Ernesto Bozzano</dc:creator>
    <dc:contributor id="translator">Guillon Ribeiro</dc:contributor>
    <dc:contributor id="book-designer">Thiago Oliveira</dc:contributor>
    <dc:rights>Copyright © 1926 by FEDERAÇÃO ESPÍRITA BRASILEIRA – FEB</dc:rights>
    <dc:identifier>isbn:9788584850396</dc:identifier>
    <dc:identifier>calibre:677</dc:identifier>
    <dc:identifier>uuid:d9f91ce5-09fb-4128-ae63-9b328ed6a236</dc:identifier>
    <dc:identifier id="isbn-id">urn:isbn:978-85-8485-039-6</dc:identifier>
    <dc:language>pt-BR</dc:language>
    <dc:date>2018-05-26T00:00:00+00:00</dc:date>
    <dc:description>Haverá quem não tenha pensado no instante final da nossa trajetória terrestre? A vida continua além do túmulo? Se cremos que sim, como será essa nova vida? Quais os fenômenos que se passam com aqueles que se desprendem dos liames carnais e dão entrada no outro mundo? Em A Crise da Morte, o autor aprecia e comenta os testemunhos vindos do mundo espiritual, submetendo-os ao processo científico da análise comparada, do que resultou um conjunto de revelações de irrecusável veracidade. Traça orientações sobre os objetivos de existência física, as bases da moral e dos deveres do homem na decisão do seu futuro. Ler esta obra é confirmar as realidades de uma outra existência, de um mundo extrafísico, cujas condições, para cada um de nós, sempre dependerão do modo por que nos conduzimos moralmente enquanto Espíritos encarnados.</dc:description>
    <dc:publisher>FEB - Federação Espírita Brasileira</dc:publisher>
    <dc:subject>Espiritísmo</dc:subject>
    <dc:subject>Morte</dc:subject>
    <dc:subject>Reencarnação</dc:subject>
    <dc:subject>Vida após a Morte</dc:subject>
    <dc:subject>EQM</dc:subject>
    <!--Registro completo dos Metadados do Livro-->
    <link rel="onix-record" href="Meta/9788584850396.xml"/>
    <!--Metadados embutidos-->
    <meta name="generator" content="Adobe InDesign 13.1"/>
    <meta name="cover" content="Cover.jpg"/>
    <meta property="ibooks:specified-fonts">true</meta>
    <meta refines="#title" property="title-type">main</meta>
    <meta refines="#title" property="file-as">Crise da Morte, A</meta>
    <meta refines="#translator" property="role" scheme="marc:relators" id="trl-role">trl</meta>
    <meta refines="#book-designer" property="role" scheme="marc:relators" id="bkd-role">bkd</meta>
    <meta property="dcterms:modified">2018-11-10T00:55:10Z</meta>
    <meta refines="#isbn-id" property="identifier-type" scheme="onix:codelist5">15</meta>
    <!--Metadados de Accessibilidade-->
    <!--Certificação-->
    <meta property="a11y:certifiedBy">Thiago Oliveira</meta>
    <link rel="dcterms:conformsTo" href="http://www.idpf.org/epub/a11y/accessibility-20170105.html#wcag-a"/>
    <!--Sumário de Acessibilidade-->
    <meta property="schema:accessibilitySummary">Este eBook foi otimizado para o uso através de Tecnologias Assistivas. Todas as imagens contém texto alternativo. O conteúdo está em conformidade com as orientações do WCAG 2.0 Level A.</meta>
    <!--Modo de Acesso-->
    <meta property="schema:accessMode">textual</meta>
    <meta property="schema:accessModeSufficient">textual</meta>
    <!--Opçoes de Accessibilidade-->
    <meta property="schema:accessibilityFeature">tableOfContents</meta>
    <meta property="schema:accessibilityFeature">structuralNavigation</meta>
    <meta property="schema:accessibilityFeature">bookmarks</meta>
    <meta property="schema:accessibilityFeature">readingOrder</meta>
    <meta property="schema:accessibilityFeature">displayTransformability</meta>
    <meta property="schema:accessibilityFeature">unlocked</meta>
    <meta property="schema:accessibilityFeature">alternativeText</meta>
    <!--Perigos de Acessibilidade-->
    <meta property="schema:accessibilityHazard">noFlashingHazard</meta>
    <meta property="schema:accessibilityHazard">noMotionSimulationHazard</meta>
    <meta property="schema:accessibilityHazard">noSoundHazard</meta>
    <!--APIs de Acessibilidade-->
    <meta property="schema:accessibilityAPI">ARIA</meta>
    <meta property="schema:accessibilityAPI">iOSAccessibility</meta>
    <meta property="schema:accessibilityAPI">AndroidAccessibility</meta>
    <!--Controles de Acessibilidade-->
    <meta property="schema:accessibilityControl">fullKeyboardControl</meta>
    <meta property="schema:accessibilityControl">fullMouseControl</meta>
    <meta property="schema:accessibilityControl">fullTouchControl</meta>
    <meta property="role" refines="#id" scheme="marc:relators">aut</meta>
    <meta property="file-as" refines="#id">Bozzano, Ernesto</meta>
    <meta property="calibre:author_link_map">{"Ernesto Bozzano": ""}</meta>
  </metadata>
  <manifest>
    <!--Capa-->
    <item id="Cover" href="Text/Capa.xhtml" media-type="application/xhtml+xml" properties="svg"/>
    <!--Arquivos de texto-->
    <item id="Halftitle" href="Text/Halftitle.xhtml" media-type="application/xhtml+xml"/>
    <item id="Doc" href="Text/Rosto.xhtml" media-type="application/xhtml+xml"/>
    <item id="Doc-2" href="Text/Creditos.xhtml" media-type="application/xhtml+xml"/>
    <item id="Doc-3" href="Text/Resumo.xhtml" media-type="application/xhtml+xml"/>
    <item id="Doc-4" href="Text/Prefacio.xhtml" media-type="application/xhtml+xml"/>
    <item id="Doc-5" href="Text/Introducao.xhtml" media-type="application/xhtml+xml"/>
    <item id="Doc-6" href="Text/01-Caso.xhtml" media-type="application/xhtml+xml"/>
    <item id="Doc-7" href="Text/02-Caso.xhtml" media-type="application/xhtml+xml"/>
    <item id="Doc-8" href="Text/03-Caso.xhtml" media-type="application/xhtml+xml"/>
    <item id="Doc-9" href="Text/04-Caso.xhtml" media-type="application/xhtml+xml"/>
    <item id="Doc-10" href="Text/05-Caso.xhtml" media-type="application/xhtml+xml"/>
    <item id="Doc-11" href="Text/06-Caso.xhtml" media-type="application/xhtml+xml"/>
    <item id="Doc-12" href="Text/07-Caso.xhtml" media-type="application/xhtml+xml"/>
    <item id="Doc-13" href="Text/08-Caso.xhtml" media-type="application/xhtml+xml"/>
    <item id="Doc-14" href="Text/09-Caso.xhtml" media-type="application/xhtml+xml"/>
    <item id="Doc-15" href="Text/10-Caso.xhtml" media-type="application/xhtml+xml"/>
    <item id="Doc-16" href="Text/11-Caso.xhtml" media-type="application/xhtml+xml"/>
    <item id="Doc-17" href="Text/12-Caso.xhtml" media-type="application/xhtml+xml"/>
    <item id="Doc-18" href="Text/13-Caso.xhtml" media-type="application/xhtml+xml"/>
    <item id="Doc-19" href="Text/14-Caso.xhtml" media-type="application/xhtml+xml"/>
    <item id="Doc-20" href="Text/15-Caso.xhtml" media-type="application/xhtml+xml"/>
    <item id="Doc-21" href="Text/16-Caso.xhtml" media-type="application/xhtml+xml"/>
    <item id="Doc-22" href="Text/17-Caso.xhtml" media-type="application/xhtml+xml"/>
    <item id="Doc-23" href="Text/Conclusoes.xhtml" media-type="application/xhtml+xml"/>
    <item id="Notas" href="Text/Notas.xhtml" media-type="application/xhtml+xml"/>
    <!--Documentos de Navegação-->
    <item id="ncx" href="toc.ncx" media-type="application/x-dtbncx+xml"/>
    <item id="toc" href="Text/toc.xhtml" media-type="application/xhtml+xml" properties="nav"/>
    <!--Folhas de estilo-->
    <item id="Styles.css" href="Styles/Styles.css" media-type="text/css"/>
    <item id="Frontmatter.css" href="Styles/Frontmatter.css" media-type="text/css"/>
    <item id="Rights.css" href="Styles/Rights.css" media-type="text/css"/>
    <!--Imagem de Capa-->
    <item id="Cover.jpg" href="Images/Cover.jpg" media-type="image/jpeg" properties="cover-image"/>
    <!--Imagens-->
    <item id="LogoFEB" href="Images/logoFEB.png" media-type="image/png"/>
    <!--Fontes-->
    <item id="HelveticaNeueLTStd-ThEx.otf" href="Fonts/HelveticaNeueLTStd-ThEx.otf" media-type="application/vnd.ms-opentype"/>
    <item id="MinionPro-Bold.otf" href="Fonts/MinionPro-Bold.otf" media-type="application/vnd.ms-opentype"/>
    <item id="MinionPro-It.otf" href="Fonts/MinionPro-It.otf" media-type="application/vnd.ms-opentype"/>
    <item id="MinionPro-Regular.otf" href="Fonts/MinionPro-Regular.otf" media-type="application/vnd.ms-opentype"/>
  </manifest>
  <spine toc="ncx">
    <itemref idref="Cover"/>
    <itemref idref="Halftitle"/>
    <itemref idref="Doc"/>
    <itemref idref="Doc-2"/>
    <itemref idref="Doc-3"/>
    <itemref idref="toc"/>
    <itemref idref="Doc-4"/>
    <itemref idref="Doc-5"/>
    <itemref idref="Doc-6"/>
    <itemref idref="Doc-7"/>
    <itemref idref="Doc-8"/>
    <itemref idref="Doc-9"/>
    <itemref idref="Doc-10"/>
    <itemref idref="Doc-11"/>
    <itemref idref="Doc-12"/>
    <itemref idref="Doc-13"/>
    <itemref idref="Doc-14"/>
    <itemref idref="Doc-15"/>
    <itemref idref="Doc-16"/>
    <itemref idref="Doc-17"/>
    <itemref idref="Doc-18"/>
    <itemref idref="Doc-19"/>
    <itemref idref="Doc-20"/>
    <itemref idref="Doc-21"/>
    <itemref idref="Doc-22"/>
    <itemref idref="Doc-23"/>
    <itemref idref="Notas"/>
  </spine>
  <guide>
    <reference type="cover" href="Text/Capa.xhtml" title="Cover"/>
    <reference type="title-page" title="Folha de Rosto" href="Text/Rosto.xhtml"/>
    <reference type="copyright-page" title="Página de Créditos" href="Text/Creditos.xhtml"/>
    <reference type="toc" title="Sumário" href="Text/toc.xhtml"/>
    <reference type="text" title="Início" href="Text/Resumo.xhtml"/>
    <reference type="notes" title="Notas" href="Text/Notas.xhtml"/>
  </guide>
</package>


Calibre insert some new info and rearranges some lines. Can the user tweak some configuration to prevent this changes?
thiago.eec is offline   Reply With Quote
Old 11-10-2018, 01:44 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,826
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
WHat OPF file? the OPF file in the author folder in the calibre library or the OPF file inside the imported zip file?
kovidgoyal is offline   Reply With Quote
Old 11-10-2018, 03:59 AM   #3
thiago.eec
Guru
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 921
Karma: 1177583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
Quote:
Originally Posted by kovidgoyal View Post
WHat OPF file? the OPF file in the author folder in the calibre library or the OPF file inside the imported zip file?
Hi, @kovidgoyal.

It's the opf file inside the imported epub. This changes happen when I drag and drop the book to Calibre Library.
thiago.eec is offline   Reply With Quote
Old 11-10-2018, 04:39 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,826
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
calibre does not touch files on import by itself. Do you have some third party plugins installed such as DRM removal plugins? Try disabling them and see.

Also note that when you open an epub file in the editor, byudefault its metadata, and therefore its OPF file are updated, you can turn that off in the calibre integration section of the editor preferences.
kovidgoyal is offline   Reply With Quote
Old 11-10-2018, 05:50 AM   #5
thiago.eec
Guru
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 921
Karma: 1177583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
Quote:
Originally Posted by kovidgoyal View Post
calibre does not touch files on import by itself. Do you have some third party plugins installed such as DRM removal plugins? Try disabling them and see.

Also note that when you open an epub file in the editor, byudefault its metadata, and therefore its OPF file are updated, you can turn that off in the calibre integration section of the editor preferences.
Thanks, Kovid.

That was it. It was being changed when I clicked on EDIT BOOK. I used to have this option unchecked, but I recently formated my PC and forgot about it.

Now it doesn't rearrange my entries, but it still remove blank lines I added for separating groups.
thiago.eec is offline   Reply With Quote
Old 11-11-2018, 12:15 AM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,826
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The OPF file is intended to be edited programaticaaly, you cannot really avoid having the editor ever touch it I'm araid, the best you can hope for is minimum changes.
kovidgoyal is offline   Reply With Quote
Old 11-11-2018, 04:01 PM   #7
thiago.eec
Guru
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 921
Karma: 1177583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
Thanks for the explanation, Kovid.
thiago.eec is offline   Reply With Quote
Reply

Tags
automatic changes, opf file, rearranging

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
adding book multi format and metadata Khan-Dam Library Management 0 12-24-2016 07:23 AM
Adding book jacket metadata jakewoodblues Plugins 2 11-02-2014 09:11 PM
Metadata when adding books dc696969 Library Management 0 03-26-2013 04:48 AM
Adding Custom Metadata balancestudios Calibre 3 01-23-2012 12:06 PM
adding metadata artemisblossom Calibre 3 09-25-2009 03:24 PM


All times are GMT -4. The time now is 06:00 AM.


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