Bug 751305 - Add parameters to Content Spec base
Summary: Add parameters to Content Spec base
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: PressGang CCMS
Classification: Community
Component: CSProcessor
Version: 1.x
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Lee Newson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 751251
TreeView+ depends on / blocked
 
Reported: 2011-11-04 09:35 UTC by Joshua Wulf
Modified: 2014-10-19 22:59 UTC (History)
2 users (show)

Fixed In Version: 0.15.0
Clone Of:
Environment:
Last Closed: 2012-02-22 03:04:57 UTC
Embargoed:


Attachments (Terms of Use)

Description Joshua Wulf 2011-11-04 09:35:30 UTC
Add the following parameters to the Content spec base:

Description - A paragraph that is inserted into the Abstract (<abstract> in Book_Info.xml). The current Content spec information should follow that paragraph in the abstract, and say: "This book was built from Content Specification ID: 7 Revision: 40."

Copyright Holder - a string value that is inserted into <<ContentSpec.Title>>.ent:

<!ENTITY HOLDER "<<CopyrightHolder>>">

Comment 1 Joshua Wulf 2011-11-04 09:49:19 UTC
Scratch the Content spec information in the abstract. We'll put it in the Revision History (in bug 751308)

Comment 2 Lee Newson 2011-11-07 02:14:41 UTC
Added.

The Description isn't mandatory. If no description is provided the default description "A brief paragraph describing this book. This will be used as the description for the rpm package." will be set. To add a description use the "Description = <description>" syntax. Note: The description must be on a single line.

The Copyright Holder is mandatory. For old versions of content specs that don't have the field then it will just insert a blank string for the HOLDER entity. To use the copyright holder field insert "Copyright Holder = <copyright>" into a content specification.

As of this comment, the Content Spec Information is still inserted into the abstract as a separate paragraph. This will change once bug #751308  has been implemented.

Comment 3 Lee Newson 2011-11-07 02:38:06 UTC
To be able to use the new features you will also need to execute the "build-15.sql" SQL file as this change required adding two new fields to the database.

Comment 4 Joshua Wulf 2012-02-22 03:04:57 UTC
Verified on:

CSProcessor client version: 0.17.0
Web Service at http://csprocessor.cloud.lab.eng.bne.redhat.com:8080/ version: 0.21.4


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