[Explore|Trunk]

angular:jsom: add replacements files for robots.txt, index.html properly
app.routing: table view routes redirect to search pages
update robots.txt and properties files


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@59287 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
argiro.kokogiannaki 2020-08-17 09:12:54 +00:00
parent 2d8c3ec290
commit c446566929
10 changed files with 38 additions and 50 deletions

View File

@ -53,6 +53,14 @@
{ {
"replace": "src/environments/environment.ts", "replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts" "with": "src/environments/environment.prod.ts"
},
{
"replace": "src/index.html",
"with": "src/index.prod.html"
},
{
"replace": "src/robots.txt",
"with": "src/robots.prod.txt"
} }
] ]
}, },
@ -70,6 +78,14 @@
{ {
"replace": "src/environments/environment.ts", "replace": "src/environments/environment.ts",
"with": "src/environments/environment.beta.ts" "with": "src/environments/environment.beta.ts"
},
{
"replace": "src/index.html",
"with": "src/index.beta.html"
},
{
"replace": "src/robots.txt",
"with": "src/robots.beta.txt"
} }
] ]
}, },

View File

@ -33,7 +33,9 @@
"generate:prerender": "cd dist && node prerender", "generate:prerender": "cd dist && node prerender",
"webpack:server": "webpack --config webpack.server.config.js --progress --colors", "webpack:server": "webpack --config webpack.server.config.js --progress --colors",
"serve:prerender": "cd dist/browser && http-server", "serve:prerender": "cd dist/browser && http-server",
"serve:ssr": "node dist/server" "serve:ssr": "node dist/server",
"after-build-clean": "rm -rf src node_modules .idea/ installOpenaireLib.sh deploy dist/browser/assets/common-assets/.svn/ dist/browser/stats.json ; "
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {

View File

@ -52,11 +52,11 @@ const routes: Routes = [
// Search Content Providers Pages // Search Content Providers Pages
{ path: 'search/content-providers', loadChildren: './searchPages/dataProviders/compatibleDataProviders.module#LibCompatibleDataProvidersModule', resolve: { envSpecific: EnvironmentSpecificResolver }}, { path: 'search/content-providers', loadChildren: './searchPages/dataProviders/compatibleDataProviders.module#LibCompatibleDataProvidersModule', resolve: { envSpecific: EnvironmentSpecificResolver }},
{ path: 'search/content-providers-table', loadChildren: './searchPages/dataProviders/compatibleDataProvidersTable.module#LibCompatibleDataProvidersTableModule', resolve: { envSpecific: EnvironmentSpecificResolver }}, { path: 'search/content-providers-table', redirectTo: 'search/content-providers'},
{ path: 'search/entity-registries', loadChildren: './searchPages/dataProviders/entityRegistries.module#LibEntityRegistriesModule', resolve: { envSpecific: EnvironmentSpecificResolver }}, { path: 'search/entity-registries', loadChildren: './searchPages/dataProviders/entityRegistries.module#LibEntityRegistriesModule', resolve: { envSpecific: EnvironmentSpecificResolver }},
{ path: 'search/entity-registries-table', loadChildren: './searchPages/dataProviders/entityRegistriesTable.module#LibEntityRegistriesTableModule', resolve: { envSpecific: EnvironmentSpecificResolver }}, { path: 'search/entity-registries-table', redirectTo: 'search/entity-registries'},
{ path: 'search/journals', loadChildren: './searchPages/dataProviders/journals.module#LibJournalsModule', resolve: { envSpecific: EnvironmentSpecificResolver }}, { path: 'search/journals', loadChildren: './searchPages/dataProviders/journals.module#LibJournalsModule', resolve: { envSpecific: EnvironmentSpecificResolver }},
{ path: 'search/journals-table', loadChildren: './searchPages/dataProviders/journalsTable.module#LibJournalsTableModule', resolve: { envSpecific: EnvironmentSpecificResolver }}, { path: 'search/journals-table', redirectTo: 'search/journals'},
// Deposit Pages // Deposit Pages
{ path: 'participate/deposit-datasets', redirectTo: 'participate/deposit/learn-how', pathMatch: 'full'}, { path: 'participate/deposit-datasets', redirectTo: 'participate/deposit/learn-how', pathMatch: 'full'},

View File

@ -3,7 +3,7 @@ import {Component, Input} from '@angular/core';
@Component({ @Component({
selector: 'openaire-search-results', selector: 'openaire-search-results',
template: ` template: `
<search-research-results resultType="result"></search-research-results> <search-research-results resultType="result" [stickyForm]="false"></search-research-results>
` `
}) })

View File

@ -216,9 +216,3 @@
border-radius: 6px; border-radius: 6px;
} }
.exploreZenodoButton {
background: transparent linear-gradient(90deg, #01367D 0%, #009AE1 100%) 0% 0% no-repeat padding-box;
box-shadow: 0px 4px 10px #00000029;
border: none;
color: white;
}

View File

@ -107,7 +107,7 @@ export let properties: EnvProperties = {
showLastIndexInformationLink: false, showLastIndexInformationLink: false,
widgetLink: "https://beta.openaire.eu/index.php?option=com_openaire&view=widget&format=raw&projectId=", widgetLink: "https://beta.openaire.eu/index.php?option=com_openaire&view=widget&format=raw&projectId=",
claimsInformationLink: "https://beta.openaire.eu/linking", claimsInformationLink: "https://beta.openaire.eu/linking",
lastIndexUpdate: "2020-03-26", lastIndexUpdate: "2020-05-11",
indexInfoAPI: "http://beta.services.openaire.eu/openaire/info/", indexInfoAPI: "http://beta.services.openaire.eu/openaire/info/",
depositLearnHowPage: "/participate/deposit/learn-how", depositLearnHowPage: "/participate/deposit/learn-how",

View File

@ -6,7 +6,7 @@ export let properties: EnvProperties = {
enablePiwikTrack: true, enablePiwikTrack: true,
useCache: false, useCache: false,
useLongCache: true, useLongCache: true,
showAddThis: false, showAddThis: true,
metricsAPIURL: "https://services.openaire.eu/usagestats/", metricsAPIURL: "https://services.openaire.eu/usagestats/",
framesAPIURL: "https://www.openaire.eu/stats3/", framesAPIURL: "https://www.openaire.eu/stats3/",
statisticsAPIURL: "https://beta.services.openaire.eu/stats-api/", statisticsAPIURL: "https://beta.services.openaire.eu/stats-api/",
@ -108,7 +108,7 @@ export let properties: EnvProperties = {
showLastIndexInformationLink: true, showLastIndexInformationLink: true,
widgetLink: "https://www.openaire.eu/index.php?option=com_openaire&view=widget&format=raw&projectId=", widgetLink: "https://www.openaire.eu/index.php?option=com_openaire&view=widget&format=raw&projectId=",
claimsInformationLink: "https://www.openaire.eu/linking", claimsInformationLink: "https://www.openaire.eu/linking",
lastIndexUpdate: "2020-04-22", lastIndexUpdate: "2020-06-15",
indexInfoAPI: "http://services.openaire.eu/openaire/info/", indexInfoAPI: "http://services.openaire.eu/openaire/info/",
depositLearnHowPage: "/participate/deposit/learn-how", depositLearnHowPage: "/participate/deposit/learn-how",

View File

@ -39,12 +39,14 @@ export let properties: EnvProperties = {
ercGuidlines: "http://erc.europa.eu/sites/default/files/document/file/ERC_Open_Access_Guidelines-revised_2014.pdf", ercGuidlines: "http://erc.europa.eu/sites/default/files/document/file/ERC_Open_Access_Guidelines-revised_2014.pdf",
helpdesk: "https://www.openaire.eu/support/helpdesk", helpdesk: "https://www.openaire.eu/support/helpdesk",
helpdeskEmail: "helpdesk@openaire.eu", helpdeskEmail: "helpdesk@openaire.eu",
utilsService: "https://explore.openaire.eu/utils-service",
vocabulariesAPI: "https://services.openaire.eu/provision/mvc/vocabularies/", vocabulariesAPI: "https://services.openaire.eu/provision/mvc/vocabularies/",
piwikBaseUrl: "https://analytics.openaire.eu/piwik.php?idsite=", piwikBaseUrl: "https://analytics.openaire.eu/piwik.php?idsite=",
piwikSiteId: "109", piwikSiteId: "109",
loginUrl: "https://services.openaire.eu/uoa-user-management/openid_connect_login", loginUrl: "https://services.openaire.eu/uoa-user-management/openid_connect_login",
userInfoUrl: " https://services.openaire.eu/uoa-user-management/api/users/getUserInfo?accessToken=", userInfoUrl: " https://services.openaire.eu/uoa-user-management/api/users/getUserInfo?accessToken=",
logoutUrl: "https://aai.openaire.eu/proxy/saml2/idp/SingleLogoutService.php?ReturnTo=", logoutUrl: "https://aai.openaire.eu/proxy/saml2/idp/SingleLogoutService.php?ReturnTo=",
@ -105,7 +107,7 @@ export let properties: EnvProperties = {
showLastIndexInformationLink: false, showLastIndexInformationLink: false,
widgetLink: "https://test.openaire.eu/index.php?option=com_openaire&view=widget&format=raw&projectId=", widgetLink: "https://test.openaire.eu/index.php?option=com_openaire&view=widget&format=raw&projectId=",
claimsInformationLink: "https://www.openaire.eu/linking", claimsInformationLink: "https://www.openaire.eu/linking",
lastIndexUpdate: "2019-09-07", lastIndexUpdate: "2020-07-31",
indexInfoAPI: "http://services.openaire.eu/openaire/info/", indexInfoAPI: "http://services.openaire.eu/openaire/info/",
depositLearnHowPage: "/participate/deposit/learn-how", depositLearnHowPage: "/participate/deposit/learn-how",

View File

@ -1,8 +1,12 @@
User-Agent: * User-Agent: *
Disallow: /upload Disallow: /upload
Disallow: /participate/direct-claim Disallow: /participate/direct-claim
Disallow: /participate/direct-claim?*
Disallow: /participate/claim
Disallow: /myclaims Disallow: /myclaims
Disallow: /myclaims?*
Disallow: /claims Disallow: /claims
Disallow: /claims?*
Sitemap: https://explore.openaire.eu/sitemap.xml Sitemap: https://explore.openaire.eu/sitemap.xml

View File

@ -11,22 +11,7 @@
<priority>1</priority> <priority>1</priority>
</url> </url>
<url> <url>
<loc><![CDATA[https://explore.openaire.eu/search/find/publications]]></loc> <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/datasets]]></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/find/other]]></loc>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
<priority>0.9</priority> <priority>0.9</priority>
</url> </url>
@ -46,22 +31,7 @@
<priority>0.9</priority> <priority>0.9</priority>
</url> </url>
<url> <url>
<loc><![CDATA[https://explore.openaire.eu/search/advanced/publications]]></loc> <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/datasets]]></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>
<loc><![CDATA[https://explore.openaire.eu/search/advanced/other]]></loc>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
<priority>0.8</priority> <priority>0.8</priority>
</url> </url>
@ -96,12 +66,12 @@
<priority>0.7</priority> <priority>0.7</priority>
</url> </url>
<url> <url>
<loc><![CDATA[https://explore.openaire.eu/participate/deposit-publications]]></loc> <loc><![CDATA[https://explore.openaire.eu/participate/deposit/learn-how]]></loc>
<changefreq>weekly</changefreq> <changefreq>weekly</changefreq>
<priority>0.8</priority> <priority>0.8</priority>
</url> </url>
<url> <url>
<loc><![CDATA[https://explore.openaire.eu/participate/deposit-datasets]]></loc> <loc><![CDATA[https://explore.openaire.eu/participate/deposit/search]]></loc>
<changefreq>weekly</changefreq> <changefreq>weekly</changefreq>
<priority>0.8</priority> <priority>0.8</priority>
</url> </url>