Slope script to convert wordgrinder document set to a gemlog
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
fzzyyti a8249abebf
use path-join. Drop first line of post correctly
2 years ago
README.md update readme 2 years ago
footer.txt update header and footer, use env variable for home 2 years ago
gemlog.wg add in wordgrinder 2 years ago
getdocs.lua add in wordgrinder 2 years ago
header.txt update header and footer, use env variable for home 2 years ago
pubgem.slo use path-join. Drop first line of post correctly 2 years ago
publish.sh add in wordgrinder 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