{** * plugins/generic/announcementFeed/templates/rss2.tpl * * Copyright (c) 2013-2015 Simon Fraser University Library * Copyright (c) 2003-2015 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * RSS 2 feed template * *} {* required elements *} {$journal->getLocalizedTitle()|strip|escape:"html"}: {translate key="announcement.announcements"} {$journal->getUrl()|escape} {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} {$dateUpdated|date_format:"%a, %d %b %Y %T %z"} 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()} {$announcement->getDatetimePosted()|date_format:"%a, %d %b %Y %T %z"} {/foreach}