publication_conf.json example - Fluid Topics - 3.4 - Technical Notes

Upload Author-it Content to Fluid Topics

Product
Fluid Topics
FT_Version
3.4
Category
Technical Notes
audience
public

The following lines show an example of a publication_conf.json configuration file:

{
  "publications": {
    "superBook": [1234, 5678],
    "ignoredStyle": [42, 84],
    "languages": {
      "languageVariantName": "language",
      "lang": {
        "LanguageA": "en",
        "LanguageB": "fr"
      }
    },
    "defaultPublication": {
        "clusterSelector": "VariantA",
      "variants": [{
        "variantA": ["a1", "a2", "a3"]
      }, {
        "variantB": ["b1", "b2", "b3", "b4"]
      }, {
        "variantC": ["c1", "c2"]
      }, {
        "variantD": ["d1"]
      }]
    },
    "publication": [{
      "books": ["1337, 80085"],
      "clusterSelector": "VariantA",
      "variants": [{
        "VariantA": ["a1", "a2", "a3"]
      }, {
        "VariantB": ["b1"]
      }, {
        "VariantC": ["c1", "c2"]
      }],
      "exclude": [{
        "variants": [{
          "VariantD": ["d1"]
        }, {
          "VariantC": ["c3", "c4"]
        }]
      }]
    }]
  }
}