{** * plugins/generic/webFeed/templates/rss.tpl * * Copyright (c) 2014-2021 Simon Fraser University * Copyright (c) 2003-2021 John Willinsky * Distributed under the GNU GPL v3. For full terms see the file docs/COPYING. * * RSS feed template * *} {* required elements *} {$journal->getLocalizedName()|strip|escape:"html"} {url journal=$journal->getPath()} {if $journal->getLocalizedDescription()} {assign var="description" value=$journal->getLocalizedDescription()} {elseif $journal->getLocalizedData('searchDescription')} {assign var="description" value=$journal->getLocalizedData('searchDescription')} {/if} {$description|strip|escape:"html"} {* optional elements *} {assign var="publisherInstitution" value=$journal->getData('publisherInstitution')} {if $publisherInstitution} {$publisherInstitution|strip|escape:"html"} {/if} {if $journal->getPrimaryLocale()} {$journal->getPrimaryLocale()|replace:'_':'-'|strip|escape:"html"} {/if} {$journal->getLocalizedName()|strip|escape:"html"} {if $journal->getData('printIssn')} {assign var="ISSN" value=$journal->getData('printIssn')} {elseif $journal->getData('onlineIssn')} {assign var="ISSN" value=$journal->getData('onlineIssn')} {/if} {if $ISSN} {$ISSN|escape} {/if} {if $journal->getLocalizedData('licenseTerms')} {$journal->getLocalizedData('licenseTerms')|strip|escape:"html"} {/if} {foreach name=sections from=$publishedSubmissions item=section key=sectionId} {foreach from=$section.articles item=article} getBestId()}"/> {/foreach}{* articles *} {/foreach}{* sections *} {foreach name=sections from=$publishedSubmissions item=section key=sectionId} {foreach from=$section.articles item=article} {assign var=publication value=$article->getCurrentPublication()} getBestId()}"> {* required elements *} {$article->getLocalizedTitle()|strip|escape:"html"} {url page="article" op="view" path=$article->getBestId()} {* optional elements *} {if $article->getLocalizedAbstract()} {$article->getLocalizedAbstract()|strip|escape:"html"} {/if} {foreach from=$article->getAuthors() item=author name=authorList} {$author->getFullName(false)|strip|escape:"html"} {/foreach} {translate|escape key="submission.copyrightStatement" copyrightYear=$article->getCopyrightYear() copyrightHolder=$article->getLocalizedCopyrightHolder()} {$article->getLicenseURL()|escape} {if ($publication->getData('accessStatus') == $smarty.const.ARTICLE_ACCESS_OPEN || ($publication->getData('accessStatus') == $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->getShowVolume()}{$issue->getVolume()|escape}{/if} {if $issue->getNumber() && $issue->getShowNumber()}{$issue->getNumber()|escape}{/if} {if $article->getPages()} {if $article->getStartingPage()} {$article->getStartingPage()|escape} {/if} {if $article->getEndingPage()} {$article->getEndingPage()|escape} {/if} {/if} {if $article->getStoredPubId('doi')} {$article->getStoredPubId('doi')|escape} {/if} {/foreach}{* articles *} {/foreach}{* sections *}