← Prev in month ← Prev in thread
Next in thread → Next in month →

FYI: additional resourceid samples

From
Dr. Stanley Doherty <>
Date
2020-11-09T15:45:52+00:00
ID
Thread
FYI: additional resourceid samples
Hi --

Took a couple of days to find my old samples of CSH using resourceid. 

We added <resourceid> to all maps and used Oxygen's WebHelp responsive transform to generate CSH. We first extracted all our sources from easyDITA every night, built them using Jenkins and the DITA-OT. Pre-production builds were kept in Jenkins (appname); production output went to Artifactory (appname) for product integration. 

Here's the map markup:

  <topicref href="syn_intro.dita" > 
   <topicmeta>
     <resourceid appname="jenkins-only" appid="syn_intro_1"/>
     <resourceid appname="artifactory" appid="syn_intro_2"/>
   </topicmeta>
  </topicref>
  <topicref href="syn_prereqs.dita" > 
   <topicmeta>
    <resourceid appname="jenkins-only" appid="syn_prereqs_1"/>
    <resourceid appname="artifactory" appid="syn_prereqs_2"/>
   </topicmeta>
  </topicref>

Here's the CSH library file used by the Console API.

   <appContext appname="jenkins-only" helpID="syn_intro_1" path="syn_intro.html"/>
   <appContext appname="artifactory" helpID="syn_intro_2" path="syn_intro.html"/>
   <appContext helpID="" path="syn_prereqs.html"/>
   <appContext appname="jenkins-only"
               helpID="syn_prereqs_1"
               path="syn_prereqs.html"/>
   <appContext appname="artifactory"
               helpID="syn_prereqs_2"
               path="syn_prereqs.html"/>

Pretty basic.
← Prev in month ← Prev in thread
Next in thread → Next in month →