daisy / pipeline-scripts

!! NOTE: This project is now part of the pipeline-modules project !! | Script modules for the default DAISY Pipeline 2 distribution.
GNU Lesser General Public License v3.0
6 stars 5 forks source link

HTML To EPUB3 Metadata? #106

Open K3nnythe13ed opened 7 years ago

K3nnythe13ed commented 7 years ago

I'm currently looking for an option to pass metadata by adding them to the HTML-File.

I tried some variation of those meta tags, but the author hasn't been added to the package.opf and the title keeps being the title added in the -Tag Am I missing something here?</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/bertfrees"><img src="https://avatars.githubusercontent.com/u/1167989?v=4" />bertfrees</a> commented <strong> 7 years ago</strong> </div> <div class="markdown-body"> <p>@daisy/pipeline Who was author of html-to-epub3?</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/josteinaj"><img src="https://avatars.githubusercontent.com/u/295481?v=4" />josteinaj</a> commented <strong> 7 years ago</strong> </div> <div class="markdown-body"> <p>I think @rdeltour ?</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/bertfrees"><img src="https://avatars.githubusercontent.com/u/1167989?v=4" />bertfrees</a> commented <strong> 6 years ago</strong> </div> <div class="markdown-body"> <p>@rdeltour Any idea what could be the issue?</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/rdeltour"><img src="https://avatars.githubusercontent.com/u/520889?v=4" />rdeltour</a> commented <strong> 6 years ago</strong> </div> <div class="markdown-body"> <blockquote> <p>@rdeltour Any idea what could be the issue?</p> </blockquote> <p>The <code>html-to-metadata</code> XSLT only extracts the title and language info from HTML; all the other metadata currently has to be specified on the <code>metadata</code> port.</p> <p>I would agree this is fairly limited and we could support other metadata specified inline in the HTML documents.</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/bertfrees"><img src="https://avatars.githubusercontent.com/u/1167989?v=4" />bertfrees</a> commented <strong> 6 years ago</strong> </div> <div class="markdown-body"> <p>@K3nnythe13ed There are two inputs:</p> <ul> <li>List of the HTML documents to convert ("html" port)</li> <li>List of the HTML documents to extract metadata from ("metadata" port)</li> </ul> <p>Does the metadata port work? The metadata that is extracted from the html port is very limited at the moment.</p> </div> </div> <div class="page-bar-simple"> </div> <div class="footer"> <ul class="body"> <li>© <script> document.write(new Date().getFullYear()) </script> Githubissues.</li> <li>Githubissues is a development platform for aggregating issues.</li> </ul> </div> <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script> <script src="/githubissues/assets/js.js"></script> <script src="/githubissues/assets/markdown.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/highlight.min.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/languages/go.min.js"></script> <script> hljs.highlightAll(); </script> </body> </html>