[Explore |Trunk]
- App: set robots tag to "all" on params change - to unset the noindex value for newly added records - delete unused sitemap file - update properties with new login in beta - update language tag in html pages - update sitemap.xml git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@60039 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
163cf2317a
commit
9e1dcf9f21
|
@ -11,6 +11,8 @@ import {UserManagementService} from "./openaireLibrary/services/user-management.
|
||||||
import {ConfigurationService} from "./openaireLibrary/utils/configuration/configuration.service";
|
import {ConfigurationService} from "./openaireLibrary/utils/configuration/configuration.service";
|
||||||
import {Header} from "./openaireLibrary/sharedComponents/navigationBar.component";
|
import {Header} from "./openaireLibrary/sharedComponents/navigationBar.component";
|
||||||
import {Subscriber} from "rxjs";
|
import {Subscriber} from "rxjs";
|
||||||
|
import {Meta} from "@angular/platform-browser";
|
||||||
|
import {properties} from "../environments/environment";
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
//changeDetection: ChangeDetectionStrategy.Default,
|
//changeDetection: ChangeDetectionStrategy.Default,
|
||||||
|
@ -61,7 +63,7 @@ export class AppComponent {
|
||||||
|
|
||||||
constructor(private route: ActivatedRoute, private propertiesService: EnvironmentSpecificService,
|
constructor(private route: ActivatedRoute, private propertiesService: EnvironmentSpecificService,
|
||||||
private router: Router, private userManagementService: UserManagementService,
|
private router: Router, private userManagementService: UserManagementService,
|
||||||
private configurationService: ConfigurationService) {
|
private configurationService: ConfigurationService, private _meta: Meta) {
|
||||||
this.subscriptions.push(router.events.forEach((event) => {
|
this.subscriptions.push(router.events.forEach((event) => {
|
||||||
if (event instanceof NavigationStart) {
|
if (event instanceof NavigationStart) {
|
||||||
// console.log(event.url);
|
// console.log(event.url);
|
||||||
|
@ -71,6 +73,10 @@ export class AppComponent {
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (typeof document !== 'undefined') {
|
if (typeof document !== 'undefined') {
|
||||||
try {
|
try {
|
||||||
this.isClient = true;
|
this.isClient = true;
|
||||||
|
@ -85,6 +91,11 @@ export class AppComponent {
|
||||||
this.properties = this.propertiesService.envSpecific;
|
this.properties = this.propertiesService.envSpecific;
|
||||||
this.configurationService.initCommunityInformation(this.properties, this.properties.adminToolsCommunity);
|
this.configurationService.initCommunityInformation(this.properties, this.properties.adminToolsCommunity);
|
||||||
this.feedbackmail = this.properties.feedbackmail;
|
this.feedbackmail = this.properties.feedbackmail;
|
||||||
|
if(this.properties.environment == "production") {
|
||||||
|
this.subscriptions.push(this.route.queryParams.subscribe(data => {
|
||||||
|
this._meta.updateTag({content: 'all', name: 'robots'});
|
||||||
|
}));
|
||||||
|
}
|
||||||
this.subscriptions.push(this.userManagementService.getUserInfo().subscribe(user => {
|
this.subscriptions.push(this.userManagementService.getUserInfo().subscribe(user => {
|
||||||
this.user = user;
|
this.user = user;
|
||||||
this.buildMenu();
|
this.buildMenu();
|
||||||
|
|
|
@ -46,11 +46,11 @@ export let properties: EnvProperties = {
|
||||||
|
|
||||||
piwikBaseUrl: "https://analytics.openaire.eu/piwik.php?idsite=",
|
piwikBaseUrl: "https://analytics.openaire.eu/piwik.php?idsite=",
|
||||||
piwikSiteId: "6",
|
piwikSiteId: "6",
|
||||||
loginUrl: "https://beta.services.openaire.eu/uoa-user-management/openid_connect_login",
|
loginUrl: "https://beta.services.openaire.eu/explore-login/openid_connect_login",
|
||||||
|
|
||||||
userInfoUrl: "https://beta.services.openaire.eu/uoa-user-management/api/users/getUserInfo?accessToken=",
|
userInfoUrl: "https://beta.services.openaire.eu/uoa-user-management/api/users/getUserInfo?accessToken=",
|
||||||
|
|
||||||
logoutUrl: "https://aai.openaire.eu/proxy/saml2/idp/SingleLogoutService.php?ReturnTo=",
|
logoutUrl: "https://beta.services.openaire.eu/explore-login/openid_login",
|
||||||
|
|
||||||
cookieDomain: ".openaire.eu",
|
cookieDomain: ".openaire.eu",
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en-gb" dir="ltr" vocab="http://schema.org/">
|
<html lang="en" dir="ltr" vocab="http://schema.org/">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en-gb" dir="ltr" vocab="http://schema.org/">
|
<html lang="en" dir="ltr" vocab="http://schema.org/">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en-gb" dir="ltr" vocab="http://schema.org/">
|
<html lang="en" dir="ltr" vocab="http://schema.org/">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
@ -19,6 +19,7 @@
|
||||||
<meta property="og:image:type" content="image/png" />
|
<meta property="og:image:type" content="image/png" />
|
||||||
<meta property="og:image:width" content="360" />
|
<meta property="og:image:width" content="360" />
|
||||||
<meta property="og:image:height" content="359" />
|
<meta property="og:image:height" content="359" />
|
||||||
|
<meta name="robots" content="all">
|
||||||
<meta name="google-site-verification" content="rZ-58gIX8IqzBte6Qv4J5yY9aSiDP15Dfc1Yr9yezqE" />
|
<meta name="google-site-verification" content="rZ-58gIX8IqzBte6Qv4J5yY9aSiDP15Dfc1Yr9yezqE" />
|
||||||
<meta name="msvalidate.01" content="AE99823CD202A982BAA0154148234DA8" />
|
<meta name="msvalidate.01" content="AE99823CD202A982BAA0154148234DA8" />
|
||||||
<meta name="yandex-verification" content="a7b057437d324960" />
|
<meta name="yandex-verification" content="a7b057437d324960" />
|
||||||
|
|
|
@ -1,12 +1,5 @@
|
||||||
User-Agent: *
|
User-Agent: *
|
||||||
Disallow: /upload
|
Disallow: /upload
|
||||||
Disallow: /participate/direct-claim
|
|
||||||
Disallow: /participate/direct-claim?*
|
|
||||||
Disallow: /participate/claim
|
|
||||||
Disallow: /myclaims
|
|
||||||
Disallow: /myclaims?*
|
|
||||||
Disallow: /claims
|
|
||||||
Disallow: /claims?*
|
|
||||||
Crawl-delay: 30
|
Crawl-delay: 30
|
||||||
Sitemap: https://explore.openaire.eu/sitemap.xml
|
Sitemap: https://explore.openaire.eu/sitemap.xml
|
||||||
|
|
||||||
|
|
|
@ -1,78 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
|
|
||||||
<url>
|
|
||||||
<loc><![CDATA[https://explore.openaire.eu]]></loc>
|
|
||||||
<changefreq>weekly</changefreq>
|
|
||||||
<priority>1</priority>
|
|
||||||
</url>
|
|
||||||
<url>
|
|
||||||
<loc><![CDATA[https://explore.openaire.eu/search/find]]></loc>
|
|
||||||
<changefreq>daily</changefreq>
|
|
||||||
<priority>1</priority>
|
|
||||||
</url>
|
|
||||||
<url>
|
|
||||||
<loc><![CDATA[https://explore.openaire.eu/search/find/research-outcomes]]></loc>
|
|
||||||
<changefreq>daily</changefreq>
|
|
||||||
<priority>0.9</priority>
|
|
||||||
</url>
|
|
||||||
<url>
|
|
||||||
<loc><![CDATA[https://explore.openaire.eu/search/find/projects]]></loc>
|
|
||||||
<changefreq>daily</changefreq>
|
|
||||||
<priority>0.9</priority>
|
|
||||||
</url>
|
|
||||||
<url>
|
|
||||||
<loc><![CDATA[https://explore.openaire.eu/search/find/organizations]]></loc>
|
|
||||||
<changefreq>daily</changefreq>
|
|
||||||
<priority>0.9</priority>
|
|
||||||
</url>
|
|
||||||
<url>
|
|
||||||
<loc><![CDATA[https://explore.openaire.eu/search/find/dataproviders]]></loc>
|
|
||||||
<changefreq>daily</changefreq>
|
|
||||||
<priority>0.9</priority>
|
|
||||||
</url>
|
|
||||||
<url>
|
|
||||||
<loc><![CDATA[https://explore.openaire.eu/search/advanced/research-outcomes]]></loc>
|
|
||||||
<changefreq>daily</changefreq>
|
|
||||||
<priority>0.8</priority>
|
|
||||||
</url>
|
|
||||||
<url>
|
|
||||||
<loc><![CDATA[https://explore.openaire.eu/search/advanced/projects]]></loc>
|
|
||||||
<changefreq>daily</changefreq>
|
|
||||||
<priority>0.8</priority>
|
|
||||||
</url>
|
|
||||||
<url>
|
|
||||||
<loc><![CDATA[https://explore.openaire.eu/search/advanced/organizations]]></loc>
|
|
||||||
<changefreq>daily</changefreq>
|
|
||||||
<priority>0.8</priority>
|
|
||||||
</url>
|
|
||||||
<url>
|
|
||||||
<loc><![CDATA[https://explore.openaire.eu/search/advanced/dataproviders]]></loc>
|
|
||||||
<changefreq>daily</changefreq>
|
|
||||||
<priority>0.8</priority>
|
|
||||||
</url>
|
|
||||||
<url>
|
|
||||||
<loc><![CDATA[https://explore.openaire.eu/search/content-providers]]></loc>
|
|
||||||
<changefreq>weekly</changefreq>
|
|
||||||
<priority>0.7</priority>
|
|
||||||
</url>
|
|
||||||
<url>
|
|
||||||
<loc><![CDATA[https://explore.openaire.eu/search/entity-registries]]></loc>
|
|
||||||
<changefreq>weekly</changefreq>
|
|
||||||
<priority>0.7</priority>
|
|
||||||
</url>
|
|
||||||
<url>
|
|
||||||
<loc><![CDATA[https://explore.openaire.eu/search/journals]]></loc>
|
|
||||||
<changefreq>weekly</changefreq>
|
|
||||||
<priority>0.7</priority>
|
|
||||||
</url>
|
|
||||||
<url>
|
|
||||||
<loc><![CDATA[https://explore.openaire.eu/participate/deposit/learn-how]]></loc>
|
|
||||||
<changefreq>weekly</changefreq>
|
|
||||||
<priority>0.8</priority>
|
|
||||||
</url>
|
|
||||||
<url>
|
|
||||||
<loc><![CDATA[https://explore.openaire.eu/participate/deposit/search]]></loc>
|
|
||||||
<changefreq>weekly</changefreq>
|
|
||||||
<priority>0.8</priority>
|
|
||||||
</url>
|
|
||||||
</urlset>
|
|
|
@ -1,59 +1,73 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc><![CDATA[https://explore.openaire.eu]]></loc>
|
<loc>https://explore.openaire.eu</loc>
|
||||||
<changefreq>weekly</changefreq>
|
|
||||||
<priority>1</priority>
|
|
||||||
</url>
|
|
||||||
<url>
|
|
||||||
<loc><![CDATA[https://explore.openaire.eu/search/find]]></loc>
|
|
||||||
<changefreq>daily</changefreq>
|
|
||||||
<priority>1</priority>
|
|
||||||
</url>
|
|
||||||
<url>
|
|
||||||
<loc><![CDATA[https://explore.openaire.eu/search/find/publications]]></loc>
|
|
||||||
<changefreq>daily</changefreq>
|
|
||||||
<priority>0.9</priority>
|
|
||||||
</url>
|
|
||||||
<url>
|
|
||||||
<loc><![CDATA[https://explore.openaire.eu/search/find/software]]></loc>
|
|
||||||
<changefreq>daily</changefreq>
|
|
||||||
<priority>0.9</priority>
|
|
||||||
</url>
|
|
||||||
<url>
|
|
||||||
<loc><![CDATA[https://explore.openaire.eu/search/advanced/publications]]></loc>
|
|
||||||
<changefreq>daily</changefreq>
|
|
||||||
<priority>0.8</priority>
|
|
||||||
</url>
|
|
||||||
<url>
|
|
||||||
<loc><![CDATA[https://explore.openaire.eu/search/advanced/software]]></loc>
|
|
||||||
<changefreq>daily</changefreq>
|
|
||||||
<priority>0.8</priority>
|
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc><![CDATA[https://explore.openaire.eu/search/content-providers]]></loc>
|
<loc>https://explore.openaire.eu/search/find/?size=20</loc>
|
||||||
<changefreq>weekly</changefreq>
|
|
||||||
<priority>0.7</priority>
|
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc><![CDATA[https://explore.openaire.eu/search/entity-registries]]></loc>
|
<loc>https://explore.openaire.eu/search/find/research-outcomes?qf=true&amp;size=20</loc>
|
||||||
<changefreq>weekly</changefreq>
|
|
||||||
<priority>0.7</priority>
|
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc><![CDATA[https://explore.openaire.eu/search/journals]]></loc>
|
<loc>https://explore.openaire.eu/search/find/projects?size=20</loc>
|
||||||
<changefreq>weekly</changefreq>
|
|
||||||
<priority>0.7</priority>
|
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc><![CDATA[https://explore.openaire.eu/participate/deposit-publications]]></loc>
|
<loc>https://explore.openaire.eu/search/find/dataproviders</loc>
|
||||||
<changefreq>weekly</changefreq>
|
|
||||||
<priority>0.8</priority>
|
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc><![CDATA[https://explore.openaire.eu/participate/deposit-datasets]]></loc>
|
<loc>https://explore.openaire.eu/search/find/organizations</loc>
|
||||||
<changefreq>weekly</changefreq>
|
|
||||||
<priority>0.8</priority>
|
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
|
<url>
|
||||||
|
<loc>https://explore.openaire.eu/participate/deposit/learn-how</loc>
|
||||||
|
</url>
|
||||||
|
|
||||||
|
<url>
|
||||||
|
<loc>https://explore.openaire.eu/participate/claim</loc>
|
||||||
|
</url>
|
||||||
|
|
||||||
|
<url>
|
||||||
|
<loc>https://www.openaire.eu/linking</loc>
|
||||||
|
</url>
|
||||||
|
|
||||||
|
<url>
|
||||||
|
<loc>https://explore.openaire.eu/search/content-providers</loc>
|
||||||
|
</url>
|
||||||
|
|
||||||
|
<url>
|
||||||
|
<loc>https://explore.openaire.eu/search/journals</loc>
|
||||||
|
</url>
|
||||||
|
|
||||||
|
<url>
|
||||||
|
<loc>https://explore.openaire.eu/search/entity-registries</loc>
|
||||||
|
</url>
|
||||||
|
|
||||||
|
<url>
|
||||||
|
<loc>https://explore.openaire.eu/search/find/dataproviders</loc>
|
||||||
|
</url>
|
||||||
|
|
||||||
|
<url>
|
||||||
|
<loc>https://explore.openaire.eu/search/find/research-outcomes?f0=q&amp;fv0=&size=10&sortBy=&resultbestaccessright=%22Open%20Access%22&type=publications&qf=true&size=20</loc>
|
||||||
|
</url>
|
||||||
|
|
||||||
|
<url>
|
||||||
|
<loc>https://explore.openaire.eu/search/find/research-outcomes?f0=q&fv0=&size=10&sortBy=&resultbestaccessright=%22Open%20Access%22&type=publications&qf=true&size=20</loc>
|
||||||
|
</url>
|
||||||
|
|
||||||
|
<url>
|
||||||
|
<loc>https://explore.openaire.eu/search/find/research-outcomes?f0=q&fv0=&size=10&sortBy=&resultbestaccessright=%22Open%20Access%22&type=publications,datasets,%22software%22&qf=true&size=20</loc>
|
||||||
|
</url>
|
||||||
|
|
||||||
|
<url>
|
||||||
|
<loc>https://explore.openaire.eu/search/find/research-outcomes?f0=q&fv0=&size=10&sortBy=&resultbestaccessright=%22Open%20Access%22&type=publications,datasets,%22other%22&qf=true&size=20</loc>
|
||||||
|
</url>
|
||||||
|
|
||||||
|
|
||||||
</urlset>
|
</urlset>
|
||||||
|
|
Loading…
Reference in New Issue