Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add / Underscore News Migrator #440

Open
wants to merge 24 commits into
base: trunk
Choose a base branch
from
Open

Conversation

ronchambers
Copy link
Collaborator

@ronchambers ronchambers commented Feb 20, 2024

Initial commit. See usage below.

@ronchambers
Copy link
Collaborator Author

ronchambers commented Feb 29, 2024

Commit 2c42a03 adds a CLI to insert posts by using 3 CSVs.

Command:
wp newspack-content-migrator underscorenews-import-posts --csv-posts='Underscore News - Articles.csv' --csv-team='Underscore News - Team Members.csv' --csv-cats='Underscore News - Categories.csv'

The 3 CSV files can be found in the Asana Task.

Make sure that each argument points to the correct CSV:

--csv-posts='Underscore News - Articles.csv'
--csv-team='Underscore News - Team Members.csv'
--csv-cats='Underscore News - Categories.csv'

Output will be logged to file: underscorenews_cmd_import_posts.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants