Insert metadata in the <head> for HTML5 files
Posted: Mon Jul 11, 2022 1:30 pm
Hello,
I'm currently in a situation where I notice that metadata declared inn a bookmeta is not propagated into an HTML5 publication, in the <head> element. When publishing my ditamap, I can see it is processed and available in the temp folder.
For instance :
is rendered as:
and the index.html renders this:
Thus, how could I get the previous declaration visible in the <head> element?
I'm currently in a situation where I notice that metadata declared inn a bookmeta is not propagated into an HTML5 publication, in the <head> element. When publishing my ditamap, I can see it is processed and available in the temp folder.
For instance :
Code: Select all
<copyrfirst>
<year>2021</year>
</copyrfirst>
Code: Select all
<copyrfirst class="- topic/data bookmap/copyrfirst " xtrc="copyrfirst:1;10:16"
xtrf="file:/Users/xxxxxx/0P18U-TEMP-SEN.ditamap">
Code: Select all
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="UTF-8">
<meta name="copyright" content="(C) Copyright 2022">
<meta name="DC.rights.owner" content="(C) Copyright 2022">
<meta name="DC.type" content="bookmap">
<meta name="DC.format" content="HTML5">
<meta name="DC.identifier" content="guid-e510e093-49cd-4ea5-8c1d-fdc0b0d5c1ea">
<meta name="DC.language" content="en-us">
<link rel="stylesheet" type="text/css" href="commonltr.css">
<title>0P18U-Map</title>
</head>