From 13cef554e48a245d8f3e4392a9e4a59a039a607c Mon Sep 17 00:00:00 2001 From: "argiro.kokogiannaki" Date: Wed, 28 Aug 2019 09:59:31 +0000 Subject: [PATCH] [Explore|Trunk] Sitemaps: remove landing page sitemaps and urls git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@56912 d315682c-612b-4755-9ff5-7f18f6832af3 --- explore/angular.json | 92 +----------------- explore/deploy/copysitemaps | 7 -- explore/deploy/prepareDeploy.sh | 2 +- explore/src/app/home/home.component.html | 2 +- explore/src/robots.txt | 9 +- explore/src/{assets => }/sitemap.xml | 0 explore/src/sitemaps/sitemap.xml | 113 ----------------------- 7 files changed, 5 insertions(+), 220 deletions(-) rename explore/src/{assets => }/sitemap.xml (100%) delete mode 100644 explore/src/sitemaps/sitemap.xml diff --git a/explore/angular.json b/explore/angular.json index 2a185866..13b8446e 100644 --- a/explore/angular.json +++ b/explore/angular.json @@ -19,51 +19,7 @@ "assets": [ "src/assets", "src/robots.txt", - { - "glob": "sitemap.xml", - "input": "src/sitemaps", - "output": "/" - }, - { - "glob": "sitemap.xml", - "input": "src/sitemaps", - "output": "/assets" - }, - { - "glob": "**/*", - "input": "src/sitemaps/publication", - "output": "/" - }, - { - "glob": "**/*", - "input": "src/sitemaps/dataset", - "output": "/" - }, - { - "glob": "**/*", - "input": "src/sitemaps/software", - "output": "/" - }, - { - "glob": "**/*", - "input": "src/sitemaps/other", - "output": "/" - }, - { - "glob": "**/*", - "input": "src/sitemaps/project", - "output": "/" - }, - { - "glob": "**/*", - "input": "src/sitemaps/organization", - "output": "/" - }, - { - "glob": "**/*", - "input": "src/sitemaps/dataprovider", - "output": "/" - } + "src/sitemap.xml" ], "styles": [ "src/styles.css", @@ -129,51 +85,7 @@ "assets": [ "src/assets", "src/robots.txt", - { - "glob": "sitemap.xml", - "input": "src/sitemaps", - "output": "/" - }, - { - "glob": "sitemap.xml", - "input": "src/sitemaps", - "output": "/assets" - }, - { - "glob": "**/*", - "input": "src/sitemaps/publication", - "output": "/" - }, - { - "glob": "**/*", - "input": "src/sitemaps/dataset", - "output": "/" - }, - { - "glob": "**/*", - "input": "src/sitemaps/software", - "output": "/" - }, - { - "glob": "**/*", - "input": "src/sitemaps/other", - "output": "/" - }, - { - "glob": "**/*", - "input": "src/sitemaps/project", - "output": "/" - }, - { - "glob": "**/*", - "input": "src/sitemaps/organization", - "output": "/" - }, - { - "glob": "**/*", - "input": "src/sitemaps/dataprovider", - "output": "/" - } + "src/sitemap.xml" ] } }, diff --git a/explore/deploy/copysitemaps b/explore/deploy/copysitemaps index 23450b58..bdc736b9 100644 --- a/explore/deploy/copysitemaps +++ b/explore/deploy/copysitemaps @@ -1,14 +1,7 @@ -cp /home/argiro.kokogiannaki/sitemap/dataset/* dist/server/; cp /home/argiro.kokogiannaki/sitemap/dataset/* dist/browser/; -cp /home/argiro.kokogiannaki/sitemap/publication/* dist/server/; cp /home/argiro.kokogiannaki/sitemap/publication/* dist/browser/; -cp /home/argiro.kokogiannaki/sitemap/software/* dist/server/; cp /home/argiro.kokogiannaki/sitemap/software/* dist/browser/; -cp /home/argiro.kokogiannaki/sitemap/other/* dist/server/; cp /home/argiro.kokogiannaki/sitemap/other/* dist/browser/; -cp /home/argiro.kokogiannaki/sitemap/project/* dist/server/; cp /home/argiro.kokogiannaki/sitemap/project/* dist/browser/; -cp /home/argiro.kokogiannaki/sitemap/organization/* dist/server/; cp /home/argiro.kokogiannaki/sitemap/organization/* dist/browser/; -cp /home/argiro.kokogiannaki/sitemap/dataprovider//* dist/server/; cp /home/argiro.kokogiannaki/sitemap/dataprovider/* dist/browser/; diff --git a/explore/deploy/prepareDeploy.sh b/explore/deploy/prepareDeploy.sh index f04f8d10..b0eb6e4e 100755 --- a/explore/deploy/prepareDeploy.sh +++ b/explore/deploy/prepareDeploy.sh @@ -16,7 +16,7 @@ ## uncommect from here--> # printf '\nCheck that you have the correct properties file\n'; -# printf -n "\nPress key:"; +# printf "\nPress key:"; # read -n1 ans # pico ../src/assets/env-properties.json; # printf '\nFor Production keep meta for bots'; diff --git a/explore/src/app/home/home.component.html b/explore/src/app/home/home.component.html index 034ede7a..f4d20f23 100644 --- a/explore/src/app/home/home.component.html +++ b/explore/src/app/home/home.component.html @@ -447,7 +447,7 @@ Latest funding database incorporated in OpenAIRE
- +
diff --git a/explore/src/robots.txt b/explore/src/robots.txt index 12b8d400..f49b9073 100644 --- a/explore/src/robots.txt +++ b/explore/src/robots.txt @@ -6,13 +6,6 @@ Disallow: /myclaims Disallow: /claims #Disallow: / -#Disallow: /participate/claim Sitemap: https://explore.openaire.eu/sitemap.xml -Sitemap: https://explore.openaire.eu/publicationSitemap.xml -Sitemap: https://explore.openaire.eu/datasetSitemap.xml -Sitemap: https://explore.openaire.eu/softwareSitemap.xml -Sitemap: https://explore.openaire.eu/otherSitemap.xml -Sitemap: https://explore.openaire.eu/projectSitemap.xml -Sitemap: https://explore.openaire.eu/organizationSitemap.xml -Sitemap: https://explore.openaire.eu/dataproviderSitemap.xml + diff --git a/explore/src/assets/sitemap.xml b/explore/src/sitemap.xml similarity index 100% rename from explore/src/assets/sitemap.xml rename to explore/src/sitemap.xml diff --git a/explore/src/sitemaps/sitemap.xml b/explore/src/sitemaps/sitemap.xml deleted file mode 100644 index 1d71a60c..00000000 --- a/explore/src/sitemaps/sitemap.xml +++ /dev/null @@ -1,113 +0,0 @@ - - - - - weekly - 1 - - - - weekly - 0.9 - - - - daily - 1 - - - - daily - 0.9 - - - - daily - 0.9 - - - - daily - 0.9 - - - - daily - 0.9 - - - - daily - 0.9 - - - - daily - 0.9 - - - - daily - 0.9 - - - - daily - 0.8 - - - - daily - 0.8 - - - - daily - 0.8 - - - - daily - 0.8 - - - - daily - 0.8 - - - - daily - 0.8 - - - - daily - 0.8 - - - - weekly - 0.7 - - - - weekly - 0.7 - - - - weekly - 0.7 - - - - weekly - 0.8 - - - - weekly - 0.8 - -