Bug 752710 - RFE: Topic Map topic type
Summary: RFE: Topic Map topic type
Keywords:
Status: NEW
Alias: None
Product: PressGang CCMS
Classification: Community
Component: CSProcessor
Version: 1.x
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
: 1088056 (view as bug list)
Depends On:
Blocks: 752997 751295
TreeView+ depends on / blocked
 
Reported: 2011-11-10 08:04 UTC by Joshua Wulf
Modified: 2023-02-21 23:20 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Joshua Wulf 2011-11-10 08:04:32 UTC
A new topic Type, a Topic Map.

A Topic Map is a reusable section of a Content Spec.

It maps roughly to a docbook Chapter, and is written as a Content Spec.


The Content Spec processor will process content specs to resolve and expand all nested Topic Maps until it has a Content Spec composed purely of non-map topics, then it will build the output.

For example:

Topic ID 567; 
Topic Type: Topic Map;
Topic Title: Install Proxy Server

Topic content:

Chapter: Install Proxy Server
  The Proxy Server [56]
  Section: Getting the Proxy Server
    Red Hat Network [34]
    Red Hat Network and Software Delivery [78]
    RHN Channels [55]
    Required RHN Channels for the Proxy Server [678]
    Download Software [80]
  Section: Installing the Proxy Server
    Install the Proxy Server [455]
    
========================================

So a Content Spec that contains:


Install Proxy Server [567]    

Chapter: Configure Proxy Server
  Configuration tools [577]
  Configure the Proxy Server [31]
  
  
=====================================

becomes, when the Topic Map topic ID 567 is expanded:

Chapter: Install Proxy Server
  The Proxy Server [56]
  Section: Getting the Proxy Server
    Red Hat Network [34]
    Red Hat Network and Software Delivery [78]
    RHN Channels [55]
    Required RHN Channels for the Proxy Server [678]
    Download Software [80]
  Section: Installing the Proxy Server
    Install the Proxy Server [455]
    
Chapter: Configure Proxy Server
  Configuration tools [577]
  Configure the Proxy Server [31]
  
==============================================
  
and then gets processed. So all topic maps are expanded, then the Content Spec is processed.

Comment 1 Joshua Wulf 2011-11-10 08:05:46 UTC
A couple of observations:

The Topic Map topic should be validated when it is pushed. 

Any relationships that are declared in the Topic Map should be in the Topic Map, so no dependencies outside the Topic Map are allowed.

Comment 2 Joshua Wulf 2011-11-10 08:06:39 UTC
See the interactive demo here: 

http://downtown.englab.bne.redhat.com/download/videos/2011-11-10-jwulf-The_Zen_of_Relationships.zip

Each of the "topics" being remixed in that demo will be Topic Maps.

Comment 3 Misty Stanley-Jones 2013-05-29 02:45:04 UTC
Is this made obsolete by the direction the csprocessor is going in now?

Comment 4 Stephen Gordon 2013-06-20 17:00:17 UTC
(In reply to Misty Stanley-Jones from comment #3)
> Is this made obsolete by the direction the csprocessor is going in now?

For those of us playing along at home, what direction is that? :). I came across this when looking to file a similar request. 

My use case is a common OpenStack introduction, I would prefer to be able to maintain it in a map that is included in each guide rather than split out another RH-based brand (and the overhead that comes with that) or copy pasting the structure to each spec.

Comment 5 Misty Stanley-Jones 2013-06-20 23:49:32 UTC
Lee Newson can speak to this more, but the goal is for the CSProcessor map to be an object, not a flat text file. This will enable us to build an interactive UI around the topic map creation and editing process (collaborative drag-drop to reorganize, among other things). We would probably still include a way to represent the map as a flat text file, but that wouldn't be its internal structure. 

One implication of that change is that specs won't be stored just like topics, as they are now. The way it is done now was always a temporary measure.

Comment 6 Lee Newson 2013-06-21 01:17:31 UTC
I'll have to talk to the Team on this one before I can provide an accurate answer sorry Misty and Steve. But the idea behind this should still be valid and do-able. It would actually tie in fairly nicely with BZ#833289.

Comment 7 Cheryn Tan 2013-08-06 04:49:37 UTC
+1 for this request. 

The RHEV and OpenStack use case is that we are sharing topics across both suites. It's easy enough to update a topic and have the changes applied across both suites, but what if we need to add a new topic into the sequence? We'd have to rely on manually adding the topic into all affected content specs. 

So to take Josh's example map:

Chapter: Install Proxy Server
  The Proxy Server [56]
  Section: Getting the Proxy Server
    Red Hat Network [34]
    Red Hat Network and Software Delivery [78]
    RHN Channels [55]
    Required RHN Channels for the Proxy Server [678]
    Download Software [80]

If we wanted to add a new topic, like "Required Red Hat Subscription Manager Entitlements", which applies for both RHEV and RHOS (albeit with conditionals) we could add the topic into the topic map. Here the topic maps in each content spec will automatically pull down this added topic. 

This will help us greatly in keeping content synced across different suites without having to keep manual checklists.

Comment 8 Lee Newson 2013-10-01 05:12:04 UTC
Moving this back to NEW, since there hasn't been any activity on this bug for
some time and we currently don't have anything scheduled.

Comment 9 Lee Newson 2014-04-16 00:50:52 UTC
*** Bug 1088056 has been marked as a duplicate of this bug. ***


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