Server side php script
Jonathan Carter edited this page May 29, 2013
·
3 revisions
The app connects to a php script on the server side. The data provided in JSON format drives the behaviour of the app.
The script can be found in the app source code under _source/serverscripts. In the case of europeana it is called eu.php and contains the following methods:
?action=json-srch Parameters ========== $srch = $_GET['srch']; $typ = $_GET['type']; $start = $_GET['start']; $page = $_GET['page']; $query = $_GET['query']; ?action=json-get Parameters ========== $identifier = $_GET['identifier']; ?action=get-featured ?action=json-addlink Parameters ========== $a = $_GET['a']; $b = $_GET['b']; $type = $_GET['type']; $comment = $_GET['comment'];