{** * plugins/generic/webFeed/templates/rss2.tpl * * Copyright (c) 2014-2018 Simon Fraser University * Copyright (c) 2003-2018 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * RSS 2 feed template * *} {* required elements *} {$journal->getLocalizedName()|strip|escape:"html"} {url journal=$journal->getPath()} {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 *} {if $journal->getPrimaryLocale()} {$journal->getPrimaryLocale()|replace:'_':'-'|strip|escape:"html"} {/if} {if $journal->getLocalizedSetting('copyrightNotice')} {$journal->getLocalizedSetting('copyrightNotice')|strip|escape:"html"} {/if} {if $journal->getSetting('contactEmail')} {$journal->getSetting('contactEmail')|strip|escape:"html"}{if $journal->getSetting('contactName')} ({$journal->getSetting('contactName')|strip|escape:"html"}){/if} {/if} {if $journal->getSetting('supportEmail')} {$journal->getSetting('supportEmail')|strip|escape:"html"}{if $journal->getSetting('contactName')} ({$journal->getSetting('supportName')|strip|escape:"html"}){/if} {/if} {if $issue->getDatePublished()} {$issue->getDatePublished()|date_format:"%a, %d %b %Y %T %z"} {/if} {* *} {* *} {* *} OJS {$ojsVersion|escape} http://blogs.law.harvard.edu/tech/rss 60 {foreach name=sections from=$publishedArticles item=section key=sectionId} {foreach from=$section.articles item=article} {* required elements *} {$article->getLocalizedTitle()|strip|escape:"html"} {url page="article" op="view" path=$article->getBestArticleId()} {$article->getLocalizedAbstract()|strip|escape:"html"} {* optional elements *} {$article->getAuthorString()|escape:"html"} {* *} {* *} {* *} {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} {url page="article" op="view" path=$article->getBestArticleId()} {if $article->getDatePublished()} {$article->getDatePublished()|date_format:"%a, %d %b %Y %T %z"} {/if} {/foreach}{* articles *} {/foreach}{* sections *}