From 8e602557645415eb8a3db6e246582a5c6c5d0440 Mon Sep 17 00:00:00 2001 From: "argiro.kokogiannaki" Date: Tue, 24 Sep 2019 09:10:36 +0000 Subject: [PATCH] [Explore|Trunk] SEO sitemaps: Adding back a sitemap folder enable route /sitemap_File_.xml for everything under sitemap folder git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@57126 d315682c-612b-4755-9ff5-7f18f6832af3 --- explore/angular.json | 14 ++++++++++++-- explore/src/assets/env-properties.json | 2 +- explore/src/sitemaps/publicationSitemap.xml | 16 ++++++++++++++++ 3 files changed, 29 insertions(+), 3 deletions(-) create mode 100644 explore/src/sitemaps/publicationSitemap.xml diff --git a/explore/angular.json b/explore/angular.json index 13b8446e..dd429b36 100644 --- a/explore/angular.json +++ b/explore/angular.json @@ -19,7 +19,12 @@ "assets": [ "src/assets", "src/robots.txt", - "src/sitemap.xml" + "src/sitemap.xml", + { + "glob": "**/*", + "input": "src/sitemaps", + "output": "/" + } ], "styles": [ "src/styles.css", @@ -85,7 +90,12 @@ "assets": [ "src/assets", "src/robots.txt", - "src/sitemap.xml" + "src/sitemap.xml", + { + "glob": "**/*", + "input": "src/sitemaps", + "output": "/" + } ] } }, diff --git a/explore/src/assets/env-properties.json b/explore/src/assets/env-properties.json index 39d2652d..0f179d1e 100644 --- a/explore/src/assets/env-properties.json +++ b/explore/src/assets/env-properties.json @@ -34,7 +34,7 @@ "piwikSiteId" : "6", "loginUrl" :"http://scoobydoo.di.uoa.gr:8080/dnet-openaire-users-1.0.0-SNAPSHOT/openid_connect_login", - "userInfoUrl" : "http://rudie.di.uoa.gr:8280/dnet-openaire-users-1.0.0-SNAPSHOT/api/users/getUserInfo?accessToken=", + "userInfoUrl" : "http://rudie.di.uoa.gr:8080/dnet-openaire-users-1.0.0-SNAPSHOT/api/users/getUserInfo?accessToken=", "logoutUrl" :"https://aai.openaire.eu/proxy/saml2/idp/SingleLogoutService.php?ReturnTo=", diff --git a/explore/src/sitemaps/publicationSitemap.xml b/explore/src/sitemaps/publicationSitemap.xml new file mode 100644 index 00000000..8654a3af --- /dev/null +++ b/explore/src/sitemaps/publicationSitemap.xml @@ -0,0 +1,16 @@ + + + + + + daily + 0.9 + + + + + daily + 0.8 + + +