Import Pages

Last modified: 4/6/2026

Import Pages

The Import Pages feature (/admin/import) allows administrators to import content from external sources into the platform. It supports zip archives of existing pages, individual files, and multiple source formats.

Supported Formats

FormatExtensionsNotes
JSPWiki.txtConverts JSPWiki syntax to Markdown
HTML.html, .htmExtracts article content, converts to Markdown
Markdown.md, .markdownPass-through; existing frontmatter is preserved as metadata — see jwilleke/ngdpbase#467 *(pending)*

The format dropdown in the UI includes all registered converters. Select Auto-detect to let the system choose based on file extension and content.

When to Import

How to Import

  1. Go to Admin → Import Pages
  2. Click Choose File and select a .zip archive
  3. Review the import options:
    • Overwrite existing pages — if a page with the same slug already exists, replace it with the imported version
    • Skip existing pages — leave existing pages unchanged and only add new ones
  4. Click Import to start the import
  5. The page shows a summary of pages added, updated, and skipped when complete

What Happens During Import

The import process:

  1. Extracts the archive to a temporary directory
  2. Reads each Markdown file and its frontmatter
  3. Writes the page to the data directory
  4. Rebuilds the page index to reflect the new content

Attachments included in the archive are also imported if present.

Caveats

See also Export Data to create an archive suitable for importing.