import {Component, Input} from '@angular/core'; import {ZenodoInformationClass} from './utils/zenodoInformation.class'; import {EnvProperties} from "../utils/properties/env-properties"; import {ActivatedRoute, Router} from "@angular/router"; import {PiwikService} from "../utils/piwik/piwik.service"; import {HelperService} from "../utils/helper/helper.service"; import {RouterHelper} from "../utils/routerHelper.class"; import {SEOService} from "../sharedComponents/SEO/SEO.service"; import {Meta, Title} from "@angular/platform-browser"; @Component({ selector: 'deposit-first-page', template: `
Deposit or publish your research in Open Access
Find the appropriate repository or journal
Find the appropriate repository to deposit your research products of any type (publication, data, software, other) or to include in your data management plan. Search and browse for OpenAIRE compliant repositories registered in OpenDOAR and re3data.
Looking for Open Access journals? Find those that suit your community needs among the journals registered in the Directory of Open Access Journals (DOAJ).
To know more, read the OpenAIRE Open Access primer (https://www.openaire.eu/oa-basics)
Deposit
Find the repository to deposit your research or use the Zenodo communities suggested by the community curators repository.
Publish
Find the Open Access journals that suit your community needs among those registered in the Directory of Open Access Journals (DOAJ).

Start by searching repositories and journals

OR
Deposit your research now. Instantly and easily.
Related zenodo communities Deposit in Zenodo
Research. Shared.
All research outputs from across all fields of research are welcome! Sciences and Humanities, really!
Citeable. Discoverable.
Uploads gets a Digital Object Identifier (DOI) to make them easily and uniquely citeable.
Funding
Link your upload to its funding projects. For research funded by the European Commission, your upload will automatically be available for reporting on the EC participant portal.
Flexible licensing
Because not everything is under Creative Commons.
Safe
Your research output is stored safely for the future in the same cloud infrastructure as CERN's own LHC research data.
` }) export class DepositFirstPageComponent { public url: string = null; public title: string = "Deposit your research - Learn How"; @Input() public zenodoInformation: ZenodoInformationClass = new ZenodoInformationClass(); @Input() piwikSiteId = null; piwiksub:any; @Input() communityId = null; public pageContents = null; public divContents = null; public keyword: string; public depositRoute: string; public searchPlaceHolder = "Search by title, country, organization, subject, type..."; properties:EnvProperties; public routerHelper:RouterHelper = new RouterHelper(); constructor (private route: ActivatedRoute, private _piwikService:PiwikService, private helper: HelperService, private _router: Router, private _meta: Meta, private _title: Title, private seoService: SEOService) { } ngOnInit() { this.route.data .subscribe((data: { envSpecific: EnvProperties }) => { this.properties = data.envSpecific; this.url = this.properties.baseLink+this._router.url; this.seoService.createLinkForCanonicalURL(this.url, false); var description = "Openaire, Zenodo, repositories, open access, content provider, compatibility, deposit"; this.updateTitle(this.title); this.updateDescription(description); this.updateUrl(this.url); this.depositRoute = this.properties.depositSearchPage; //this.getDivContents(); this.getPageContents(); if (!this.zenodoInformation) { this.zenodoInformation = new ZenodoInformationClass(); } if (!this.zenodoInformation.shareInZenodoUrl) { this.zenodoInformation.url = this.properties.zenodo; } if (!this.zenodoInformation.name) { this.zenodoInformation.name = "Zenodo"; } if(this.properties.enablePiwikTrack && (typeof document !== 'undefined')){ this.piwiksub = this._piwikService.trackView(this.properties, this.title, this.piwikSiteId).subscribe(); } }); } public getPageContents() { this.helper.getPageHelpContents(this._router.url, this.properties, this.communityId).subscribe(contents => { this.pageContents = contents; }) } public getDivContents() { this.helper.getDivHelpContents(this._router.url, this.properties, this.communityId).subscribe(contents => { this.divContents = contents; }) } ngOnDestroy() { if(this.piwiksub){ this.piwiksub.unsubscribe(); } } private updateDescription(description:string) { this._meta.updateTag({content:description},"name='description'"); this._meta.updateTag({content:description},"property='og:description'"); } private updateTitle(title:string) { var _prefix =""; if(!this.communityId) { _prefix ="OpenAIRE | "; } var _title = _prefix + ((title.length> 50 ) ?title.substring(0,50):title); this._title.setTitle(_title); this._meta.updateTag({content:_title},"property='og:title'"); } private updateUrl(url:string) { this._meta.updateTag({content:url},"property='og:url'"); } }