Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

Re-running an import

An import can always run again; that is how a site stays in step with its source.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/ext/exp_static_html_imports/re-running.md

Re-running an import

An import can always run again; that is how a site stays in step with its source.

  • Identity. Every page is the object with the remote id staticimport-<type>-<md5 of its source path>, wherever it has been moved to.
  • Changed source. The page is updated: a new version, published.
  • Unchanged source. Nothing is written.
  • Edited in the CMS. The import keeps the hash of what it wrote. When the object no longer has that content, the page is flagged and left alone. --overwrite-flagged writes it anyway, and the edit is lost.
  • Left the source. The node is hidden and reported. --apply-removals moves it to the trash instead.
  • Copies. A page with the same content as one already imported (DuplicatePatterns[]) and a redirect stub become redirects to that page; error pages are skipped.
  • Old paths. Every page's source path, with and without .html, answers with a redirect to its node.

Something wrong on this page? Report an error

Documentation license

This page is part of the documentation of the extension exp_static_html_imports and is distributed under the license of that extension.