How to Add a Favicon in WebHelp SystemsEdit online
You can add a custom favicon to your WebHelp output by simply using a parameter in the transformation scenario to point to your favicon image. This is available for DITA and DocBook WebHelp output using WebHelp Classic or WebHelp Classic with Feedback transformations.
Using Oxygen XML Editor/Author
- Edit the WebHelp transformation scenario and open the Parameters tab.
- Locate the
webhelp.faviconparameter and enter the file path that points to the image that will be use as the favicon. - Run the transformation scenario.
Result: Browsers that provide favicon support will display the favicon (typically in the browser's address bar, in the list of bookmarks, and in the history).
Using a Script Outside of Oxygen XML Editor/Author
- You must have a valid license for the Oxygen XML WebHelp Plugin (https://www.oxygenxml.com/buy_webhelp.html).
- The Oxygen XML WebHelp Plugin must be installed and integrated for the DITA Open Toolkit or a DocBook XSL Distribution.
- Specify the file path that points to the image that will be use as the favicon
using the
webhelp.faviconparameter. - Execute the transformation script.
Result: Browsers that provide favicon support will display the favicon (typically in the browser's address bar, in the list of bookmarks, and in the history).
- Windows:
dita.bat -i c:\mySample.ditamap -f webhelp -Dwebhelp.favicon=c:\myFavicon.jpg - Mac OS X/ Linux:
dita -i /mySample.ditamap -f webhelp -Dwebhelp.favicon=/myFavicon.jpg