Xah Talk Show 2021-11-13 emacs workflow, move ergoemacs org to xahlee info
live stream, working on moving ergoemacs.org to xahlee.info. Not trivial task. Tons of text processing. Alone a way i'll explain the workflow, commands, efficient way to do it, HTML/Apache technicalities, also using tools such as elisp, PowerShell, golang script, to do lots text processing.
steps:
- create the dir [emacs] in [xahlee_info]
- copy every file in [ergoemacs_org] to [xahlee_info]
- in ergoemacs_org, delete all files that's not html
- for each html file in [ergoemacs_org], change their content to a notice about the new URL.
<p class="page_moved_64598">2021-11-13 page moved to <a href="http://xahlee.info/emacs/‹path›">here</a></p>
fix these special pages:
- 403error.html
- 404error.html
- ads.txt
- emacs_fun_index.html
- emacs_images_thumbnails_index.html
- emacs_sitemap.ts
- favicon.ico
- favicon.png
- highlightlink24082.js
- .htaccess
- lbasic.css
- sitemap.html
- sitemap.js
- sitemap.xml
- change my bookmarks that points to the ergoemacs site.
- In xahlee_info, fix all links. links from emacs directory to outside, and links from outsite to emacs directory.
- rsync to server.