daisy / pipeline

Super-project that aggregates all Pipeline related code, provides a common tracker for Pipeline related issues and holds the Pipeline website
http://daisy.github.io/pipeline
20 stars 20 forks source link

daisy3-to-daisy202: generates invalid ncc.html #781

Open ninkisa opened 1 month ago

ninkisa commented 1 month ago

I'm trying to convert Daisy 3 book to Daisy 2, but some of the metadata tags have empty content For example:
In Daisy 3 ncx file the following metadata has content that is not empty

      <meta name="dtb:depth" content="1"/>
      <meta name="dtb:maxPageNormal" content="0"/>

but in the result ncc.html it is :

        <meta content="" name="ncc:depth"/>
        <meta content="" name="ncc:maxPageNormal"/>

Also the generated SMIL file has DOCTYPE = http://www.w3.org/TR/REC-smil/SMIL10.dtd which doesn't exists File not found: http://www.w3.org/TR/REC-smil/SMIL10.dtd

Expected Behavior

ncc:depth and ncc:maxPageNormal to have correct content attribute valid SMIL file

Steps to Reproduce

Daisy3book.zip

Steps taken to reproduce the problem.

  1. Extract attached Daisy3book.zip to folder
  2. run daisy3-to-daisy202 for the opf file in the extracted folder

Generated Daisy 2

generated.D202.zip

Environment

Logs

output.txt

bertfrees commented 1 month ago

Thank you for the report!