1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml">
7 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8 <title>Pazpar2 demo client</title>
9 <link rel="stylesheet" href="styles.css"></link>
10 <script type="text/javascript" src="http://code.jquery.com/jquery-1.10.0.min.js"></script>
12 <!-- pre configure -->
13 <script type="text/javascript">
14 var useServiceProxy = true;
17 <script type="text/javascript" src="pz2.js"></script>
18 <script type="text/javascript" src="example_client.js"></script>
20 <!-- post configure -->
21 <script type="text/javascript">
22 $(document).ready(function() {
23 if (useServiceProxy) {
24 var jqxhr = jQuery.get(authURLServiceProxy)
26 alert("service proxy authentifiction failed for URL " + authURLServiceProxy + " , give up!");
28 .success(function(data) {
29 if (!jQuery.isXMLDoc(data)) {
30 alert("service proxy auth response document is not valid XML document, give up!");
34 var status = $(data).find("status");
35 if (status.text() != "OK") {
36 alert("service proxy auth repsonse status: " + status.text() + ", give up!");
46 <body onload="domReady();">
50 <p>Your browser does not support or allow execution of scripts required by this site to work properly.</p>
51 <p>If you run Internet Explorer 6+ or FireFox 2.0+ and see this message ensure the JavaScript is enabled in your browser.</p>
52 <p>If you run Internet Explorer 7 add the site to the Trusted Sites group.</p>
53 <p>Finally, check your personal firewall settings.</p>
58 <a href="#" onclick="switchView('recordview')">Record Browser</a>
60 <a href="#" onclick="switchView('targetview')">Target Info</a>
64 <table width="100%" border="0" cellpadding="6" cellspacing="0">
66 <td width="250" height="100" align="center"><b>Pazpar2</b></td>
68 <form id="searchForm" name="search">
69 <input id="query" type="text" size="50"/>
70 <input id="button" type="submit" value="Search"/>
74 <a href="http://www.indexdata.com"><img border="0" title="IndexData home page" src="indexdata_logo.png" height="98" align="right" alt="" /></a>
81 <table width="100%" border="0" cellpadding="6" cellspacing="0">
83 <td width="250" valign="top">
84 <div id="termlist"></div>
90 <select name="sort" id="sort">
91 <option value="relevance" selected="selected">relevance</option>
92 <option value="title:1">title</option>
93 <option value="date:0">newest</option>
94 <option value="date:1">oldest</option>
97 <select name="perpage" id="perpage">
98 <option value="10">10</option>
99 <option value="20" selected="selected">20</option>
100 <option value="30">30</option>
101 <option value="50">50</option>
106 <div id="pager"></div>
107 <div id="navi"></div>
108 <div id="results"></div>
114 <div id="targetview" style="display: none">
116 No information available yet.
121 <div id="stat"></div>
122 <span>Copyright © 1999-2013 by <a href="http://www.indexdata.com">Index Data</a></span>