diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-08-31 20:04:02 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-08-31 20:04:07 -0700 |
commit | af4cb3c9d38d543e6070c622498db3a3ec9c4734 (patch) | |
tree | 359129b114c2ece8f6c4eb12da65caf247e71155 | |
parent | 4cafb8dee8dac0816907088878a86e8ff1c7b320 (diff) | |
download | chocula-af4cb3c9d38d543e6070c622498db3a3ec9c4734.tar.gz chocula-af4cb3c9d38d543e6070c622498db3a3ec9c4734.zip |
add makefile/sources support for PKP PLN
Also more accurate JSTOR URL in sources.toml
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | sources.toml | 7 |
2 files changed, 11 insertions, 2 deletions
@@ -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' |