Paligo can import a single HTML file, as long as the file (and any file it references) is organized into a particular folder structure. Select the HTML (index.html) option when importing to Paligo.
Important
Paligo can only import valid HTML. We recommend that you test your HTML first by using a third-party HTML validator tool such as https://validator.w3.org/.
The import will fail if the HTML is invalid (Paligo recognises the content is invalid and reports "nothing to import").
Before you can import an HTML file, you need to organize the file and any referenced files into folders. You must also make sure that any references to other files, such as images or CSS, use relative references.
Note
To learn about relative references, see www.w3schools.com.
Note
Ensure that the source files are valid by using validators like Tidy or W3C.
HTML is not a structured format. The import will handle many flavors of HTML, but because of the many proprietary variants there is no guarantee it will work for yours. If you have problems, inquire about the possibilities to tweak the content.
-
Organize your HTML content like this:
-
Parent "container" folder
-
HTML file to be imported, for example, instructions.html
-
Images folder
-
Image files
-
-
CSS folder
-
CSS files
-
-
It is important that the "container" folder contains one HTML file at the root level, with any referenced images or CSS files in subfolders.
For example:
Tip
We recommend that you use an HTML validator to test your HTML file, such as https://www.html-tidy.org. This will help to identify and potentially fix any structural problems in your HTML before you attempt to import it.
-
-
Next, use your computer's operating system or a third-party application to make a zip file of the "container" folder.
-
Use the Import Wizard to import the zip file. Select the HTML format.
If your HTML import does not work, we recommend that you:
-
Validate your HTML content. Paligo will only import correctly formed HTML content.
There are many HTML validation tools you can use, such as https://www.html-tidy.org.
-
Make sure that you have organized the content as described. The arrangement of the files and folders in the zip file that you import is vital to the success of the import.
-
Check that your HTML files use relative references to images and CSS.
Comments
0 comments
Article is closed for comments.