Bug 700661 - Arbitrary Injection of Topics
Summary: Arbitrary Injection of Topics
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: PressGang CCMS
Classification: Community
Component: Web-UI
Version: 1.x
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Matthew Casperson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 699936
TreeView+ depends on / blocked
 
Reported: 2011-04-28 22:13 UTC by Joshua Wulf
Modified: 2014-10-19 22:58 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-05 02:33:25 UTC


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.