- title: How it works
- author: John D. Muccigrosso
- date: 2021-12-28 ...
All these use a special log file that shows up in Console.app.
Handling the reference works for specific temples.
- Manual export of temple_bib group from Zotero as CLS_JSON file
temple_bib.json. local.bib2html.plistrunsbib2html.shwhentemple_bib.jsongets updated.bib2html.shconvertstemple_bib.jsoninto html file of complete bibliotemple_bib.htmland a csv for uploading to the databasebibliography.csv.bib2html.shalso checks for and logs any entries in the citations filecitations.csvthat are not intemple_bib.json.- Updated
bibliography.csv,temple_bib.html, andtemple_bib.jsonare pushed to GitHub bygitcommit.sh.
Handling the reference works for temples in general.
- Manual export of temple_bib_general group from Zotero as CLS_JSON file
temple_bib_general.json. temple_bib_general.jsongets backed up to GitHub.- WordPress ZotPress pulls temple_bib_general group from Zotero directly for insertion into a web page.
- Former process:
local.genbib2html.plistrunsgen_bib2html.shwhentemple_bib_general.jsongets updated.genbib2html.shconvertstemple_bib_general.jsoninto html filetemple_bib_general.html.com.john.duckgentemplebib.plistuploads updatedtemple_bib_general.htmlto the website via FTP.
Handling the citations that connect reference works to temples.
- Every 3,600 seconds (= 1 hour),
local.ggl2cites.plistlaunchesggl2cites.sh. ggl2cites.shdownloads the citation list from the Google spreadsheet, cleans it a little, and saves it assheet.csv, but only if it has changed from the previous download.- Updated
citations.csvis pushed to GitHub bygitcommit.sh.
Handling the temples.
- Every 3,600 seconds (= 1 hour),
local.ggl2geojson.plistlaunchesggl2geojson.sh. ggl2geojson.shdownloads the temple list from the Google spreadsheet, cleans it a little, and saves it assheet.csv, but only if it has changed from the previous download.- Updated
sheet.csvis pushed to GitHub bygitcommit.sh.
- Updated
ggl2cites.shcallsogr2ogrto convert csv to temporary geojson filesheet.jsonwhich then gets cleaned up totemples.json. (Other utilities skip entries with empty coordinates.)ggl2cites.shturnstemples.jsoninto separate features for pelagiospelagios.json, and a version containing only the entries with coordinates for mapping in themapssub-directory.local.json2ttl.plistrunsjson2ttl.pywhenpelagios.jsonis updated.json2ttl.pyusespelagios.jsonto create a turtle filetemples.ttl.local.duckttl.plistrunsduckttl.shwhentemples.ttlhas been updated, which uploads it to the website for pelagios.local.sitemap.plistrunssitemap_update.shwhentemples.ttlhas been updated, which converts it tositemap.txt, a simple list of temple IDs.com.john.ducksitemap.plistrunsducksitemap.shwhensitemap.txthas been updated, which uploads it to the website for Google to consume.
local.duckpelagios.plistrunsduckpelagios.shwhenpelagios.jsonis updated, which uploads it to the website.