sb_import_site
Read a site's sitemap or page links to generate draft pages from your tokens. Dry run returns the page list before creation.
Instructions
Read a WHOLE site from one URL — its sitemap, or the links on that page — and give each page found its own DRAFT page here, built from this site's tokens. Not a clone. Dry run returns the page list before anything is created.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nav | No | Shared header linking the new pages, default true | |
| url | Yes | Any page of the site | |
| depth | No | No sitemap: link depth, default 1 | |
| dry_run | No | ||
| exclude | No | ||
| include | No | Path substrings to keep | |
| site_id | No | ||
| homepage | No | Entry into this site's home page, default true | |
| max_nodes | No | Per page, default 300 | |
| max_pages | No | Default 12 | |
| max_images | No | Default 24, whole import | |
| upload_images | No | ||
| nav_timeout_ms | No | How long to wait for a page to answer at all. Default 30000; raise it for a slow origin |