SDL XPPPlugin publishing script setup
Overview of the changes required to be made in the Content Manager publishing chain
Publish plugin changes
The delivered publishing chain must include:
- The file ishrunsdlxpp.vbs with the web service calls to the SDL XPP server.
- The publish plugin "IshRunSDLXPP" in the publish plugin configuration (see ) which calls ishrunsdlxpp.vbs SDL XPP.
Publising flow
Below the logical flow when publishing content through SDL XPP.
- Run the publish plugin
IshRunDITAOTto merge the XML content using the DITA-OT withtranstype ishxpp. - Run the publish plugin
IshRunSDLXPPwhich triggers the procedure RunSDLXPPTransform:This procedure calls in the order as specified below, the respective SDL XPP web services to process the current XML and graphical content into PDF.- Create the Job location in SDL XPP
- Copy style job ticket to the Job location
- Create the Division location in SDL XPP to save the content (Division is named 1-content).
- Update the Job Ticket to include the correct Image chasing values for the publishing job.
- Update the Division Ticket to include the correct
Alt. Stylefor the publishing job. - UploadXMLFiles to load the merged xml file into the Division (1-content) location .
- ConvertXMLFile to convert and prepare the xml file for use in SDL XPP using the xychange command.
- UploadGraphicalFiles to upload the graphic files to the Division (1-content) location.
- ConvertToXSF to convert the content into the internal SDL XPP format.
- RunCompose to compose the PDF in the internal SDL XPP format.
- SetDocumentAssembly to prepare and configure the correct Document Assembly Ticket.
- If required, run CITI for the requested options (TOC, Index, Front matter)
- Print the PDF file. If the printmarks option is switched on, then the print settings are passed on as well.
- Retrieve the generated PDF file from SDL XPP to Content Manager.
- Clean-up the Job location in SDL XPP.
- The publish plugin
IshFindFileis used to find the generated PDF file. - Finally the publish plugin
IshUploadPublishResultis used to upload the PDF file into Content Manager. - If the cleanup flag is switched on, the publish process will clean up the temporary files in the Data folder.