Make RSS From Parent assets always hidden from navigation.

This commit is contained in:
Drake 2006-12-01 19:09:11 +00:00
parent 2e608a2a20
commit f11b0b8b85
3 changed files with 22 additions and 0 deletions

View file

@ -57,6 +57,13 @@ sub definition {
}
#-------------------------------------------------------------------
sub update {
# Re-force isHidden to 1 on each update; these should always be hidden.
my $self = shift;
my $properties = shift;
$self->SUPER::update(+{%$properties, isHidden => 1});
}
sub _escapeXml {
my $text = shift;
my %entities = ('<' => '&lt;', '>' => '&gt;', '"' => '&quot;', "'" => "&apos;");