Bug 861203 - Include keywordset and keyword elements in assembled content.
Summary: Include keywordset and keyword elements in assembled content.
Keywords:
Status: NEW
Alias: None
Product: PressGang CCMS
Classification: Community
Component: CSProcessor
Version: 2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 836838
Blocks: 791288
TreeView+ depends on / blocked
 
Reported: 2012-09-27 19:45 UTC by Stephen Gordon
Modified: 2023-02-21 23:19 UTC (History)
0 users

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 839461 0 low NEW RFE: Inject metadata tags to topic <section> role attribute 2023-02-21 23:19:48 UTC

Internal Links: 839461

Description Stephen Gordon 2012-09-27 19:45:42 UTC
Description of problem:

PressGang currently includes keywords in topics based on the tags associated with the content. For example:

    <sectioninfo>
        <keywordset>
            <keyword>
                Installation
            </keyword>
            <keyword>
                Red Hat Enterprise Virtualization Manager
            </keyword>
            <keyword>
                RHEV 3.1
            </keyword>
            <keyword>
                Text
            </keyword>
        </keywordset>
    </sectioninfo>

When I grep assembled books for the keyword tags though they are nowhere to be found (except oddly enough in Errors.xml). Ideally the keywordsets should be included in the assembled book.

Comment 1 Joshua Wulf 2012-09-28 15:01:11 UTC
Rendering of the keywordset currently is (not) done in the Publican brand xsl. 

It is injected into the <head> of the html page as a <meta> element when the topic is the html page is chunked on the topic section.

For example:

<meta name="keywords" content=" csprocessor 0.17 ,  csprocessor 0.22 ">

So build your book as chunked html, then find an html page that contains one topic only. The keywordset for that section will render into the <head>.

One thing to do would be to render all the keywords into the bookinfo keywordset - that would put all the elements into the metadata for the html-single version.

Also, a Publican brand could be modified to render the keywordsets for topics as microdata, ala http://schema.org/docs/gs.html.

Comment 2 Stephen Gordon 2012-09-28 15:16:00 UTC
(In reply to comment #1)
> Rendering of the keywordset currently is (not) done in the Publican brand
> xsl. 

Right, but as it stands currently we aren't getting that far because the keywordsets aren't even in the XML we export for assembly (again except if/when the topic is listed in Errors.xml).


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