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
|
|
@ -2117,6 +2117,18 @@ sub www_view {
|
|||
return undef;
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 isValidRssItem ( )
|
||||
|
||||
Returns true iff this asset should be included in RSS feeds from the
|
||||
RSS From Parent asset. If false, this asset will be ignored when
|
||||
generating feeds, even if it appears in the item list. Defaults to
|
||||
true.
|
||||
|
||||
=cut
|
||||
|
||||
sub isValidRssItem { 1 }
|
||||
|
||||
1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue