How to insert the metadata into index.html?

Anna Green
Posts: 4
Joined: Fri Jul 16, 2021 11:58 am

How to insert the metadata into index.html?

Post by Anna Green » Fri Jul 16, 2021 4:25 pm

Hi,

I have a project in Oxygen XML Editor (v 21.0).
I upload the project to webhelp (DITA Map WebHelp Classic (deprecated)).

There is metadata on the main page.
Image

After unloading the project, the metadata is unloaded to the HTML topics. It is not visible in the browser, but it is in HTML. For example, if you look at one of the topics of testtopic1.html:

Image


But in index.html it is not unloaded. How can I insert the metadata in index.html?
Anywhere in the HTML structure. Is it possible? If so, how?
Regards,
Anna

alin
Site Admin
Posts: 205
Joined: Thu Dec 24, 2009 11:21 am

Re: How to insert the metadata into index.html?

Post by alin » Tue Jul 20, 2021 9:19 am

Hello,

You need to customize the WebHelp Classic plugin in order to transfer the metadata information in the index.html page. You can do this by overriding the default XSLT templates that are used by the WebHelp transformations as described here: https://www.oxygenxml.com/doc/versions/ ... ssing.html

Please note that the WebHelp Classic Plugin has been removed from the current Oxygen distribution. We are currently focusing on improving the WebHelp Responsive Plugin which can be used to transform DITA content to HTML 5.

Regards,
Alin
Alin Balasa
Software Developer
<oXygen/> XML Editor
http://www.oxygenxml.com

Post Reply