We are moving to Git Issues for bug tracking in future releases. During transition, content will be in both tools. If you'd like to file a new bug, please create an issue.

View | Details | Raw Unified | Return to bug 6480 | Differences between
and this patch

Collapse All | Expand All

(-)a/templates/article/googlescholar.tpl (-3 / +3 lines)
 Lines 22-35    Link Here 
22
22
23
{**
23
{**
24
 * Google Scholar date: Use article publication date, falling back on issue
24
 * Google Scholar date: Use article publication date, falling back on issue
25
 * publication date and issue year in sequence.
25
 * year and issue publication date in sequence. Bug #6480.
26
 *}
26
 *}
27
{if $article->getDatePublished()}
27
{if $article->getDatePublished()}
28
	<meta name="citation_date" content="{$article->getDatePublished()|date_format:"%d/%m/%Y"}"/>
28
	<meta name="citation_date" content="{$article->getDatePublished()|date_format:"%d/%m/%Y"}"/>
29
{elseif $issue->getDatePublished()}
30
	<meta name="citation_date" content="{$issue->getDatePublished()|date_format:"%d/%m/%Y"}"/>
31
{elseif $issue->getYear()}
29
{elseif $issue->getYear()}
32
	<meta name="citation_date" content="{$issue->getYear()|escape}"/>
30
	<meta name="citation_date" content="{$issue->getYear()|escape}"/>
31
{elseif $issue->getDatePublished()}
32
	<meta name="citation_date" content="{$issue->getDatePublished()|date_format:"%d/%m/%Y"}"/>
33
{/if}
33
{/if}
34
34
35
	<meta name="citation_volume" content="{$issue->getVolume()|strip_tags|escape}"/>
35
	<meta name="citation_volume" content="{$issue->getVolume()|strip_tags|escape}"/>

Return to bug 6480