Add Title description

Having trouble installing Oxygen? Got a bug to report? Post it all here.
catherine
Posts: 158
Joined: Fri Nov 10, 2017 8:16 am

Add Title description

Post by catherine »

Hi, oxygen experts,
How to add a short description of the webhelp title?
Just like the Oxygen webhelp shows: https://www.oxygenxml.com/doc/versions/19.1/ug-editor/

Title: Introduction
Description: Welcome to the User Manual of Oxygen XML Editor 19.1

When I generate a webhelp, I can only get a title, how to add a short description for my titles?

Plus, how to add logo and title above the search box just like the Oxygen webhelp shows?

Will appreciate for your any suggestion, thanks!
thedantanner
Posts: 42
Joined: Thu Oct 27, 2016 11:13 pm

Re: Add Title description

Post by thedantanner »

I belive you can accomplish this by adding the element: shortdesc after your title.

<title>The Title</title>
<shortdesc>A short description of the title.</shortdesc>

-d
bogdan_cercelaru
Posts: 222
Joined: Tue Jul 01, 2014 11:48 am

Re: Add Title description

Post by bogdan_cercelaru »

Hello,
catherine wrote:When I generate a webhelp, I can only get a title, how to add a short description for my titles?
The short description displayed in tiles is gathered from the <shortdesc/> element found in DITA topics.
You can overwrite this short description using the topicmeta/shortdesc element of the <topicref/> element found in the DITA map file.
catherine wrote:Plus, how to add logo and title above the search box just like the Oxygen webhelp shows?
To add an HTML fragment before main page search, you could use the "webhelp.fragment.before.main.page.search" parameter from the transformation scenario to point to a well-formed XML fragment that contains your custom HTML.
The XML file content could be as follow:

Code: Select all

<div id="ug-main-page-search"> <img src="URL_TO_IMG" height="50" width="50" /> Custom text here</div>
More information could be found here:
- WebHelp plugin additional parameters
- How to refer resources in the XML file
- How to copy additional resources to WebHelp output

Regards,
Bogdan
Bogdan Cercelaru
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply