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

Migrate exported wordpress blogs from old site to md files with metadata #81

Open
zenlex opened this issue Jun 26, 2022 · 5 comments
Open
Labels
good first issue Good for newcomers

Comments

@zenlex
Copy link
Collaborator

zenlex commented Jun 26, 2022

We have XML exports from Carlos and there's preexisting scripts to do the tranform. Just need to setup, run, and verify then push to filesystem of new site.

@zenlex
Copy link
Collaborator Author

zenlex commented Jun 29, 2022

Think this library should work for conversion https://github.com/lonekorean/wordpress-export-to-markdown

  • convert all xml files to markdown
  • create subfolders at /src/pages/blog/{slug}/ - (base slug on blog title)
  • rename md file to index.md in its new home
    Next should auto generate the route to the blog post

@higherkey
Copy link
Collaborator

publishing branch housekeeping/blog-import. It has the raw .xml file output from github in a folder "wp-file-dump", and it also has individual folders in the path /src/pages/blog/. I'm not sure if the slugs are correct or if the index.md files are correct. It's possible that everything is ready, I'm not not certain what it's supposed to look like yet. Also I think the wp-file-dump folder probably needs to be removed.

@zenlex
Copy link
Collaborator Author

zenlex commented Jul 17, 2022

I think this is in a good place. Agreed we can kill the wp-file-dump folder. @higherkey if you'd like to kill off that wp-file-dump folder and create a PR to the dev branch that'd be great. It will likely fail on CI right now until we get Alec's new and improved markdown engine merged in so don't worry about that, i just won't merge until then.

@zenlex zenlex added the hold putting this pr/issue on pause pending discussion label Aug 6, 2022
@zenlex zenlex moved this from Blocked to Selected for Development in Website Rebuild 2022 Oct 30, 2022
@zenlex
Copy link
Collaborator Author

zenlex commented Oct 31, 2022

zenlex added a commit that referenced this issue Nov 1, 2022
Issue #81, Initial migration of WP blogs to md
@zenlex zenlex moved this from Selected for Development to QA in Website Rebuild 2022 Nov 1, 2022
@zenlex
Copy link
Collaborator Author

zenlex commented Nov 1, 2022

Need to review the content that came over and decide what will be published. For items being published we need to debug/repair any broken images/links and update frontmatter metadata as needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
Development

No branches or pull requests

2 participants