/usr/share/perl5/XML/RSS/Private/Output/V0_91.pm is in libxml-rss-perl 1.54-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | package XML::RSS::Private::Output::V0_91;
use strict;
use warnings;
use vars (qw(@ISA));
use XML::RSS::Private::Output::Base;
use XML::RSS::Private::Output::Roles::ImageDims;
@ISA = (qw(
XML::RSS::Private::Output::Roles::ImageDims
XML::RSS::Private::Output::Base
)
);
sub _get_rdf_decl
{
return
qq{<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN"\n} .
qq{ "http://www.rssboard.org/rss-0.91.dtd">\n\n} .
qq{<rss version="0.91">\n\n};
}
sub _calc_lastBuildDate {
my $self = shift;
if (defined(my $d = $self->channel('lastBuildDate'))) {
return $d;
}
elsif (defined(my $d2 = $self->_channel_dc('date'))) {
return $self->_date_to_rss2($self->_date_from_dc_date($d2));
}
else {
return undef;
}
}
sub _output_rss_middle {
my $self = shift;
# PICS rating
$self->_out_def_chan_tag("rating");
$self->_out_copyright();
$self->_out_dates();
# external CDF URL
$self->_out_def_chan_tag("docs");
$self->_out_editors;
$self->_out_last_elements;
}
1;
|