Bug 747138 - Ability to inject topic titles and text
Summary: Ability to inject topic titles and text
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: Misty Stanley-Jones
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-18 22:14 UTC by Misty Stanley-Jones
Modified: 2014-08-04 22:26 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-02 00:24:13 UTC


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 747042 1 None None None 2021-01-20 06:05:38 UTC

Internal Links: 747042

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


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