Closed ronchambers closed 4 months ago
@naxoc - please review when you can. This is version 1 of the Ghost CMS importer. Thanks! (fyi: @eddiesshop )
FYI: Ghost CMS Migrator added. If anyone needs help running it, let me know. Thanks!
@naxoc @eddiesshop @kariae @iuravic @jorostoyanov
This CLI will import a Ghost JSON file into new posts.
Command:
wp newspack-content-migrator ghost-cms-import
Required arguments:
--default-user-id=
Default user id forpost_author
. Ex: 1--ghost-url=
This is the current LIVE site url. Ex: https://www.my-site.com/--json-file=
Path to Ghost JSON export file.Optional arguments:
--created-after=
Cut off date to only import newer posts. Ex: "2024-01-01 10:50:30"Output log files:
GhostCMSMigrator_cmd_ghost_cms_import.log
- Scan for warning and error lines.GhostCMSMigrator_cmd_ghost_cms_import.log-skips.log
- Scan for any posts that should have been added but were skipped.