- Firstly, insert a channel definition into the ChannelConfig-ext.xml file located at "Quark Publishing Platform\Server\ext\ChannelConfig-ext.xml". For example:
<channel id="researchReportPdf" name="ResearchReport.PDF" publishingProcess="ResearchReportProcess" type="publish">
<param name="XSL_URI" ask="true">classpath:BusDoc2QXPS.xslt</param>
<param name="QXP_TEMPLATE_URI" ask="true">classpath:BLTEMP.qxp</param>
</channel>
NOTE: The user may also opt to duplicate and modify an existing channel definition from this file. - Include a process configuration XML for the publishingProcess specified in the channel definition above. Place this file in the "Quark Publishing Platform\Server\ext\publishing" directory or in the designated publishing folder within the ext directory. Additionally, ensure to append the filename in ProcessConfig-ext.xml.
For example:
<import resource="classpath:ResearchReportProcessConfig.xml" />
Here, ResearchReportProcessConfig.xml denotes the XML file containing the process definition. The user can duplicate and customize an existing process definition as needed. - Integrate the content type to publishing channels mapping in PublishingConfig-ext.xml situated in the "Quark Publishing Platform\Server\ext" directory.
For example:
<content-type name="Research Report" applyToChildContentTypes="true">
<channelId>researchReportJpeg</channelId>
<channelId>researchReportPdf</channelId>
</content-type>
Similar to the previous steps, the user can duplicate and adjust an existing channel mapping.
- Incorporate this channel mapping into Workspace-Config.xml found in "Quark Publishing Platform\Server\webapps\workspace\WEB-INF\classes\Workspace-Config.xml".
For example:
<ChannelMapping contentType="Research Report" applyToChildContentTypes="true">
<Channels>
<Channel id="researchReportPdf" outputFormat="PDF_ARCHIVE" displayName="ResearchReport.PDF"/>
</Channels>
</ChannelMapping> - Restart the Quark Publishing Platform, and the newly created channel should be visible in your channel list.
How to create a new Publishing Channel
Here are the steps to create a new publishing channel in Quark Publishing Platform:
Priyanka Bhotika
Comments