source: gs3-installations/intermuse/trunk/sites/intermuse/collect/programmes-and-performers/SUBMIT-OPENANNOTATION-LIST.sh@ 37231

Last change on this file since 37231 was 37231, checked in by davidb, 15 months ago

Overall improvements to collection-specific scripts

  • Property svn:executable set to *
File size: 659 bytes
Line 
1#!/bin/bash
2
3source ../_local_collect_config.sh
4
5
6#iuri_prefix=http://localhost:4343/greenstone3/library/sites/intermuse/collect/$col/index/assoc/
7iuri_prefix=$gs_library_url/sites/$site/collect/$col/index/assoc/
8
9ifilename=${1:-archives/HASH012c.dir/openannotation-list.json}
10
11iuri_tail=${ifilename#archives/}
12
13iuri="${iuri_prefix}${iuri_tail}"
14
15
16#internal_url_base="http://localhost:4343/simpleAnnotationStore/annotation"
17internal_url_base="http://localhost:$gs_http_port/simpleAnnotationStore/annotation"
18
19post_url="${internal_url_base}/populate"
20
21
22echo ""
23
24echo curl -X POST -d "uri=${iuri}" "$post_url"
25curl -X POST -d "uri=${iuri}" "$post_url"
26
27echo ""
Note: See TracBrowser for help on using the repository browser.