Skip to content

Commit

Permalink
more renaming for relocated smufl-browser
Browse files Browse the repository at this point in the history
  • Loading branch information
peterstadler committed Feb 13, 2019
1 parent e321ee9 commit 7d1a3e1
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
12 changes: 6 additions & 6 deletions controller.xql
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ xquery version "3.0";
declare namespace exist="http://exist.sourceforge.net/NS/exist";
declare namespace tei="http://www.tei-c.org/ns/1.0";
declare namespace response="http://exist-db.org/xquery/response";
declare namespace request="http://exist-db.org/xquery/request";

import module namespace config="http://smufl-browser.edirom.de/config" at "modules/config.xqm";
import module namespace tei-funcs="http://smufl-browser.edirom.de/tei-funcs" at "modules/tei-funcs.xqm";
import module namespace json="http://www.json.org";
import module namespace functx="http://www.functx.com";

declare variable $exist:path external;
declare variable $exist:resource external;
declare variable $exist:controller external;
declare variable $exist:prefix external;
declare variable $exist:root external;

import module namespace config="http://edirom.de/smufl-browser/config" at "modules/config.xqm";
import module namespace tei-funcs="http://edirom.de/smufl-browser/tei-funcs" at "modules/tei-funcs.xqm";
(:import module namespace xqjson="http://xqilla.sourceforge.net/lib/xqjson";:)
import module namespace json="http://www.json.org";
import module namespace functx="http://www.functx.com";

(:~
: Content Negotiation
: Evaluate Accept header and resource suffix to serve appropriate media type
Expand Down
4 changes: 2 additions & 2 deletions modules/app.xql
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
xquery version "3.0";

module namespace app="http://edirom.de/smufl-browser/app";
module namespace app="http://smufl-browser.edirom.de/app";

import module namespace templates="http://exist-db.org/xquery/templates" ;
import module namespace config="http://edirom.de/smufl-browser/config" at "config.xqm";
import module namespace config="http://smufl-browser.edirom.de/config" at "config.xqm";
import module namespace functx="http://www.functx.com";

declare namespace tei="http://www.tei-c.org/ns/1.0";
Expand Down
4 changes: 2 additions & 2 deletions modules/config.xqm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ xquery version "3.0";
: A set of helper functions to access the application context from
: within a module.
:)
module namespace config="http://edirom.de/smufl-browser/config";
module namespace config="http://smufl-browser.edirom.de/config";

declare namespace templates="http://exist-db.org/xquery/templates";

Expand Down Expand Up @@ -40,7 +40,7 @@ declare variable $config:charDecl := doc(concat($config:app-root, "/data/charDec

declare variable $config:valid-unicode-range-regex := '^([Ee][a-fA-F0-9]{3})|(1[dD]1[a-fA-F0-9]{2})|(266[defDEF])$';

declare variable $config:server-url := 'http://edirom.de/smufl-browser';
declare variable $config:server-url := 'https://smufl-browser.edirom.de';

(:~
: Resolve the given path using the current application context.
Expand Down
4 changes: 2 additions & 2 deletions modules/tei-funcs.xqm
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ xquery version "3.0";
(:~
: A set of TEI related functions
:)
module namespace tei-funcs="http://edirom.de/smufl-browser/tei-funcs";
module namespace tei-funcs="http://smufl-browser.edirom.de/tei-funcs";

declare namespace request="http://exist-db.org/xquery/request";
declare namespace transform="http://exist-db.org/xquery/transform";
declare namespace tei="http://www.tei-c.org/ns/1.0";
import module namespace config="http://edirom.de/smufl-browser/config" at "config.xqm";
import module namespace config="http://smufl-browser.edirom.de/config" at "config.xqm";

declare function tei-funcs:index() as document-node() {
let $range := request:get-parameter('range', 'all')
Expand Down
4 changes: 2 additions & 2 deletions modules/view.xql
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import module namespace templates="http://exist-db.org/xquery/templates" ;
: The following modules provide functions which will be called by the
: templating.
:)
import module namespace config="http://edirom.de/smufl-browser/config" at "config.xqm";
import module namespace app="http://edirom.de/smufl-browser/app" at "app.xql";
import module namespace config="http://smufl-browser.edirom.de/config" at "config.xqm";
import module namespace app="http://smufl-browser.edirom.de/app" at "app.xql";

declare option exist:serialize "method=xhtml5 media-type=text/html enforce-xhtml=yes";

Expand Down

0 comments on commit 7d1a3e1

Please sign in to comment.