mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-03-10 08:43:08 -07:00
* Initial Commit * Fix build * Add original announcement * Add title and subtitle * Fix question ordering bug * Fix nesting bug |
||
|---|---|---|
| .. | ||
| extract-text-tiddlers-via-console.js | ||
| import-great-interview-project-json.sh | ||
| readme.md | ||
Utility Scripts
This folder contains tools used to extract the tiddlers from the original HTML file.
All pathnames in these instructions are relative to the root of this repository.
- Load
./editions/tiddlywiki-surveys/great-interview-project-2010/The great TiddlyWiki interview project.htmin a browser - Open the developer console and paste the script from
./editions/tiddlywiki-surveys/scripts/extract-text-tiddlers-via-console.js. The JSON representation of the text tiddlers will be generated and copied to the clipboard - Paste the resulting JSON into
2010-great-interview-project.jsonin the./tmpfolder in the root of this repository - Open a terminal console in the root of this repository
- Run the script
./editions/tiddlywiki-surveys/scripts/import-great-interview-project-json.sh - Go back to the developer console and copy the text that was output by the previous line. This is quite tricky: it's a big block of text including newlines. It is easiest to scroll back up to find the line starting with
mkdir -pand then select down to the bottom - Paste the results of the previous into the terminal
- Build the wiki with
node ./tiddlywiki.js ./editions/tiddlywiki-surveys --build index
The resulting wiki will be found in ./editions/tiddlywiki-surveys/output/index.html.