You can create many Knowledge base or Help articles at once from HTML files. Each file becomes one article.
Import articles
- Go to Knowledge base > Articles (or Help > Articles).
- Click Import articles.
- Select a Category.
- Drag and drop one or more .html or .htm files to the HTML files area, or click the area to select them. You can add more files the same way.
- Check the list. Each file shows the title the article will get, the file name and the size. Click the x icon to remove a file.
- Select the Status: Active or Inactive. Use Inactive if you want to check the articles before readers see them.
- Click Import.
A message shows how many articles were imported and how many files were skipped.
Title of the article
- The page title (the title tag) of the file is used.
- If there is no page title, the first main heading (h1) is used, and it is removed from the article text, so it is not shown twice.
- If there is none of them, the file name is used. For example, getting-started.html becomes Getting started.
What is imported
- The content of the page body, with its formatting: headings, lists, tables, links and styles.
- Images work only if they use a full web address (for example https://...). Images with a local path, like images/photo.png, are not uploaded. Add them later by editing the article.
- Labels and related articles are not set. Edit the article to add them.
Security
Only users who can manage Help and Knowledge base can import. The content is cleaned before it is saved:
- Scripts, styles blocks, frames, forms, embedded objects, SVG and comments are removed.
- Event attributes (like onclick) and script links (like [removed]) are removed.
- The normal security filter of the article editor is applied too.
Limits
- Up to 100 files at a time.
- Up to 2 MB for each file. Bigger files and other file types are skipped.
- Empty files are skipped.