Open jcowey opened 6 years ago
Also has to be imported into FileMaker and then MySQL
siehe #46
These will have to be checked. I am pretty sure that the change and replace is not correct.
https://github.com/papyri/idp.data/commit/7bbe9ff729187a6a2e51eb353890beca8eb0f762
should provide the model
As for »http://dpg.lib.berkeley.edu« links, we currently have 3 phenotypes
Already ok –––– 3883 http://dpg.lib.berkeley.edu/webdb/apis/apis2?apisid=155&item=1 –––– 5442 http://dpg.lib.berkeley.edu/webdb/apis/apis2?apisid=1226&item=1
links using APIS ids –––– 13596 http://dpg.lib.berkeley.edu/webdb/apis/apis2?invno=&apisid=842 –––– 219272 http://dpg.lib.berkeley.edu/webdb/apis/apis2?apisid=540 http://dpg.lib.berkeley.edu/webdb/apis/apis2?apisid=879 –––– 28441 http://dpg.lib.berkeley.edu/webdb/apis/apis2?apisid=799 –––– 28458 http://dpg.lib.berkeley.edu/webdb/apis/apis2?apisid=831 –––– 31374 http://dpg.lib.berkeley.edu/webdb/apis/apis2?invno=&apisid=181 –––– 3720 http://dpg.lib.berkeley.edu/webdb/apis/apis2?apisid=539
links to inventory numbers comprising more than one item –––– 13617 http://dpg.lib.berkeley.edu/webdb/apis/apis2?sort=Author_Title&invno=0573 –––– 14458 http://dpg.lib.berkeley.edu/webdb/apis/apis2?sort=Author_Title&invno=0371 –––– 2622 http://dpg.lib.berkeley.edu/webdb/apis/apis2?sort=Author_Title&invno=0061 –––– 3697 http://dpg.lib.berkeley.edu/webdb/apis/apis2?sort=Author_Title&invno=0061 –––– 3868 http://dpg.lib.berkeley.edu/webdb/apis/apis2?sort=Author_Title&invno=1129 –––– 5430 http://dpg.lib.berkeley.edu/webdb/apis/apis2?sort=Author_Title&invno=1071 –––– 5515 http://dpg.lib.berkeley.edu/webdb/apis/apis2?sort=Author_Title&invno=1042 –––– 5524 http://dpg.lib.berkeley.edu/webdb/apis/apis2?sort=Author_Title&invno=1070 –––– 5525 http://dpg.lib.berkeley.edu/webdb/apis/apis2?sort=Author_Title&invno=1088 –––– 78783 http://dpg.lib.berkeley.edu/webdb/apis/apis2?sort=Author_Title&invno=0573 –––– 78784 http://dpg.lib.berkeley.edu/webdb/apis/apis2?sort=Author_Title&invno=0573 –––– 7752 http://dpg.lib.berkeley.edu/webdb/apis/apis2?sort=Author_Title&invno=0815 –––– 8022 http://dpg.lib.berkeley.edu/webdb/apis/apis2?sort=Author_Title&invno=1040 –––– 8023 http://dpg.lib.berkeley.edu/webdb/apis/apis2?sort=Author_Title&invno=1041 –––– 8041 http://dpg.lib.berkeley.edu/webdb/apis/apis2?sort=Author_Title&invno=1069 –––– 8043 http://dpg.lib.berkeley.edu/webdb/apis/apis2?sort=Author_Title&invno=1073 –––– 8046 http://dpg.lib.berkeley.edu/webdb/apis/apis2?sort=Author_Title&invno=1078
for the second group, &item=1
needs to added to the url (empty get parameters, such as invno, can be stripped)
for the third group,… an example HGV 13617
this
http://dpg.lib.berkeley.edu/webdb/apis/apis2?sort=Author_Title&invno=0573
needs to be changed to
(http://dpg.lib.berkeley.edu/webdb/apis/apis2?invno=0573
https://dpg.lib.berkeley.edu/webdb/apis/apis2?invno=0573&item=1
https://dpg.lib.berkeley.edu/webdb/apis/apis2?invno=0573&item=2
https://dpg.lib.berkeley.edu/webdb/apis/apis2?invno=0573&item=3)
https://dpg.lib.berkeley.edu/webdb/apis/apis2?apisid=1106&item=1
https://dpg.lib.berkeley.edu/webdb/apis/apis2?apisid=1467&item=1
https://dpg.lib.berkeley.edu/webdb/apis/apis2?apisid=11639&item=1
EpiDoc https://github.com/papyri/idp.data/commits/xwalk
FileMaker YTBD mySQL YTBD
FileMaker done mySQL done
The above is now all outdated and no longer functions.
https://digitalassets.lib.berkeley.edu/apis/ucb/
seems to have all the bits and pieces. Quite how we make it work I do not yet know.
Replace:
<graphic url="http://wwwapp\.cc\.columbia\.edu/ldpd/app/apis/item\?mode=item&key=berkeley\.apis\.(\d+)"/>
with
<graphic url="http://dpg.lib.berkeley.edu/webdb/apis/apis2?apisid=\1"/>
in github.