Project

General

Profile

« Previous | Next » 

Revision 54905

[Trunk|Library]:
1. Other Research Products Landing page: Add 'References' tab.
2. publication.service & parsingFunctions.class:
Move parsing of res['result']['metadata']['oaf:entity']['extraInfo']['citations'] (aka 'References' tab) from publication.service to parsingFunctions file.
3. library.css: Remove 'margin-bottom: 5px;' from 'pseudo-external' class.

View differences:

publication.service.ts
216 216
                this.publicationInfo.title*/);
217 217

  
218 218
    if(data[10] != null) {
219
      this.publicationInfo.references = this.parseReferences(data[10]);
219
      this.publicationInfo.references = this.parsingFunctions.parseReferences(data[10]);
220 220
    }
221 221

  
222 222
    if(data[11] != null) {
......
325 325

  
326 326
    return [bioentities, software];
327 327
  }
328

  
328
/*
329 329
  parseReferences(citations: any): {"name": string, "url": string}[] {
330 330
    let references = new Array<{"name": string, "url": string}>();
331 331

  
......
353 353
    }
354 354
    return references;
355 355
  }
356

  
356
*/
357 357
  getOpenCitations(id: string, properties:EnvProperties) {
358 358
    //https://services.openaire.eu/opencitations/getCitations?id=doajarticles::2634200c24772ee8f10232d3e184ec65
359 359
    let url = properties.openCitationsAPIURL+id;// "https://services.openaire.eu/opencitations/getCitations?id=" + id;

Also available in: Unified diff