Using zip files (e.g. with Google Docs)

Another easy way to import stuff into Confluence is to hand it a zip file with converted documents and specify a parent page under which the documents will live. Each of these documents becomes a Confluence page under the parent page.

./import_pages -z -p <parent_page_id> -u <username>

You only need to provide a parent page ID if your manifest includes pages that don’t have parent_id fields. If you specify a parent page with -p, the parent_id field in the manifest overrides the parent page you provide with this option.

To get a Confluence page ID, click on that page’s menu bar and select Page Information. The page ID is the last portion of the URL for the resulting page.

You can do a lot more with the importer. For details, get usage information from import_pages with

./import_pages --help