Managed to finish the first cut of migration of wordpress.
Issue resolved
The main issue lies in having an error while migrating wordpress posts. After some debugging, I realised that the npm package “hexo-migrator-wordpress” is actually different from the version found on github.
After checking the last updated date on both the npm package site and github, I found out that the npm package was outdated. Resolved this issue by replacting the content in “/node_modules/hexo-migrator-wordpress” with a fresh copy downloaded from github. Also I checked the pull requests and downloaded the version with the latest code commits, instead of the official master copy.
Dev environment setup
- iTerm pane 1: hexo s –debug
- iTerm pane 2: hexo generate –watch
- iTerm pane 3: vim
TODO
- Archives grouped by year with nicer display
- auto achieved by changing to next pisces theme
- add in comments feature from disque
- userful link for setup issues https://help.disqus.com/customer/portal/articles/472007-i-m-receiving-the-message-%22we-were-unable-to-load-disqus-%22
- the disque short name is not my username. Need to configure a site name and the shortname will be generated automatically.
- also, need to add the site into the trusted domain lists
- https://help.disqus.com/customer/portal/articles/1261429
- https://github.com/iissnan/hexo-theme-next/issues/117
- add in RSS / Subscription feature
- add in extra markdown support
- add in wechat public ID subscript qrcode and wechat pay qrcode
- add site map
- add local search
- add google analytics
- publish migration note on wordpress
- learn how to use markdown
- about page [postponed - consider migrate yangfan.fi-de.net]
- test blog post photo display
- record wechat posts & long facebook posts