Red Hat Bugzilla – Bug 823692
Missing instructions for XML Export Only
Last modified: 2015-08-09 21:22:35 EDT
Description of problem:
I needed to export the XML from the CCMS to test import to another toolchain (in my case, Confluence). But there were no instructions specifically for this operation.
Version-Release number of selected component (if applicable):
Unsure of Book version number. I guess it is 1.0
I checked with Lee Newson, and he confirmed the correct procedure with me. Here it is:
1. csprocessor checkout [content_spec_number)
2. cd [checked-out spec]
3. csprocessor build
- csprocessor build -p (-p to enforce permissive mode
in case of broken topics - only use for test imports).
4. csprocessor assemble --no-build (so the content spec isn't built,
and only XML files are assembled)
The dir location for XML files after csprocessor assemble --no-build is <bookname>/assembly/publican/en-US
Just to some minor details to this.
Steps 3 & 4 can be combined into: "csprocessor assemble -p". However this will also run the publican build command. As such I've added an RFE (see Bug #844233) to support the functionality directly.