aboutsummaryrefslogtreecommitdiffstats
path: root/extra/abbrev
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-07-03 00:02:25 +0200
committerMartin Czygan <martin.czygan@gmail.com>2021-07-03 00:02:55 +0200
commitdf839db51aab1288e4b4ef36c8323e21662d0141 (patch)
treed7e55ffeb398bc5878d50623de05677fff1df615 /extra/abbrev
parente69e181a27ae868a5c9fdc2e63c6356b9319b7b2 (diff)
downloadrefcat-df839db51aab1288e4b4ef36c8323e21662d0141.tar.gz
refcat-df839db51aab1288e4b4ef36c8323e21662d0141.zip
update extra README
Diffstat (limited to 'extra/abbrev')
-rw-r--r--extra/abbrev/README.md30
1 files changed, 27 insertions, 3 deletions
diff --git a/extra/abbrev/README.md b/extra/abbrev/README.md
index a5c8e06..f903751 100644
--- a/extra/abbrev/README.md
+++ b/extra/abbrev/README.md
@@ -1,6 +1,6 @@
-# README
+# Journal Name Abbreviations
-Journal list.
+Journal lists:
* https://www.library.caltech.edu/journal-title-abbreviations
* https://images.webofknowledge.com/images/help/WOS/A_abrvjt.html
@@ -9,10 +9,34 @@ Journal list.
$ pup 'dl json{}' < A_abrvjt.html | jq -rc .[0].children[] | grep "children" | python parse.py
```
-Generate a full list.
+Generate a name mapping as json.
```
$ while read line;
do (curl -v "$line" | pup 'dl json{}' | jq -rc .[0].children[] | grep "children" | python parse.py);
done < <(curl "https://www.library.caltech.edu/journal-title-abbreviations" | pup 'a attr{href}' | grep "help/WOS") > result.json
```
+
+Output example (pretty printed):
+
+```json
+{
+ "name": "JOURNAL OF COMPARATIVE PATHOLOGY",
+ "abbrev": "J COMP PATHOL"
+}
+{
+ "name": "CIRCULAR-GRATING LIGHT-EMITTING SOURCES",
+ "abbrev": "P SOC PHOTO-OPT INS"
+}
+{
+ "name": "PEST CONTROL &amp; SUSTAINABLE AGRICULTURE"
+}
+{
+ "name": "COMPUTER INFORMATION SYSTEMS AND INDUSTRIAL MANAGEMENT",
+ "abbrev": "LECT NOTES COMPUT SC"
+}
+{
+ "name": "Flexible Databases Supporting Imprecision and Uncertainty",
+ "abbrev": "STUD FUZZ SOFT COMP"
+}
+```