|
2 years ago | |
---|---|---|
README.md | 2 years ago | |
footer.txt | 2 years ago | |
gemlog.wg | 2 years ago | |
getdocs.lua | 2 years ago | |
header.txt | 2 years ago | |
pubgem.slo | 2 years ago | |
publish.sh | 2 years ago |
README.md
wg-gemlog
A workflow for converting wordgrinder document sets to a gemini log. This is a very basic tool, and you will probably need to modify it to get it to do what you want.
The main point of this tool is to try and do something useful for myself in slope
warning
If you run this script, it will overwrite the index.gmi in ~/public_gemini and write other files into the directory.
Usage
Editing posts and index page
Writing posts is done in the gemlog.wg file which you can open with wordgrinder. Make sure to create documents with names in the format MM-DD-YYYY. Any other format, including the main document that is there by default, will cause unhandled errors. The first line of each wordgrinder document will be the title for an entry in your index page, which will be followed by the date.
You can edit the header.txt and footer.txt files to determine what goes above and below the list of articles.
Publishing
Run ./publish.sh and your ~/public_gemini directory will be populated with an index.gmi and .gmi files named after the date of each entry.
Dependencies
wordgrinder 0.8
slope Build Version Hash/Commit: 8e980584b0477cd780d62079d80b8157d9ba5915