lib/PublicInbox/Feed.pm | 22 ---------------------- diff --git a/lib/PublicInbox/Feed.pm b/lib/PublicInbox/Feed.pm index 3b0ae42263c9dda20b46fec1d674e967430370eb..a697a4326fcaefcb64f2be0a17432f71cd1a2163 100644 --- a/lib/PublicInbox/Feed.pm +++ b/lib/PublicInbox/Feed.pm @@ -8,7 +8,6 @@ use warnings; use Email::MIME; use Date::Parse qw(strptime); use PublicInbox::Hval qw/ascii_html/; -use PublicInbox::Git; use PublicInbox::View; use PublicInbox::MID qw/mid_clean mid2path/; use PublicInbox::Address; @@ -148,27 +147,6 @@ my $s = feed_entry($feed_opts, mid2path($msg->mid), $ibx); $fh->write($s) if defined $s; } end_feed($fh); -} - -sub _html_index_top { - my ($feed_opts, $srch) = @_; - - my $title = ascii_html($feed_opts->{description} || ''); - my $top = "$title (Atom feed)"; - if ($srch) { - $top = qq{
}
- } else {
- $top = '' . $top . "\n";
- }
-
- "$title " .
- "" .
- PublicInbox::Hval::STYLE .
- "$top";
}
sub new_html_footer {