Gretchen's tool: XMLStarlet
<rdf:RDF | |
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | |
xmlns:j.0="http://purl.org/dc/terms/" | |
xmlns:j.1="http://prismstandard.org/namespaces/basic/2.1/" | |
xmlns:owl="http://www.w3.org/2002/07/owl#" | |
xmlns:j.2="http://purl.org/ontology/bibo/" | |
xmlns:j.3="http://xmlns.com/foaf/0.1/"> | |
<rdf:Description rdf:about="http://dx.doi.org/10.1080/15332748.2017.1400725"> | |
<j.1:endingPage>36</j.1:endingPage> | |
<j.0:publisher>Informa UK Limited</j.0:publisher> |
SELECT | |
accession.identifier, | |
accession.title, | |
accession.create_time, | |
accession.accession_date, | |
accession.general_note, | |
date.expression, | |
date.begin, | |
date.end, |
SELECT | |
accession.identifier, | |
accession.title, | |
accession.create_time, | |
accession.accession_date, | |
accession.general_note, | |
date.expression, | |
date.begin, | |
date.end, |
SELECT | |
accession.identifier, | |
accession.title, | |
accession.create_time, | |
accession.accession_date, | |
accession.general_note, | |
date.expression, | |
date.begin, | |
date.end, |
SELECT | |
accession.identifier, | |
accession.title, | |
accession.create_time, | |
accession.accession_date, | |
accession.general_note, | |
date.expression, | |
date.begin, | |
date.end, |
import glob, json | |
files = glob.glob("*.jsonld") | |
for fileName in files: | |
with open(fileName, "r") as record: | |
recorddata = json.loads(record.read()) | |
if recorddata.has_key("hydra:hasEditorGroup"): | |
if recorddata[u"hydra:hasEditorGroup"] == {u'@id': u'und:[redacted]'}: | |
print 'true' | |
else: |
#! /usr/bin/env python | |
# With gratitude to W. Caleb McDaniel and based on https://gist.github.com/wcaleb/218d210687546c8efd0a | |
import requests, datetime, time | |
from datetime import date | |
def backupURLS(urls): | |
today = date.today() | |
results = str(today) + '-results.txt' |
I have survived in a public library when hiring freezes lost us two full-time and one-part time person, where we were piling books on the floor of our back room and eventually resorted to volunteer labor (to be very clear here, we were asking people to do unpaid labor in place of what had been two full-time and one half-time jobs, two full-time and one half-time jobs which no longer existed for people in our community to support themselves and their families, two full-time and one half-time jobs for which skilled and aspiring library paraprofessionals could apply and in which they could gain experience). This could be seen as resilience but this was failure to our workers, our community, and our potential employees.
I have worked at an under-funded, under-siege library as a contractor, where I had to be resilient in the face of administration and other loud voices who forced librarians to defend every decision. I have been forbidden to weed duplicate copies of books which haven't been off the shelf, let alon
#!/bin/bash | |
for file in 9780268075606_EPUB.epub 9780268075552_EPUB.epub 9780268086961_EPUB.epub 9780268076610_EPUB.epub 9780268077884_EPUB.epub 9780268087678_EPUB.epub 9780268089894_EPUB.epub 9780268086978_EPUB.epub 9780268092962_EPUB.epub 9780268085575_EPUB.epub 9780268081782_EPUB.epub 9780268079789_EPUB.epub 9780268077037_EPUB.epub 9780268074814_EPUB.epub 9780268074807_EPUB.epub 9780268074821_EPUB.epub 9780268074883_EPUB.epub 9780268077044_EPUB.epub 9780268158866_EPUB.epub 9780268087661_EPUB.epub 9780268158057_EPUB.epub 9780268091835_EPUB.epub 9780268077013_EPUB.epub 9780268086923_EPUB.epub 9780268074678_EPUB.epub 9780268093020_EPUB.epub 9780268077914_EPUB.epub 9780268096540_EPUB.epub 9780268086701_EPUB.epub 9780268076801_EPUB.epub 9780268084523_EPUB.epub 9780268077921_EPUB.epub 9780268077686_EPUB.epub | |
do | |
if [ -f "$file" ] | |
then | |
echo "$file found." | |
else | |
echo "$file not found." | |
fi | |
done |