Add RSSCapable mixin for RSS-capable assets, and RSSFromParent asset for
the feeds for those assets. Convert Collaboration to use this mechanism rather than its existing viewRSS, because this is more export-friendly.
This commit is contained in:
parent
61cdd872ac
commit
9a61dd2f38
7 changed files with 465 additions and 99 deletions
12
lib/WebGUI/i18n/English/Asset_RSSCapable.pm
Normal file
12
lib/WebGUI/i18n/English/Asset_RSSCapable.pm
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
package WebGUI::i18n::English::Asset_RSSCapable;
|
||||
|
||||
our $I18N =
|
||||
{
|
||||
'rssEnabled label' => { message => 'Enable RSS', lastUpdate => 1162487361 },
|
||||
'rssEnabled hoverHelp' => { message => q|Whether or not to enable the RSS feed for this asset. If enabled, an RSS From Parent asset will be created and managed as an extra child for this purpose. If not enabled, no such child will be created and the existing one will be deleted.|, lastUpdate => 1162487361 },
|
||||
'rssTemplateId label' => { message => 'RSS Template', lastUpdate => 1162487361 },
|
||||
'rssTemplateId hoverHelp' => { message => q|The template to use for the RSS feed of this asset.|, lastUpdate => 1162487361 },
|
||||
'assetName' => { message => 'RSS Capable', lastUpdate => 1162487361 },
|
||||
};
|
||||
|
||||
1;
|
||||
8
lib/WebGUI/i18n/English/Asset_RSSFromParent.pm
Normal file
8
lib/WebGUI/i18n/English/Asset_RSSFromParent.pm
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
package WebGUI::i18n::English::Asset_RSSFromParent;
|
||||
|
||||
our $I18N =
|
||||
{
|
||||
'assetName' => { message => 'RSS From Parent', lastUpdated => 1162257377 },
|
||||
};
|
||||
|
||||
1;
|
||||
Loading…
Add table
Add a link
Reference in a new issue