Add option --write-wp-id-file-map to enable outputting of a JSON data structure mapping WordPress post IDs to relative Markdown file paths to wp-id-file-map.json.
This may be a little too specific to my needs to get merged, but I need this file so I can auto-generate an NGINX config file to redirect old ?post=... URLs to the new static files, and others may need to do similarly create redirects from old Wordpress URLs to new static URLs.
Add option
--write-wp-id-file-map
to enable outputting of a JSON data structure mapping WordPress post IDs to relative Markdown file paths towp-id-file-map.json
.This may be a little too specific to my needs to get merged, but I need this file so I can auto-generate an NGINX config file to redirect old ?post=... URLs to the new static files, and others may need to do similarly create redirects from old Wordpress URLs to new static URLs.