Add export function to DeLiKo XS and XL
diff --git a/data/exportPlugin.xl.conf b/data/exportPlugin.xl.conf
new file mode 100644
index 0000000..c8094c4
--- /dev/null
+++ b/data/exportPlugin.xl.conf
@@ -0,0 +1,28 @@
+# Server Configuration
+server.port=7778
+server.host=10.10.14.225
+server.scheme=http
+server.origin=https://korap.dnb.de/
+
+# API Configuration
+api.port=8091
+api.host=10.10.14.225
+api.scheme=http
+
+# Asset Configuration
+asset.host=korap.dnb.de
+asset.path=/
+asset.scheme=https
+
+# Default configuration
+conf.page_size=50
+
+# Store in subfolder
+conf.file_dir=./files/
+
+# Session riding config
+cookie.name=kalamar-deliko-xl
+
+rtf.footnote = @ Deutsche Nationalbibliothek, Frankfurt
+rtf.trail = Wenn Sie diese Belege in einer Veröffentlichung verwenden wollen, zitieren Sie bitte DeLiKo und KorAP (s. https://korap.dnb.de/aq\#howToCite).
+api.source = korap.dnb.de/
diff --git a/data/exportPlugin.xs.conf b/data/exportPlugin.xs.conf
new file mode 100644
index 0000000..5133afe
--- /dev/null
+++ b/data/exportPlugin.xs.conf
@@ -0,0 +1,28 @@
+# Server Configuration
+server.port=7777
+server.host=10.10.14.225
+server.scheme=http
+server.origin=https://korap.dnb.de/deliko
+
+# API Configuration
+api.port=8089
+api.host=10.10.14.225
+api.scheme=http
+
+# Asset Configuration
+asset.host=korap.dnb.de
+asset.path=/deliko
+asset.scheme=https
+
+# Default configuration
+conf.page_size=50
+
+# Store in subfolder
+conf.file_dir=./files/
+
+# Session riding config
+cookie.name=kalamar-delikocs
+
+rtf.footnote = @ Deutsche Nationalbibliothek, Frankfurt
+rtf.trail = Wenn Sie diese Belege in einer Veröffentlichung verwenden wollen, zitieren Sie bitte DeLiKo und KorAP (s. https://korap.dnb.de/aq\#howToCite).
+api.source = korap.dnb.de/deliko
diff --git a/data/kalamar-xl.conf b/data/kalamar-xl.conf
new file mode 100644
index 0000000..d92fa14
--- /dev/null
+++ b/data/kalamar-xl.conf
@@ -0,0 +1,91 @@
+{
+  Kalamar => {
+    ## Backend server path
+    # api_path => 'https://korap.example.org/api/',
+    # plugins => ["Auth"],
+    ## Backend API version
+    # api_version => '1.0',
+
+    ## If the application is run behind a proxy, ignore the forwarded host
+    # proxy_host => 0,
+
+    ## Run the application in a subfolder behind a proxy:
+    # proxy_prefix => '/deliko',
+
+    ## The name of the base corpus,
+    ## for query examples (see kalamar.queries.dict)
+    examplecorpus => 'DeLiKo@DNB',
+
+    ## For further Plugins, add them
+    ## to this array:
+    # plugins => [],
+    plugins  => ['Plugins'],
+
+    ## Currently bundled: Piwik, Auth
+
+    ## Require everything to be send via https only:
+    # https_only => 1,
+
+    ## Override default content security policy
+    # cs_policy => "default-src '*';"
+
+    ## Set proxy timeouts
+    # proxy_inactivity_timeout => 120,
+    # proxy_connect_timeout => 120,
+    defaults => {
+      align => 'center'
+    },
+    proxies => [{
+      root_path => '/plugin/export',
+      mount => 'http://10.10.14.225:7778',
+      service => 'export-plugin-proxy'
+    }],
+  },
+  CSP => {
+    'frame-src' => 'self',
+    'frame-ancestors' => ['self','http://korap.dnb.de/','https://korap.dnb.de/']
+   },
+ 'Kalamar-Plugins' => {
+     default_plugins =>'wiki.plugins.json'
+  },
+  Localize => {
+    dict => {
+      'en_title_addon' => 'DeLiKo@DNB-XL',
+      'de_Template_intro' => 'custom/intro',
+      'en_Template_intro' => 'custom/intro',
+      'en_howToCite' => 'Citation Help',
+      'de_howToCite' => 'Zitierhilfe',
+      'en_recentCorpusPub' => 'Recent publications to refer to DeLiKo@DNB as research data',
+      'de_recentCorpusPub' => 'Neuere Publikationen zu DeLiKo@DNB als Forschungsdatengrundlage',
+      'en_recentToolPub' => 'Recent publications to refer to KorAP as a research tool',
+      'de_recentToolPub' => 'Neuere Publikationen zu KorAP als Forschungswerkzeug',
+    },
+    override  => 1
+  },
+  'TagHelpers-ContentBlock' => {
+    footer => [
+    {
+      inline => '<%= link_to loc("about") => "http://www.ids-mannheim.de/kl/projekte/korap/" %>',  
+      position => 70
+    },
+    {
+      inline => '<%= link_to loc("howToCite") => url_for(doc => { page => "faq" })->fragment("howToCite") %>',
+      position => 75
+    },
+    {
+      inline => '<%= link_to loc("imprint") => "https://www.dnb.de/DE/Service/Impressum/impressum_node.html" %>',  
+      position => 80
+    }],
+    faq => [
+      {
+        position => 50,
+        inline => <<'HOWTOCITE'
+<section>
+  <h3 id="howToCite"><%= loc 'howToCite' %></h3>
+%= include 'custom/partial/citation'
+</section>
+HOWTOCITE
+      }
+    ]
+  }
+}
diff --git a/data/kalamar.xs.conf b/data/kalamar.xs.conf
new file mode 100644
index 0000000..10cba58
--- /dev/null
+++ b/data/kalamar.xs.conf
@@ -0,0 +1,91 @@
+{
+  Kalamar => {
+    ## Backend server path
+    # api_path => 'https://korap.example.org/api/',
+    ## Backend API version
+    # api_version => '1.0',
+
+    ## If the application is run behind a proxy, ignore the forwarded host
+    # proxy_host => 0,
+
+    ## Run the application in a subfolder behind a proxy:
+    proxy_prefix => '/deliko',
+    plugins  => ['Plugins'],
+    # https_only => 1,
+
+
+    ## The name of the base corpus,
+    ## for query examples (see kalamar.queries.dict)
+    examplecorpus => 'DeLiKo@DNB',
+
+    ## For further Plugins, add them
+    ## to this array:
+    # plugins => [],
+    ## Currently bundled: Piwik, Auth
+
+    ## Require everything to be send via https only:
+    # https_only => 1,
+
+    ## Override default content security policy
+    # cs_policy => "default-src '*';"
+
+    ## Set proxy timeouts
+    # proxy_inactivity_timeout => 120,
+    # proxy_connect_timeout => 120,
+  defaults => {
+    align => 'center'
+  },
+   proxies => [{
+     root_path => '/plugin/export',
+     mount => 'http://10.10.14.225:7777',
+     service => 'export-plugin-proxy'
+  }],
+ },
+  CSP => {
+    'frame-src' => 'self',
+    'frame-ancestors' => ['self','http://korap.dnb.de/','https://korap.dnb.de/']
+   },
+ 'Kalamar-Plugins' => {
+     default_plugins =>'wiki.plugins.json'
+  },
+  Localize => {
+    dict => {
+      'en_title_addon' => 'DeLiKo@DNB',
+      'de_Template_intro' => 'custom/intro',
+      'en_Template_intro' => 'custom/intro',
+      'en_howToCite' => 'Citation Help',
+      'de_howToCite' => 'Zitierhilfe',
+      'en_recentCorpusPub' => 'Recent publications to refer to DeLiKo@DNB as research data',
+      'de_recentCorpusPub' => 'Neuere Publikationen zu DeLiKo@DNB als Forschungsdatengrundlage',
+      'en_recentToolPub' => 'Recent publications to refer to KorAP as a research tool',
+      'de_recentToolPub' => 'Neuere Publikationen zu KorAP als Forschungswerkzeug',
+    },
+    override  => 1
+  },
+  'TagHelpers-ContentBlock' => {
+    footer => [
+    {
+      inline => '<%= link_to loc("about") => "http://www.ids-mannheim.de/kl/projekte/korap/" %>',  
+      position => 70
+    },
+    {
+      inline => '<%= link_to loc("howToCite") => url_for(doc => { page => "faq" })->fragment("howToCite") %>',
+      position => 75
+    },
+    {
+      inline => '<%= link_to loc("imprint") => "https://www.dnb.de/DE/Service/Impressum/impressum_node.html" %>',  
+      position => 80
+    }],
+    faq => [
+      {
+        position => 50,
+        inline => <<'HOWTOCITE'
+<section>
+  <h3 id="howToCite"><%= loc 'howToCite' %></h3>
+%= include 'custom/partial/citation'
+</section>
+HOWTOCITE
+      }
+    ]
+  }
+}