{** * plugins/generic/announcementFeed/templates/rss2.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 2 feed template * *} {* required elements *} {$journal->getLocalizedName()|strip|escape:"html"}: {translate key="announcement.announcements"} {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 *} {if $journal->getPrimaryLocale()} {$journal->getPrimaryLocale()|replace:'_':'-'|strip|escape:"html"} {/if} {capture assign="dateUpdated"}{$dateUpdated|strtotime}{/capture} {$smarty.const.DATE_RSS|date:$dateUpdated} OJS {$ojsVersion|escape} http://blogs.law.harvard.edu/tech/rss 60 {foreach from=$announcements item=announcement} {* required elements *} {$announcement->getLocalizedTitleFull()|strip|escape:"html"} {url page="announcement" op="view" path=$announcement->getId()} {$announcement->getLocalizedDescription()|strip|escape:"html"} {* optional elements *} {url page="announcement" op="view" path=$announcement->getId()} {capture assign="datePosted"}{$announcement->getDatetimePosted()|strtotime}{/capture} {$smarty.const.DATE_RSS|date:$datePosted} {/foreach}