From 2fdbebfce4ef0d39bd5506e025c736cf506fe655 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 12 Jan 2021 14:53:04 +0100 Subject: [PATCH] fixed scraper script and gemex project link --- src/themes/gemex.d4science.org/login/theme.properties | 2 +- src/utils/xquery/scraper.xq | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/themes/gemex.d4science.org/login/theme.properties b/src/themes/gemex.d4science.org/login/theme.properties index 43e7cad..2962060 100644 --- a/src/themes/gemex.d4science.org/login/theme.properties +++ b/src/themes/gemex.d4science.org/login/theme.properties @@ -43,7 +43,7 @@ linkTerms=https://gemex.d4science.org/terms-of-use linkCookies=https://gemex.d4science.org/cookie-policy linkPrivacy=https://www.iubenda.com/privacy-policy/441050 -linkProject=http://www.gemex.org +linkProject=http://www.gemex-h2020.eu/index.php ECLogo=yes ECLogoStyle=max-width: 35px; diff --git a/src/utils/xquery/scraper.xq b/src/utils/xquery/scraper.xq index 518ea79..f170133 100644 --- a/src/utils/xquery/scraper.xq +++ b/src/utils/xquery/scraper.xq @@ -58,7 +58,7 @@ declare %basex:inline function local:get-ec-logo($page){ }; declare %basex:inline function local:get-footer($page){ - string-join($page/html/body/footer/div/div//text() ! replace(., "'", "''"), "
") + string-join($page/html/body/footer/div/div//text() ! replace(., "'", """), "
") }; declare %basex:inline function local:to-ansible-call($params as map(*)){