[Library|Trunk]
SEO Result landing: canonical id is the 1st openaire id or the 1st valid pid (if exists) exclude from no-index filter, records with free text kywords git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60420 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
bca4986523
commit
36015705b0
|
@ -632,6 +632,10 @@ export class ResultLandingComponent {
|
|||
((this.resultLandingInfo.fundedByProjects && this.resultLandingInfo.fundedByProjects.length > 0)
|
||||
|| this.resultLandingInfo.journal
|
||||
|| (this.resultLandingInfo.classifiedSubjects && this.resultLandingInfo.classifiedSubjects.size > 0)
|
||||
//allow free text keywords
|
||||
|| (this.resultLandingInfo.otherSubjects && this.resultLandingInfo.otherSubjects.size > 0)
|
||||
|| (this.resultLandingInfo.subjects && this.resultLandingInfo.subjects.length > 0)
|
||||
|
||||
|| (this.resultLandingInfo.organizations && this.resultLandingInfo.organizations.length > 0)
|
||||
|| this.resultLandingInfo.bioentities || (this.resultLandingInfo.references && this.resultLandingInfo.references.length > 0)
|
||||
|| (this.resultLandingInfo.relatedResearchResults && this.resultLandingInfo.relatedResearchResults.length > 0)
|
||||
|
|
|
@ -269,7 +269,10 @@ export class ResultLandingService {
|
|||
if(data[4] != null) {
|
||||
this.resultLandingInfo.identifiers = this.parsingFunctions.parseIdentifiers(data[4]);
|
||||
}
|
||||
|
||||
let pid:Identifier = Identifier.getResultPIDFromIdentifiers(this.resultLandingInfo.identifiers);
|
||||
if(pid){
|
||||
this.resultLandingInfo.relcanId = encodeURIComponent(pid.id);
|
||||
}
|
||||
// res['result']['metadata']['oaf:entity']['oaf:result']['journal']
|
||||
if(data[5] != null) {
|
||||
this.resultLandingInfo.journal = {"journal": "", "issn": "", "lissn": "", "eissn": "", "issue": "", "volume": "", "start_page": "", "end_page": ""}
|
||||
|
|
Loading…
Reference in New Issue