How to show <othermeta> in PDF transformations?
Posted: Thu Aug 15, 2019 7:29 am
Hi,
We record information about our documents in <bookmeta>. I would like to use this data, including <othermeta>, in the PDF both as metadata and (for some tags) in the headers/footers.
I've had some success getting some of the values through to the PDF, however the <othermeta> does not carry through to the PDF in any form.
The <bookmeta> includes:
Our PDF Chemistry CSS contains the following, which is supposed to dump all meta tags as custom meta fields in the PDF:
This passes some of the meta tags through to the PDF custom metadata(e.g. Author), however the names do not match the <othermeta> tag names. The tag names showing are matching those in the merged.html file Author view but not what is showing in the Text view.
Any ideas why the <othermeta> tag names are not mapping through?
I am very keen to use the Document ID in the document footer - what is the correct Chemistry CSS to pull specific <othermeta> tags like the Document ID through into the PDF document?
Thanks!
We record information about our documents in <bookmeta>. I would like to use this data, including <othermeta>, in the PDF both as metadata and (for some tags) in the headers/footers.
I've had some success getting some of the values through to the PDF, however the <othermeta> does not carry through to the PDF in any form.
The <bookmeta> includes:
Code: Select all
<bookmeta class="- map/topicmeta bookmap/bookmeta ">
<author>D. Duck</author>
<keywords>
<keyword>My department</keyword>
</keywords>
<othermeta name="Document ID" content="DB03-COUNTDOWN" class="- topic/othermeta "/>
<othermeta name="Current revision" content="2.1"/>
Code: Select all
meta {
-oxy-pdf-meta-custom: attr(name) attr(content);
}
This passes some of the meta tags through to the PDF custom metadata(e.g. Author), however the names do not match the <othermeta> tag names. The tag names showing are matching those in the merged.html file Author view but not what is showing in the Text view.
Any ideas why the <othermeta> tag names are not mapping through?
I am very keen to use the Document ID in the document footer - what is the correct Chemistry CSS to pull specific <othermeta> tags like the Document ID through into the PDF document?
Thanks!