diff --git a/.github/scripts/contributors.js b/.github/scripts/contributors.js new file mode 100644 index 0000000..b79f605 --- /dev/null +++ b/.github/scripts/contributors.js @@ -0,0 +1,31 @@ +const fs = require('fs') +const cheerio = require('cheerio'); +const pretty = require('pretty'); +const page = fs.readFileSync('./website/sources/index.html', {encoding: 'utf-8' }) +var contributors = fs.readFileSync('./contributors.txt', {encoding: 'utf-8' }).split('\n') +const $ = cheerio.load(page) +var eventJson = JSON.parse(fs.readFileSync(process.env.GITHUB_EVENT_PATH, {encoding: 'utf-8' })); + +$('#contributors-list').empty() // remove all names to start clean +for (let name of contributors) { + if (name.length > 0) { + for (let commit of eventJson.commits) { + // we only look for authors, not commiters, so we automatically ignore "actions-user" + if ( !contributors.includes(commit.author.name) ) { + contributors.push(commit.author.name) + } + } + $('#contributors-list').append(`
This project collects and maps data from public libraries across the Australia and the external Australian Territories of Christmas Island and the Cocos (Keeling) Islands. In the long term I hope to include more data that can be combined and cross-referenced, e.g. library funding from local and state governments, HILDA data etc.
-You should be able to find the location of every public library in Australia territory, plus the standard loan period for each libary service, and whether they charge overdue fines (if known, in both cases).
-Soon you will be able to see which integrated library system (ILS/LMS) each library service uses.
+You should be able to find:
+When I worked as a systems librarian in public libraries I often wondered how the social networks of decision makers - most obviously reflected by geography and state borders - affected decision making on things like library sofware procurement. I thought mapping systems visually might reveal things that are less obvious on a simple table or list.
Rules about loan periods are arbitrary. I thought it might be interesting to see whether there are any regional trends. I’m surprised by some of the results — do some libraries really have a standard loan period of six weeks? Seems kind of long. Why do so many rural libraries only lend items for two weeks? Is it because country people read faster, or something to do with limited book stock? 🤔
diff --git a/website/sources/index.html b/website/sources/index.html index 575561e..6e6211f 100644 --- a/website/sources/index.html +++ b/website/sources/index.html @@ -30,6 +30,12 @@Library Map was written and conceived on unceded Wurundjeri Woi Wurrung land.
If you believe I have breached a license in using your data, or attributed it incorrectly, please get in touch at librarymap
@hugh
.run
These people have contributed to making the map:
+