Revision 60887
Added by Konstantinos Triantafyllou almost 3 years ago
references.component.ts | ||
---|---|---|
13 | 13 |
template: ` |
14 | 14 |
<schema2jsonld [URL]="properties.domain + '/resources/references'" |
15 | 15 |
[logoURL]="properties.domain + '/assets/common-assets/logo-small-graph.png'" |
16 |
[description]="description" type="other" [name]="title">
|
|
16 |
[description]="description" type="other" [name]="title"> |
|
17 | 17 |
</schema2jsonld> |
18 | 18 |
<div> |
19 | 19 |
<div class="uk-section"> |
... | ... | |
73 | 73 |
<li>Manghi, P., Atzori, C., De Bonis, M., & Bardi, A. (2020). Entity deduplication in big data graphs for scholarly |
74 | 74 |
communication. Data Technologies and Applications. 10.1108/DTA-09-2019-0163. |
75 | 75 |
</li> |
76 |
<li>Manghi, P., & Mikulicic, M. (2011, October). PACE: A general-purpose tool for authority control. In Research Conference on |
|
77 |
Metadata and Semantic Research (pp. 80-92). Springer, Berlin, Heidelberg. 10.1007/978-3-642-24731-6_8 |
|
78 |
</li> |
|
76 | 79 |
<li> |
77 | 80 |
Atzori, C., Manghi, P., & Bardi, A. (2018, December). GDup: de-duplication of scholarly communication big graphs. In 2018 |
78 | 81 |
IEEE/ACM 5th International Conference on Big Data Computing Applications and Technologies (BDCAT) (pp. 142-151). IEEE. |
... | ... | |
167 | 170 |
}) |
168 | 171 |
export class ReferencesComponent implements OnInit, OnDestroy { |
169 | 172 |
properties: EnvProperties = properties; |
170 |
description = "How to cite? Bibliographic references relative to the implementation of the OpenAIRE research graph processing pipeline and how to cite the graph results. ";
|
|
171 |
title = "OpenAIRE - Research Graph | References";
|
|
173 |
description = 'How to cite? Bibliographic references relative to the implementation of the OpenAIRE research graph processing pipeline and how to cite the graph results. ';
|
|
174 |
title = 'OpenAIRE - Research Graph | References';
|
|
172 | 175 |
subs: Subscription[] = []; |
173 | 176 |
public breadcrumbs: Breadcrumb[] = [ |
174 | 177 |
{ |
... | ... | |
184 | 187 |
} |
185 | 188 |
]; |
186 | 189 |
|
187 |
constructor(private _title: Title, private _piwikService:PiwikService, |
|
190 |
constructor(private _title: Title, private _piwikService: PiwikService,
|
|
188 | 191 |
private _router: Router, private _meta: Meta, |
189 | 192 |
private seoService: SEOService) { |
190 | 193 |
} |
191 | 194 |
|
192 | 195 |
ngOnInit() { |
193 | 196 |
this._title.setTitle(this.title); |
194 |
this._meta.updateTag({content:this.description},"name='description'");
|
|
195 |
this._meta.updateTag({content:this.description},"property='og:description'");
|
|
196 |
this._meta.updateTag({content:this.title},"property='og:title'");
|
|
197 |
var url = this.properties.domain + this.properties.baseLink+this._router.url;
|
|
197 |
this._meta.updateTag({content: this.description}, 'name=\'description\'');
|
|
198 |
this._meta.updateTag({content: this.description}, 'property=\'og:description\'');
|
|
199 |
this._meta.updateTag({content: this.title}, 'property=\'og:title\'');
|
|
200 |
var url = this.properties.domain + this.properties.baseLink + this._router.url;
|
|
198 | 201 |
this.seoService.createLinkForCanonicalURL(url, false); |
199 |
this._meta.updateTag({content:url},"property='og:url'");
|
|
200 |
if(this.properties.enablePiwikTrack && (typeof document !== 'undefined')){
|
|
202 |
this._meta.updateTag({content: url}, 'property=\'og:url\'');
|
|
203 |
if (this.properties.enablePiwikTrack && (typeof document !== 'undefined')) {
|
|
201 | 204 |
this.subs.push(this._piwikService.trackView(this.properties, this.title).subscribe()); |
202 | 205 |
} |
203 | 206 |
} |
204 | 207 |
|
205 | 208 |
public ngOnDestroy() { |
206 | 209 |
this.subs.forEach(sub => { |
207 |
if(sub instanceof Subscription) { |
|
210 |
if (sub instanceof Subscription) {
|
|
208 | 211 |
sub.unsubscribe(); |
209 | 212 |
} |
210 | 213 |
}); |
Also available in: Unified diff
[Graph | Trunk]: Finish development base on new mocks