Use the Import Wizard
Paligo has an import wizard that makes it easier to import content from other formats, including DITA, MadCap Flare, Confluence and Microsoft Word. The settings are grouped in two tabs: General options and Custom options. Some settings and preparations differ between the import formats.
During the import, Paligo will:
-
Automatically detect if several of the sections you are importing are identical. If it finds any, it will import the topic once and will then reuse the topic rather than import the same section several times. This is more efficient as, ideally, content should exist once in Paligo, and then that single instance is reused wherever it is needed.
-
Detect errors in the structure. If you get a warning about incorrect structure when you import content, try checking the Ignore warnings on import validation box. It is available for all formats apart from Paligo Export Format (PEF). When this feature is enabled, Paligo will attempt to fix any invalid structures that it finds during the import.
-
Import your content and separate it into topics. These topics are then organized into a publication and project, with the same structure as the original version of the content.
Tip
The necessary preparations before an import differs between the import types, see Import Types.
To import content to Paligo:
-
Prepare the content and put it in a folder and zip it.
Note
There must only be one main content file in the folder, such as
index.html
for HTML format. Images can be in folders or not, as long as they are in the same zipped folder and the references to them are correct.The preparations might differ depending on the Import type.
-
Select the Dotted menu (...) for the documents folder in the Content Manager.
-
Select Create folder.
-
Enter a folder name and confirm it with the checkmark.
-
Select the Dotted menu (...) for the new folder in the Content Manager.
-
Select Import content.
-
Select the Import type from the menu.
-
Select OK.
-
Select the zip file to be uploaded.
-
Use the General options tab to set your preferences for the import:
-
Try to match components with existing components
Check this box if you want Paligo to recognize components that are identical to components that already exist in Paligo. Paligo will not import content that already exists and will reuse the existing content instead. We recommend that you check the box so that your imports are more efficient and take advantage of Paligo's content reuse capabilities.
-
Import admonitions as separate components
Paligo recommends that you check this box if you know you have many identical admonitions (notes, warnings and more). But if most are unique, leave it unchecked.
-
Ignore warnings on import validation
In most cases, Paligo recommends that you check this box unless you have problems when trying the import. Paligo will usually fix minor problems automatically during the import process. If you disable this feature, Paligo will reject any invalid XML, display a warning message and stop the import process.
Note
This option is not shown for Paligo export file (PEF) imports.
-
Import missing images
When enabled, placeholders for missing images will be added to your Media folder. This is the default setting. Disable this option to disregard missing images.
-
Schema max depth level
Only available for Swagger OpenAPI
This number represents the level of schema objects that can be included in the code samples in your documentation.
For example:
-
Schema max depth level = 1. Paligo does not use referenced schema objects for the samples. The name of the referenced schema is included, but its content is not shown.
Max depth 1: { "company" : {} }
-
Schema max depth level = 2. Paligo shows the content of the referenced schema object. If that referenced object includes references to other schema objects, only the names of those objects are shown.
Max depth 2: { "company" : { "name" : "Paligo", "country : "Sweden, "address" : {} } }
-
Schema max depth level = 3. Paligo shows the content of two levels of referenced schema objects. If the second level of referenced schema objects include references to other schema objects, those references are by name only.
Max depth 3: { "company" : { "name" : "Paligo", "country : "Sweden, "address" : { "street" : "Street Name 123", "postcode" : "1234", }, } }
-
-
Code snippet languages
Only available for Swagger OpenAPI
These are the languages that you want to use for code samples in the published output. They will appear as options at the top of the sample code part of the API documentation, if you publish using the API style layout. When a reader selects an option, the code sample changes so that it provides the code in the selected language. For example, if the reader selects JavaScript, the JavaScript code samples are shown.
-
-
Use the Custom options tab to set your preferences for the titles, numbering, folder levels, and variables:
-
Title prefix
Use this setting if you want to mark your imported topics with a prefix. Enter the prefix in the field. If you do not want a prefix, leave the field blank.
-
Folder numbering
Enable this setting to add sequential numbering to the folders for your imported content. Disable it if you don't want numbering.
-
Max folder levels
Use to control the maximum number of folder levels Paligo will create for your imported content. By default, Paligo will create a folder structure that matches the structure of your import content down to the second level. For example, if you have a manual with chapters and subsections, the import will create a folder for each "chapter" and the first level of subsections.
The default value is set to 1. It means that each group of topics will be in one folder. In the image below, the topics addPet, deletePet, findPetById and findPets are all in a single folder named as
2. Default
. If you set the value to 2, the content would be organized so that each topic is in its own folder.You can increase the number of folder levels to whatever number you need for your content. Paligo will create a new folder for each level as long as there is content at that level in the import.
-
Match with existing variable set:
Paligo can create variable sets from DITA, MadCap Flare, Paligo Export File (PEF) and DocBook 5.1 imported content. This setting only applies to those.
-
The first time you import the content, leave this field blank. Paligo will create a variable set for your content.
-
If the content has been imported before or it already exists in Paligo, enter the ID of the variable set in Paligo. Paligo will then match the imported content to the existing variable set and will not create a duplicate. To find a variable set ID, see Find a Variable Set ID.
However, you can only match one variable set, so if there are multiple in the import, the others will still be duplicated.
-
-
-
Select OK to upload your import zip file.
Paligo will import the content and build a structure with a publication folder and a topics folder. Inside the publication folder there is a publication that links to the created topics. Inside the topics folder there will be subfolders for each article and section, even for unmapped articles and sections.
Note
Depending on how much big the .zip file is, the import might take anywhere from 10 seconds to several minutes.