- 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.plist
runsbib2html.sh
whentemple_bib.json
gets updated.bib2html.sh
convertstemple_bib.json
into html file of complete bibliotemple_bib.html
and a csv for uploading to the databasebibliography.csv
.bib2html.sh
also checks for and logs any entries in the citations filecitations.csv
that are not intemple_bib.json
.- Updated
bibliography.csv
,temple_bib.html
, andtemple_bib.json
are 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.json
gets backed up to GitHub.- WordPress ZotPress pulls temple_bib_general group from Zotero directly for insertion into a web page.
- Former process:
local.genbib2html.plist
runsgen_bib2html.sh
whentemple_bib_general.json
gets updated.genbib2html.sh
convertstemple_bib_general.json
into html filetemple_bib_general.html
.com.john.duckgentemplebib.plist
uploads updatedtemple_bib_general.html
to the website via FTP.
Handling the citations that connect reference works to temples.
- Every 3,600 seconds (= 1 hour),
local.ggl2cites.plist
launchesggl2cites.sh
. ggl2cites.sh
downloads 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.csv
is pushed to GitHub bygitcommit.sh
.
Handling the temples.
- Every 3,600 seconds (= 1 hour),
local.ggl2geojson.plist
launchesggl2geojson.sh
. ggl2geojson.sh
downloads 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.csv
is pushed to GitHub bygitcommit.sh
.
- Updated
ggl2cites.sh
callsogr2ogr
to convert csv to temporary geojson filesheet.json
which then gets cleaned up totemples.json
. (Other utilities skip entries with empty coordinates.)ggl2cites.sh
turnstemples.json
into separate features for pelagiospelagios.json
, and a version containing only the entries with coordinates for mapping in themaps
sub-directory.local.json2ttl.plist
runsjson2ttl.py
whenpelagios.json
is updated.json2ttl.py
usespelagios.json
to create a turtle filetemples.ttl
.local.duckttl.plist
runsduckttl.sh
whentemples.ttl
has been updated, which uploads it to the website for pelagios.local.sitemap.plist
runssitemap_update.sh
whentemples.ttl
has been updated, which converts it tositemap.txt
, a simple list of temple IDs.com.john.ducksitemap.plist
runsducksitemap.sh
whensitemap.txt
has been updated, which uploads it to the website for Google to consume.
local.duckpelagios.plist
runsduckpelagios.sh
whenpelagios.json
is updated, which uploads it to the website.