Bug 747138

Summary: Ability to inject topic titles and text
Product: [Community] PressGang CCMS Reporter: Misty Stanley-Jones <misty>
Component: Web-UIAssignee: Matthew Casperson <mcaspers>
Status: CLOSED CURRENTRELEASE QA Contact: Misty Stanley-Jones <misty>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.xCC: cbredesen, lcarlon, lnewson, 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: 2013-07-02 00:24:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Misty Stanley-Jones 2011-10-18 22:14:09 UTC
As we discussed in IRC, I think the ability to inject topic titles and text would be useful. The use I have in mind is building up lists of terms and definitions, but it could also be useful when having the concept inline really clarifies the task, but we don't want to duplicate content. Perhaps we could use roles on items within titles to exclude them from the insertion. So here is some XML to illustrate these ideas:

Example of a list of terms:
<section>
  <title>List of terms</title>
  <variablelist>
	<varlistentry>
	  <term><!-- InjectTitle: 1234 --></term>
	  <listitem>
		<para>
		  <!-- InjectText: 1234 -->
		</para>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><!-- InjectTitle: 2345 --></term>
	  <listitem>
		<para>
		  <!-- InjectText: 2345 -->
		</para>
	  </listitem>
	</varlistentry>
  </variablelist>
</section>

Example of a topic with excluded text:
<section>
  <title>Concept with excluded text</title>
  <para>
	A concept with excluded text is a concept where you don't want all of the
	text to be included in a text injection.
  </para>
  <para role="noinject">
	This paragraph would not be injected if I asked to inject the text of this
	topic.
  </para>
  <para>
	This one would be injected right after the first one. This might require
	modifications to the DTD and I am not sure if that is cool or not.
  </para>
</section>

Comment 1 Matthew Casperson 2011-10-24 04:51:21 UTC
Fixed in 20111024-1450