{** * plugins/generic/webFeed/templates/rss.tpl * * Copyright (c) 2013-2015 Simon Fraser University Library * Copyright (c) 2003-2015 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * RSS feed template * *} {* required elements *} {$journal->getLocalizedTitle()|strip|escape:"html"} {$journal->getUrl()|escape} {if $journal->getLocalizedDescription()} {assign var="description" value=$journal->getLocalizedDescription()} {elseif $journal->getLocalizedSetting('searchDescription')} {assign var="description" value=$journal->getLocalizedSetting('searchDescription')} {/if} {$description|strip|escape:"html"} {* optional elements *} {assign var="publisherInstitution" value=$journal->getSetting('publisherInstitution')} {if $publisherInstitution} {$publisherInstitution|strip|escape:"html"} {/if} {if $journal->getPrimaryLocale()} {$journal->getPrimaryLocale()|replace:'_':'-'|strip|escape:"html"} {/if} {$journal->getLocalizedTitle()|strip|escape:"html"} {if $journal->getSetting('printIssn')} {assign var="ISSN" value=$journal->getSetting('printIssn')} {elseif $journal->getSetting('onlineIssn')} {assign var="ISSN" value=$journal->getSetting('onlineIssn')} {/if} {if $ISSN} {$ISSN|escape} {/if} {if $journal->getLocalizedSetting('copyrightNotice')} {$journal->getLocalizedSetting('copyrightNotice')|strip|escape:"html"} {/if} {foreach name=sections from=$publishedArticles item=section key=sectionId} {foreach from=$section.articles item=article} getBestArticleId($currentJournal)}"/> {/foreach}{* articles *} {/foreach}{* sections *} {foreach name=sections from=$publishedArticles item=section key=sectionId} {foreach from=$section.articles item=article} getBestArticleId($currentJournal)}"> {* required elements *} {$article->getLocalizedTitle()|strip|escape:"html"} {url page="article" op="view" path=$article->getBestArticleId($currentJournal)} {* optional elements *} {if $article->getLocalizedAbstract()} {$article->getLocalizedAbstract()|strip|escape:"html"} {/if} {foreach from=$article->getAuthors() item=author name=authorList} {$author->getFullName()|strip|escape:"html"} {/foreach} {translate|escape key="submission.copyrightStatement" copyrightYear=$article->getCopyrightYear() copyrightHolder=$article->getLocalizedCopyrightHolder()} {$article->getLicenseURL()|escape} {if ($article->getAccessStatus() == $smarty.const.ARTICLE_ACCESS_OPEN || ($article->getAccessStatus() == $smarty.const.ARTICLE_ACCESS_ISSUE_DEFAULT && $issue->getAccessStatus() == $smarty.const.ISSUE_ACCESS_OPEN)) && $article->isCCLicense()} {else} {/if} {if $article->getDatePublished()} {$article->getDatePublished()|date_format:"%Y-%m-%d"} {$article->getDatePublished()|date_format:"%Y-%m-%d"} {/if} {if $issue->getVolume()}{$issue->getVolume()|escape}{/if} {if $issue->getNumber()}{$issue->getNumber()|escape}{/if} {if $article->getPages()} {if $article->getStartingPage()} {$article->getStartingPage()|escape} {/if} {if $article->getEndingPage()} {$article->getEndingPage()|escape} {/if} {/if} {if $article->getPubId('doi')} {$article->getPubId('doi')|escape} {/if} {/foreach}{* articles *} {/foreach}{* sections *}