Skip to content
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.

Commit

Permalink
*6877* separating and refining citation_author information for Google…
Browse files Browse the repository at this point in the history
… Scholar
  • Loading branch information
jmacgreg committed Sep 9, 2011
1 parent 97dbba2 commit 961e254
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion templates/paper/googlescholar.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@
*}
<meta name="gs_meta_revision" content="1.1" />
<meta name="citation_conference_title" content="{$currentSchedConf->getFullTitle()|strip_tags|escape}"/>
<meta name="citation_authors" content="{foreach name="authors" from=$paper->getAuthors() item=author}{$author->getLastName()|escape}, {$author->getFirstName()|escape}{if $author->getMiddleName() != ""} {$author->getMiddleName()|escape}{/if}{if !$smarty.foreach.authors.last}; {/if}{/foreach}"/>
{foreach name="authors" from=$paper->getAuthors() item=author}
<meta name="citation_author" content="{$author->getFirstName()|escape}{if $author->getMiddleName() != ""} {$author->getMiddleName()|escape}{/if} {$author->getLastName()|escape}"/>
{if $author->getAffiliation() != ""}
<meta name="citation_author_affiliation" content="{$author->getAffiliation()|escape}"/>
{/if}
{/foreach}
<meta name="citation_title" content="{$paper->getLocalizedTitle()|strip_tags|escape}"/>
<meta name="citation_date" content="{$paper->getDatePublished()|date_format:"%Y/%m/%d"}"/>
<meta name="citation_abstract_html_url" content="{url page="paper" op="view" path=$paper->getBestPaperId($currentConference)}"/>
Expand Down

0 comments on commit 961e254

Please sign in to comment.