Changeset 6129 for SRUAggregator


Ignore:
Timestamp:
04/07/15 11:38:51 (9 years ago)
Author:
emanuel.dima@uni-tuebingen.de
Message:

fix for dynamic server context

Location:
SRUAggregator/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • SRUAggregator/trunk/aggregator.yml

    r6125 r6129  
    11aggregatorParams:
    22  CENTER_REGISTRY_URL: http://centres.clarin.eu/restxml/
    3   additionalCQLEndpoints:
     3  # additionalCQLEndpoints:
    44    # - https://clarin.ids-mannheim.de/digibibsru-new
    55    # - https://lux17.mpi.nl/ds/cqlsearch
  • SRUAggregator/trunk/src/main/resources/assets/index.html

    r6123 r6129  
    4646        <div id="main-container">
    4747                <div id="body"></div>
    48                 <!-- <div>
    49                         <form id="contentSearchForm" method="post" name="fcsForm" target="_blank" action="http://localhost:4019/Aggregator-testing/">
    50                         <fieldset style="border:0px;">
    51                             <input type="hidden" name="query" id="query" value="">
    52                             <input type="hidden" name="x-aggregation-context" value="{&quot;http://cqlservlet.mpi.nl/&quot;: [&quot;tla.mpi.nl:collections:childes&quot;]}">
    53                             <input type="hidden" name="operation" value="searchRetrieve">
    54                             <input type="hidden" name="version" value="1.2">
    55                         </fieldset>
    56                     </form>
    57                     <a href="#" onclick="document.fcsForm.submit();">Plain text search via Federated Content Search</a>
    58                 </div> -->
    5948                <div id="footer"></div>
    6049        </div>
  • SRUAggregator/trunk/src/main/resources/assets/js/main.js

    r6124 r6129  
    44
    55var VERSION = window.MyAggregator.VERSION = "VERSION 2.0.0-beta-32";
    6 var URLROOT = window.MyAggregator.URLROOT = "/Aggregator-testing";
     6var URLROOT = window.MyAggregator.URLROOT =
     7        window.location.pathname.substring(0, window.location.pathname.indexOf("/",2)) ||
     8        "/Aggregator";
    79
    810var PT = React.PropTypes;
  • SRUAggregator/trunk/src/main/resources/assets/js/main.jsx

    r6124 r6129  
    44
    55var VERSION = window.MyAggregator.VERSION = "VERSION 2.0.0-beta-32";
    6 var URLROOT = window.MyAggregator.URLROOT = "/Aggregator-testing";
     6var URLROOT = window.MyAggregator.URLROOT =
     7        window.location.pathname.substring(0, window.location.pathname.indexOf("/",2)) ||
     8        "/Aggregator";
    79
    810var PT = React.PropTypes;
Note: See TracChangeset for help on using the changeset viewer.