{** * plugins/generic/announcementFeed/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"}: {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} {foreach from=$announcements item=announcement} getId()}"/> {/foreach} {foreach from=$announcements item=announcement} getId()}"> {* required elements *} {$announcement->getLocalizedTitleFull()|strip|escape:"html"} {url page="announcement" op="view" path=$announcement->getId()} {* optional elements *} {if $announcement->getLocalizedDescription()} {$announcement->getLocalizedDescription()|strip|escape:"html"} {/if} {$journal->getLocalizedName()|strip|escape:"html"} {$announcement->getDatePosted()|date_format:"%Y-%m-%d"} {/foreach}