publication_conf.xml Example - Fluid Topics - 3.8 - Technical Notes

Upload Author-it Content to Fluid Topics

Product
Fluid Topics
FT_Version
3.8
Category
Technical Notes
audience
public

The following lines show an example of a publication_conf.xml configuration file containing the following elements:
  • Instructions for publishing books as default publications
  • Instructions for publishing the superbook with the ID 15974
  • Instructions for ignoring the style with the ID 92
  • Instructions for publishing two sets of books:
    • Fluid Topics "Installation and Administration Guide", "Configuration Guide", and "Integration Guide"
    • Fluid Topics "User Guide" and "Troubleshooting and FAQ"
?xml version='1.0' encoding='utf-8'?>
<ft:publications xmlns:ft="http://ref.fluidtopics.com/v2/ft#">
                           
  <ft:defaultPublication>
    <ft:variants>
      <ft:variant name="VariantA">
        <ft:values>
          <ft:value>a1</ft:value>
          <ft:value>a2</ft:value>
        </ft:values>
      </ft:variant>
      <ft:variant name="VariantB">
              ...
      </ft:variant>
    </ft:variants>
  </ft:defaultPublication>
              
  <ft:superBook>
    <ft:id>15974</ft:id>
  </ft:superBook>
              
  <ft:ignoredStyle>
    <ft:id>92</ft:id>
  </ft:ignoredStyle>
              
  <ft:languages>
    <ft:languageVariantName>language</ft:languageVariantName>
    <ft:lang label="language">en-US</ft:lang>
    <ft:lang label="language">fr-FR</ft:lang>
  </ft:languages>
              
  <ft:publication>
    <ft:books>
      <ft:id>16111<!-- Fluid Topics - Installation and Administration Guide --></ft:id>
      <ft:id>17646<!-- Fluid Topics - Configuration Guide --></ft:id>
      <ft:id>16741<!-- Fluid Topics - Integration Guide --></ft:id>
    </ft:books>
    <ft:include>
      <ft:combination>
        <ft:variants>
          <ft:variant name="audience">
            <ft:values>
              <ft:value>public</ft:value>
            </ft:values>
          </ft:variant>
          <ft:variant name="FT_Version">
            <ft:values>
              <ft:value>2.7</ft:value>
              <ft:value>2.8</ft:value>
              <ft:value>3.0</ft:value>
            </ft:values>
          </ft:variant>
          <ft:variant name="language">
            <ft:values>
              <ft:value>English</ft:value>
            </ft:values>
          </ft:variant>
          <ft:variant name="Platform">
            <ft:values>
              <ft:value>RHEL</ft:value>
              <ft:value>Debian</ft:value>
            </ft:values>
          </ft:variant>
          <ft:variant name="Category">
            <ft:values>
              <ft:value>Reference Guide</ft:value>
            </ft:values>
          </ft:variant>
          <ft:variant name="Product">
            <ft:values>
              <ft:value>Fluid-Topics</ft:value>
            </ft:values>
          </ft:variant>
        </ft:variants>
      </ft:combination>
    </ft:include>
    <ft:clusterSelector>Platform</ft:clusterSelector>
  </ft:publication>
              
  <ft:publication>
    <ft:books>
      <ft:id>18096<!-- Fluid Topics - User Guide --></ft:id>
      <ft:id>19053<!-- Fluid Topics - Troubleshooting and FAQ --></ft:id>
    </ft:books>
    <ft:include>
      <ft:combination>
        <ft:variants>
          <ft:variant name="audience">
            <ft:values>
              <ft:value>public</ft:value>
            </ft:values>
          </ft:variant>
          <ft:variant name="FT_Version">
            <ft:values>
              <ft:value>2.7</ft:value>
              <ft:value>2.8</ft:value>
              <ft:value>3.0</ft:value>
            </ft:values>
          </ft:variant>
          <ft:variant name="language">
            <ft:values>
              <ft:value>English</ft:value>
            </ft:values>
          </ft:variant>
          <ft:variant name="Platform">
            <ft:values>
              <ft:value>RHEL</ft:value>
              <ft:value>Debian</ft:value>
            </ft:values>
          </ft:variant>
          <ft:variant name="Category">
            <ft:values>
              <ft:value>Reference Guide</ft:value>
            </ft:values>
          </ft:variant>
          <ft:variant name="Product">
            <ft:values>
              <ft:value>Fluid-Topics</ft:value>
            </ft:values>
          </ft:variant>
        </ft:variants>
      </ft:combination>
    </ft:include>
    <ft:clusterSelector>FT_Version</ft:clusterSelector>
  </ft:publication>

</ft:publications>
The following lines show an example of a publication_conf.xml configuration file containing the following elements:
  • Instructions for publishing books as default publications
  • Instructions for publishing the superbook with the ID 15974
  • Instructions for ignoring the style with the ID 92
  • Instructions for publishing two sets of books:
    • Fluid Topics "Installation and Administration Guide", "Configuration Guide", and "Integration Guide"
    • Fluid Topics "User Guide" and "Troubleshooting and FAQ"
?xml version='1.0' encoding='utf-8'?>
<ft:publications xmlns:ft="http://ref.fluidtopics.com/v2/ft#">
                          
  <ft:defaultPublication>
    <ft:include
      <ft:combination
        <ft:variants>
          <ft:variant name="VariantA">
            <ft:values>
              <ft:value>a1</ft:value>
              <ft:value>a2</ft:value>
            </ft:values>
          </ft:variant>
          <ft:variant name="VariantB">
            ...
          </ft:variant>
        </ft:variants>
      </ft:combination
    </ft:include
  </ft:defaultPublication>
              
  <ft:superBook>
    <ft:id>15974</ft:id>
  </ft:superBook>
              
  <ft:ignoredStyle>
    <ft:id>92</ft:id>
  </ft:ignoredStyle>
              
  <ft:languages>
    <ft:languageVariantName>language</ft:languageVariantName>
    <ft:lang label="language">en-US</ft:lang>
    <ft:lang label="language">fr-FR</ft:lang>
  </ft:languages>
              
  <ft:publication>
    <ft:books>
      <ft:id>16111<!-- Fluid Topics - Installation and Administration Guide --></ft:id>
      <ft:id>17646<!-- Fluid Topics - Configuration Guide --></ft:id>
      <ft:id>16741<!-- Fluid Topics - Integration Guide --></ft:id>
    </ft:books>
    <ft:include>
      <ft:combination>
        <ft:variants>
          <ft:variant name="audience">
            <ft:values>
              <ft:value>public</ft:value>
            </ft:values>
          </ft:variant>
          <ft:variant name="FT_Version">
            <ft:values>
              <ft:value>2.7</ft:value>
              <ft:value>2.8</ft:value>
              <ft:value>3.0</ft:value>
            </ft:values>
          </ft:variant>
          <ft:variant name="language">
            <ft:values>
              <ft:value>English</ft:value>
            </ft:values>
          </ft:variant>
          <ft:variant name="Platform">
            <ft:values>
              <ft:value>RHEL</ft:value>
              <ft:value>Debian</ft:value>
            </ft:values>
          </ft:variant>
          <ft:variant name="Category">
            <ft:values>
              <ft:value>Reference Guide</ft:value>
            </ft:values>
          </ft:variant>
          <ft:variant name="Product">
            <ft:values>
              <ft:value>Fluid-Topics</ft:value>
            </ft:values>
          </ft:variant>
            </ft:variants>
         </ft:combination>
      </ft:include>
    <ft:clusterSelector>Platform</ft:clusterSelector>
  </ft:publication>
              
  <ft:publication>
    <ft:books>
      <ft:id>18096<!-- Fluid Topics - User Guide --></ft:id>
      <ft:id>19053<!-- Fluid Topics - Troubleshooting and FAQ --></ft:id>
    </ft:books>
    <ft:include>
      <ft:combination>
        <ft:variants>
          <ft:variant name="audience">
            <ft:values>
              <ft:value>public</ft:value>
            </ft:values>
          </ft:variant>
          <ft:variant name="FT_Version">
            <ft:values>
              <ft:value>2.7</ft:value>
              <ft:value>2.8</ft:value>
              <ft:value>3.0</ft:value>
            </ft:values>
          </ft:variant>
          <ft:variant name="language">
            <ft:values>
              <ft:value>English</ft:value>
            </ft:values>
          </ft:variant>
          <ft:variant name="Platform">
            <ft:values>
              <ft:value>RHEL</ft:value>
              <ft:value>Debian</ft:value>
            </ft:values>
          </ft:variant>
          <ft:variant name="Category">
            <ft:values>
              <ft:value>Reference Guide</ft:value>
            </ft:values>
          </ft:variant>
          <ft:variant name="Product">
            <ft:values>
              <ft:value>Fluid-Topics</ft:value>
            </ft:values>
          </ft:variant>
        </ft:variants>
      </ft:combination>
    </ft:include>
    <ft:clusterSelector>FT_Version</ft:clusterSelector>
  </ft:publication>
              
</ft:publications>