diff --git a/lib/WebGUI/Asset/Wobject/StoryTopic.pm b/lib/WebGUI/Asset/Wobject/StoryTopic.pm index 3839b151e..7fbdf4139 100644 --- a/lib/WebGUI/Asset/Wobject/StoryTopic.pm +++ b/lib/WebGUI/Asset/Wobject/StoryTopic.pm @@ -168,6 +168,8 @@ sub viewTemplateVariables { ##TODO: Photo variables } $var->{standAlone} = $self->{_standAlone}; + $var->{rssUrl} = $self->getUrl('func=viewRss'); + $var->{atomUrl} = $self->getUrl('func=viewAtom'); return $var; } diff --git a/lib/WebGUI/Help/Asset_StoryTopic.pm b/lib/WebGUI/Help/Asset_StoryTopic.pm index dc1e7bf0b..102270ef1 100644 --- a/lib/WebGUI/Help/Asset_StoryTopic.pm +++ b/lib/WebGUI/Help/Asset_StoryTopic.pm @@ -31,6 +31,8 @@ our $HELP = { { name => 'topStorySubtitle' }, { name => 'topStoryUrl' }, { name => 'topStoryCreationDate' }, + { name => 'rssUrl' }, + { name => 'atomUrl' }, ], related => [] }, diff --git a/lib/WebGUI/i18n/English/Asset_StoryTopic.pm b/lib/WebGUI/i18n/English/Asset_StoryTopic.pm index de29aa089..49c0e2b34 100644 --- a/lib/WebGUI/i18n/English/Asset_StoryTopic.pm +++ b/lib/WebGUI/i18n/English/Asset_StoryTopic.pm @@ -123,6 +123,18 @@ our $I18N = { lastUpdated => 0, }, + 'rssUrl' => { + message => q|The URL for the RSS feed for this Story Archive.|, + context => q|Template variable.|, + lastUpdated => 0, + }, + + 'atomUrl' => { + message => q|The URL for the Atom feed for this Story Archive.|, + context => q|Template variable.|, + lastUpdated => 0, + }, + }; 1;