Browse Source

Added ufo.kit.edu site configuration + log file

Andreas Kopmann 7 years ago
parent
commit
95e36f37d8
4 changed files with 123 additions and 1 deletions
  1. 0 1
      .gitignore
  2. 2 0
      README.md
  3. 99 0
      etc/config-ufo-kit-edu.py
  4. 22 0
      log/scopus-publications-ufo-kit-edu.log

+ 0 - 1
.gitignore

@@ -1,5 +1,4 @@
 *config.py
-*.log
 *.pyc
 info/
 scopus/

+ 2 - 0
README.md

@@ -17,6 +17,7 @@ Version 1.2, 24.4.17 (ak):
 - removed old list of Scopus author keys in my_scopus.py
 - added Philipp Lösel to the author list
 - added config management in etc
+- added log file
  
 Version 1.1, 12.4.17 (ak):
 - added a second script to synchronize publication database and posts in wordpress
@@ -50,6 +51,7 @@ test-wp2.py 	Test script for wordpress - only query, no modification
 
 etc		Configuration files of different installations
 info            Documentation, website, etc (not in GIT)
+log		Log file use scopus-publications-<hostname>.log 
 ```
 
 ## Usage

+ 99 - 0
etc/config-ufo-kit-edu.py

@@ -0,0 +1,99 @@
+# Scopus script's configration
+# A Kopmann, 12.4.17
+#
+
+
+db_host = 'localhost'
+db_user = 'scopus'
+db_pw = '$scopus$'
+db_name = 'scopus'
+
+
+wp_api_url = "https://ufo.kit.edu/dis/xmlrpc.php"
+wp_user = "scopus"
+wp_password = "$scopus$"
+
+
+# Reporting
+
+log_file = "/root/scopus/log/scopus-publications-ufo-kit-edu.log"
+
+
+# Scopus query definition
+# Todo:
+# - Define a single object with the defintion of the author groups
+# - Search intervall - change to last 2 years?!
+
+MY_API_KEY = "14d431d052c2caf5e9c4b1ab7de7463d"
+
+
+# Scopus author IDs
+
+# KIT, PDV
+ak = "35313939900"
+csa = "15076530600"
+matthiasVogelgesang = "35303862100"
+timoDritschler = "56473578500"
+andreiShkarin = "56950893700"
+nicholasTanJerome = ""
+tillBergmann = "35308595100"
+armenBeglarian = "55343303900"
+petraRohr = "40561503300"
+norbertKunka = "35276889200"
+horstDemattio = "6506285395"
+
+# KIT, EPS
+micheleCaselle = "7006767859"
+urosStevanovic = "55557712600"
+lorenzoRota = "56473442500"
+matthiasBalzer = "35519411500"
+
+# KIT, IPE
+marcWeber = "56654729000"
+mw2 = "56603987800"
+mw3 = "7404138824"
+
+# KIT, IPS
+tomyRolo = "56118820400"
+tr2 = "35194644400"
+tr3 = "35277157300"
+tomasFarago = "56655045700"
+alexyErshof = "56441809800"
+romanShkarin = "56951331000"
+tiloBaumbach = "7003270957"
+thomasVandekamp = "46761453500"
+
+# TUD
+michaelHeethoff = "55979397800"
+sebastianSchmelzle = "34768986100"
+
+# UHD
+philipLoesel = "57190622016"
+
+# Others (e.g. for black list)
+ashotChiligarian = "7004126133"
+hansBluemer = "7006284555"
+matthiasKleifegs = "6602072426"
+
+
+# Definition of workgroups for automatic Scopus publication retrieval
+
+sc_start = 2010
+
+ufo_pdv = [ak, csa, matthiasVogelgesang, timoDritschler, andreiShkarin ]
+ufo_eps = [matthiasBalzer, lorenzoRota, micheleCaselle ]
+ufo_ips = [tomyRolo, tr2, tr3, tomasFarago]
+ufo_apps = [thomasVandekamp]
+ufo_alg = [philipLoesel]
+
+sc_workgroups = [
+{'name':"Computing",'authors':ufo_pdv},
+{'name':"Electronics",'authors':ufo_eps},
+{'name':"X-ray Imaging",'authors':ufo_ips},
+{'name':"Morphology",'authors':ufo_apps},
+{'name':"Algorithms",'authors':ufo_alg}
+]
+
+
+
+

+ 22 - 0
log/scopus-publications-ufo-kit-edu.log

@@ -0,0 +1,22 @@
+scopus-get-publications.py
+
+      Date	    Time	NPubs	NNewP	NCite	NNewC	          TRun
+------------------------------------------------------------------------------
+2017-03-22	21:14:48	  281	    0	 4696	    0	0:00:11.735066
+2017-03-24	23:54:50	  281	    0	 4699	    3	0:00:20.976978
+2017-03-27	21:12:48	  281	    0	 4699	    0	0:00:15.555035
+2017-03-27	21:16:42	  281	    0	 4699	    0	0:00:16.526018
+2017-03-27	21:19:42	  281	    0	 4699	    0	0:00:10.675000
+2017-03-27	21:24:06	  281	    0	 4699	    0	0:00:11.125694
+2017-03-27	21:28:36	  281	    0	 4699	    0	0:00:11.496362
+2017-03-31	13:57:32	  282	    1	 4702	    3	0:00:32.097083
+2017-04-09	13:15:36	  282	    0	 4737	   35	0:03:57.408394
+2017-04-11	12:38:52	  282	    0	 4746	    9	0:00:56.375349
+2017-04-12	21:19:05	  115	    0	  419	    4	0:00:32.253927
+2017-04-13	14:53:00	  115	    0	  419	    0	0:00:11.840895
+2017-04-14	17:02:01	  115	    0	  419	    0	0:00:11.146071
+2017-04-14	17:02:30	  115	    0	  419	    0	0:00:10.405072
+2017-04-17	21:32:15	  116	    1	  424	    5	0:00:32.919497
+2017-04-20	21:09:37	  116	    0	  425	    1	0:00:21.574751
+2017-04-24	10:35:45	  118	    0	  425	    0	0:00:12.954022
+2017-04-24	10:50:37	  118	    0	  425	    0	0:00:12.712034