From af4cb3c9d38d543e6070c622498db3a3ec9c4734 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 31 Aug 2020 20:04:02 -0700 Subject: add makefile/sources support for PKP PLN Also more accurate JSTOR URL in sources.toml --- Makefile | 6 +++++- sources.toml | 7 ++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b131cd1..5ccb6dd 100644 --- a/Makefile +++ b/Makefile @@ -96,8 +96,12 @@ data/$(TODAY)/crossref_titles.csv: wget -c "https://wwwold.crossref.org/titlelist/titleFile.csv" -O $@.wip mv $@.wip $@ +data/$(TODAY)/onix_pkp_pln.csv: + wget -c "http://pkp.sfu.ca/files/pkppn/onix.csv" -O $@.wip + mv $@.wip $@ + .PHONY: update-sources -update-sources: data/$(TODAY)/kbart_JSTOR.txt data/$(TODAY)/kbart_CLOCKSS.txt data/$(TODAY)/kbart_CLOCKSS-triggered.txt data/$(TODAY)/kbart_LOCKSS.txt data/$(TODAY)/kbart_Portico.txt data/$(TODAY)/ISSN-to-ISSN-L.txt data/$(TODAY)/entrez.csv data/$(TODAY)/doaj.csv data/$(TODAY)/crossref_titles.csv ## Download new versions of updatable sources +update-sources: data/$(TODAY)/kbart_JSTOR.txt data/$(TODAY)/kbart_CLOCKSS.txt data/$(TODAY)/kbart_CLOCKSS-triggered.txt data/$(TODAY)/kbart_LOCKSS.txt data/$(TODAY)/kbart_Portico.txt data/$(TODAY)/ISSN-to-ISSN-L.txt data/$(TODAY)/entrez.csv data/$(TODAY)/doaj.csv data/$(TODAY)/crossref_titles.csv data/$(TODAY)/onix_pkp_pln.csv ## Download new versions of updatable sources @echo @echo "Successfully updated for date (UTC): $(TODAY)" diff --git a/sources.toml b/sources.toml index 59483f4..faadb47 100644 --- a/sources.toml +++ b/sources.toml @@ -79,8 +79,13 @@ original_url = "http://api.portico.org/kbart/Portico_Holding_KBart.txt" [jstor] # JSTOR_Global_AllArchiveTitles_2019-12-21.txt +# https://support.jstor.org/hc/en-us/articles/115007466248-JSTOR-title-lists filename = "kbart_JSTOR.txt" -original_url = "https://support.jstor.org/hc/en-us/articles/115007466248-JSTOR-title-lists" +original_url = "https://www.jstor.org/kbart/collections/all-archive-titles?contentType=journals" + +[pkp_pln] +filename = "onix_pkp_pln.csv" +original_url = "http://pkp.sfu.ca/files/pkppn/onix.csv" [szczepanski] date = '2018' -- cgit v1.2.3