Bug 700661

Summary: Arbitrary Injection of Topics
Product: [Community] PressGang CCMS Reporter: Joshua Wulf <jwulf>
Component: Web-UIAssignee: Matthew Casperson <mcaspers>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.xCC: cbredesen, lcarlon, topic-tool-list
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-05 02:33:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 699936    

Description Joshua Wulf 2011-04-28 22:13:52 UTC
Add the ability to arbitrarily inject one of the related topics by including a comment like:

<!-- Inject:44 -->

Where 44 is a TopicID. Skynet injects an xref to TopicID 44.
<xref linkend="[sectionID]"/>

<!-- InjectSequence:44,45,67 -->

Skynet injects:

<orderedlist>
[for each TopicID]
  <listitem><para><xref linkend="[sectionID]"/></para></listitem>
[end:for]
</orderedlist> 

<!-- InjectList:44,45,67 -->

Skynet injects:

<itemizedlist>
[for each TopicID]
  <listitem><para><xref linkend="[sectionID]"/></para></listitem>
[end:for]
</itemizedlist>

Comment 1 Joshua Wulf 2011-04-30 03:28:53 UTC
Important point: only related topics from Skynet can be injected (this means that we maintain linking meta-data integrity at the topic map level). Attempts to inject non-linked topics should generate a warning.

Comment 2 Matthew Casperson 2011-05-05 02:33:25 UTC
Done