Mercurial > hg > drupalISMI
comparison importFromOpenMind/importer/filterISMI.py @ 4:0ae6145e7c80
update urls.
author | root@ismi.rz-berlin.mpg.de |
---|---|
date | Tue, 02 Jun 2015 11:59:43 +0200 |
parents | e55656794c82 |
children | 2a786f0d46a7 |
comparison
equal
deleted
inserted
replaced
3:667b6597a676 | 4:0ae6145e7c80 |
---|---|
67 def loadallEnts(self,kind="tar",filterOC=[]): | 67 def loadallEnts(self,kind="tar",filterOC=[]): |
68 | 68 |
69 ids,rels = self.getEntIdsMentioned(kind=kind,filterOC=filterOC) | 69 ids,rels = self.getEntIdsMentioned(kind=kind,filterOC=filterOC) |
70 | 70 |
71 | 71 |
72 baseUrl="http://openmind-ismi-dev.mpiwg-berlin.mpg.de/om4-ismi/jsonInterface?include_content=true&include_romanization=true&method=get_ents" | 72 baseUrl="https://ismi.mpiwg-berlin.mpg.de/om4-ismi/jsonInterface?include_content=true&include_romanization=true&method=get_ents" |
73 | 73 |
74 lenId = len(ids) | 74 lenId = len(ids) |
75 | 75 |
76 portions = int(lenId / 500) | 76 portions = int(lenId / 500) |
77 | 77 |
115 | 115 |
116 # url = """http://openmind-ismi-dev.mpiwg-berlin.mpg.de/om4-ismi/jsonInterface?method=get_ents&ids=27543,36745,58453,87298,259646,35093,22863,34870,36882,101488,36696,31794,37240,35014,35583,37025,35960,172492,98286,165721,260111,90980,36316,260120,36241,260129,260138,38860,176694,72545,36185,36575,260146,31672,37739,89861,176778,180743,86328,260150,90658,58423,181058,105948,35526,74078,260158,181096,31606,31568,27872,36938,4836,34668,76866,102230,76888,74070,73757,182685,260162,260170,1102,172888,260174,34806,28088,36713,37323,34551,35943,98095,260178,260182,182770,260186,260190,260194,36114,85003,31630,157290,37153,37213,172952,86871,64406,102590,82615,58245,179791,179550,12419,95861,36429,36099,74237,36065,74822,87549,83765,36733,19259,260198,34986,88041,260202,36550,260206,37228,39880,36318,36597,35035,58328,80831,58354,74277,36529,36380,69450,200246,260222,81178,260226,199952,262557,87212,99059,64270,81811,65785,36645 | 116 # url = """http://openmind-ismi-dev.mpiwg-berlin.mpg.de/om4-ismi/jsonInterface?method=get_ents&ids=27543,36745,58453,87298,259646,35093,22863,34870,36882,101488,36696,31794,37240,35014,35583,37025,35960,172492,98286,165721,260111,90980,36316,260120,36241,260129,260138,38860,176694,72545,36185,36575,260146,31672,37739,89861,176778,180743,86328,260150,90658,58423,181058,105948,35526,74078,260158,181096,31606,31568,27872,36938,4836,34668,76866,102230,76888,74070,73757,182685,260162,260170,1102,172888,260174,34806,28088,36713,37323,34551,35943,98095,260178,260182,182770,260186,260190,260194,36114,85003,31630,157290,37153,37213,172952,86871,64406,102590,82615,58245,179791,179550,12419,95861,36429,36099,74237,36065,74822,87549,83765,36733,19259,260198,34986,88041,260202,36550,260206,37228,39880,36318,36597,35035,58328,80831,58354,74277,36529,36380,69450,200246,260222,81178,260226,199952,262557,87212,99059,64270,81811,65785,36645 |
117 # """ | 117 # """ |
118 # | 118 # |
119 | 119 |
120 url = """http://openmind-ismi-dev.mpiwg-berlin.mpg.de/om4-ismi/jsonInterface?method=get_public_codices""" | 120 url = """https://ismi.mpiwg-berlin.mpg.de/om4-ismi/jsonInterface?method=get_public_codices""" |
121 | 121 |
122 | 122 |
123 imp.loadJSON(url) | 123 imp.loadJSON(url) |
124 | 124 |
125 #ids= imp.getEntIdsMentioned() | 125 #ids= imp.getEntIdsMentioned() |