[ Mini Kiebo ]
Server: Windows NT DESKTOP-5B8S0D4 6.2 build 9200 (Windows 8 Professional Edition) i586
Path:
D:
/
Backup
/
14082024
/
Data
/
htdocs
/
htdocs
/
ojs
/
248
/
templates
/
article
/
[
Home
]
File: googlescholar.tpl
{** * 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}