{** * templates/rss2.tpl * * Copyright (c) 2014-2023 Simon Fraser University * Copyright (c) 2003-2023 John Willinsky * Distributed under the GNU GPL v3. For full terms see the file docs/COPYING. * * RSS 2 feed template * *} {* required elements *} {$context->getLocalizedName()|strip|escape:"html"} {url context=$context->getPath()} {if $context->getLocalizedDescription()} {assign var="description" value=$context->getLocalizedDescription()} {elseif $context->getLocalizedData('searchDescription')} {assign var="description" value=$context->getLocalizedData('searchDescription')} {/if} {$description|strip|escape:"html"} {* optional elements *} {if $context->getPrimaryLocale()} {$context->getPrimaryLocale()|replace:'_':'-'|strip|escape:"html"} {/if} {if $context->getLocalizedData('licenseTerms')} {$context->getLocalizedData('licenseTerms')|strip|escape:"html"} {/if} {if $context->getData('contactEmail')} {$context->getData('contactEmail')|strip|escape:"html"}{if $context->getData('contactName')} ({$context->getData('contactName')|strip|escape:"html"}){/if} {/if} {if $context->getData('supportEmail')} {$context->getData('supportEmail')|strip|escape:"html"}{if $context->getData('contactName')} ({$context->getData('supportName')|strip|escape:"html"}){/if} {/if} {$latestDate|date_format:$smarty.const.DATE_RSS} {* *} {* *} {* *} {$applicationName} {$applicationVersion|escape} http://blogs.law.harvard.edu/tech/rss 60 {foreach from=$submissions item=item} {assign var=submission value=$item.submission} {assign var=publication value=$submission->getCurrentPublication()} {* required elements *} {$publication->getLocalizedTitle()|strip|escape:"html"} {url page=$publicationPage op=$publicationOp path=$submission->getBestId()} {if $publication->getLocalizedData('abstract') || $includeIdentifiers} {if $includeIdentifiers} {foreach from=$item.identifiers item=identifier} {$identifier.label|strip|escape:"html"}: {', '|implode:$identifier.values|strip|escape:"html"}<br /> {/foreach}{* categories *} <br /> {/if} {$publication->getLocalizedData('abstract')|strip|escape:"html"} {/if} {* optional elements *} {* *} {if !empty($publication->getAuthorString($userGroups))} {$publication->getAuthorString($userGroups)|escape:"html"} {/if} {foreach from=$item.identifiers item=identifier} {foreach from=$identifier.values item=value} {$value|strip|escape:"html"} {/foreach} {/foreach}{* categories *} {* *} {* *} {translate|escape key="submission.copyrightStatement" copyrightYear=$publication->getData('copyrightYear') copyrightHolder=$publication->getLocalizedData('copyrightHolder')} {$publication->getData('licenseUrl')|escape} getData('accessStatus')) && $publication->isCCLicense()}rdf:resource="{$publication->getData('licenseUrl')|escape}"{/if} /> {url page=$publicationPage op=$publicationOp path=$submission->getBestId()} {$publication->getData('datePublished')|date_format:$smarty.const.DATE_RSS} {/foreach}{* articles *}