[Explore|Trunk]

JSONLD: remove json ld from home component
	add it is app.component to be applied in every page

Update robots for production. Allow search pages again


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@59135 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
argiro.kokogiannaki 2020-07-15 14:00:30 +00:00
parent 38690270a3
commit e0405331e5
6 changed files with 11 additions and 29 deletions

View File

@ -20,6 +20,9 @@ import {ConfigurationService} from "./openaireLibrary/utils/configuration/config
<navbar *ngIf="properties" [portal]="properties.dashboard" [properties]=properties [onlyTop]=false [user]="user"
[communityId]="properties.adminToolsCommunity" [userMenuItems]=userMenuItems [menuItems]=menuItems></navbar>
<schema2jsonld *ngIf="properties" [URL]="properties.baseLink"
[logoURL]="properties.baseLink+'/assets/common-assets/logo-small-explore.png'" type="home"
name="OpenAIRE Explore" description="OpenAIRE Explore: search for research outcomes (publications, datasets, software, other research products), projects, funders, organizations, repositories, content providers in the OpenAIRE Research Graph. OpenAIRE research graph is one of the largest open scholarly record collections worldwide."></schema2jsonld>
<div class="custom-main-content">
<main>
<router-outlet></router-outlet>

View File

@ -18,11 +18,12 @@ import {OpenaireErrorPageComponent} from './error/errorPage.component';
import {AppRoutingModule} from './app-routing.module';
import {HttpInterceptorService} from "./openaireLibrary/http-interceptor.service";
import {PageURLResolverModule} from "./openaireLibrary/utils/pageURLResolver.module";
import {Schema2jsonldModule} from "./openaireLibrary/sharedComponents/schema2jsonld/schema2jsonld.module";
//import { EnvironmentSpecificService, REQUEST_TOKEN} from './openaireLibrary/utils/properties/environment-specific.service';
@NgModule({
imports: [
SharedModule,
CommonModule,
@ -33,7 +34,7 @@ import {PageURLResolverModule} from "./openaireLibrary/utils/pageURLResolver.mod
BrowserModule.withServerTransition({appId: 'my-app'}),
AppRoutingModule,
BrowserTransferStateModule,
BrowserAnimationsModule, PageURLResolverModule
BrowserAnimationsModule, PageURLResolverModule, Schema2jsonldModule
],
declarations: [AppComponent, OpenaireErrorPageComponent],
exports: [AppComponent],

View File

@ -234,9 +234,9 @@
</div>
</div>
<schema2jsonld [URL]="properties.baseLink"
[logoURL]="properties.baseLink+'/assets/common-assets/logo-small-explore.png'" type="home"
name="OpenAIRE Explore"></schema2jsonld>
<!--<schema2jsonld [URL]="properties.baseLink"-->
<!-- [logoURL]="properties.baseLink+'/assets/common-assets/logo-small-explore.png'" type="home"-->
<!-- name="OpenAIRE Explore"></schema2jsonld>-->
<div *ngIf="pageContents && pageContents['right'] && pageContents['right'].length > 0"
class="uk-section uk-section-small graph-background uk-margin-top">
<div class="uk-container uk-container-large uk-margin-medium-top">

View File

@ -168,7 +168,7 @@ export class HomeComponent {
private helper: HelperService, private router: Router
) {
var description = "openAIRE explore, open access, publications, research results, European commission, search";
var description = "OpenAIRE Explore: search for research outcomes (publications, datasets), projects, funders, organizations, repositories in the OpenAIRE Research Graph. OpenAIRE research graph is one of the largest open scholarly record collections worldwide.";
var title = "OpenAIRE | Explore";

View File

@ -18,7 +18,6 @@ import {HelperModule} from '../openaireLibrary/utils/helper/helper.module';
import {RefineFieldResultsServiceModule} from '../openaireLibrary/services/refineFieldResultsService.module';
import {FreeGuard} from '../openaireLibrary/login/freeGuard.guard';
import {PreviousRouteRecorder} from '../openaireLibrary/utils/piwik/previousRouteRecorder.guard';
import {Schema2jsonldModule} from '../openaireLibrary/sharedComponents/schema2jsonld/schema2jsonld.module';
import { SEOServiceModule } from '../openaireLibrary/sharedComponents/SEO/SEOService.module';
import {ErrorMessagesModule} from '../openaireLibrary/utils/errorMessages.module';
@ -37,7 +36,7 @@ import {QuickSelectionsModule} from "../openaireLibrary/searchPages/searchUtils/
HomeRoutingModule,
HelperModule,
ErrorMessagesModule,
Schema2jsonldModule, SEOServiceModule, OtherPortalsModule, EntitiesSelectionModule, QuickSelectionsModule
SEOServiceModule, OtherPortalsModule, EntitiesSelectionModule, QuickSelectionsModule
],
declarations: [
HomeComponent

View File

@ -4,26 +4,5 @@ Disallow: /participate/direct-claim
Disallow: /myclaims
Disallow: /claims
Disallow: /search/dataset?datasetId=*
Disallow: /search/other?orpId=*
Disallow: /search/project?projectId=*
Disallow: /search/dataprovider?datasourceId=*
Disallow: /search/organization?organizationId=*
Disallow: /project-report?projectId=*
Disallow: /search/find/datasets/
Disallow: /search/find/other/
Disallow: /search/find/projects/
Disallow: /search/find/dataproviders/
Disallow: /search/find/organizations/
Disallow: /search/advanced/datasets/
Disallow: /search/advanced/other/
Disallow: /search/advanced/projects/
Disallow: /search/advanced/dataproviders/
Disallow: /search/advanced/organizations/
Sitemap: https://explore.openaire.eu/sitemap.xml
Sitemap: https://explore.openaire.eu/publicationSitemap.xml
Sitemap: https://explore.openaire.eu/softwareSitemap.xml