about summary refs log tree commit homepage
path: root/lib/PublicInbox/Feed.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2014-05-02 23:16:37 +0000
committerEric Wong <e@80x24.org>2014-05-02 23:16:37 +0000
commita1331e538ed8fff6e9554de553a2869954f54167 (patch)
tree7a255c7119bc6f7a775e441ba33f5387fd92441d /lib/PublicInbox/Feed.pm
parent63ede74cfe5817642a4211419ae2bd3838260237 (diff)
downloadpublic-inbox-a1331e538ed8fff6e9554de553a2869954f54167.tar.gz
These views are not OO, so the "as_" prefix makes little sense
and "as_html" conflicts with Hval, which is OO.
Diffstat (limited to 'lib/PublicInbox/Feed.pm')
-rw-r--r--lib/PublicInbox/Feed.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Feed.pm b/lib/PublicInbox/Feed.pm
index 09eb2fca..12ac8a95 100644
--- a/lib/PublicInbox/Feed.pm
+++ b/lib/PublicInbox/Feed.pm
@@ -243,7 +243,7 @@ sub add_to_feed {
         defined $mid or return 0;
         $mid = PublicInbox::Hval->new_msgid($mid);
         my $href = $mid->as_href . '.html';
-        my $content = PublicInbox::View->as_feed_entry($mime, $fullurl . $href);
+        my $content = PublicInbox::View->feed_entry($mime, $fullurl . $href);
         defined($content) or return 0;
 
         my $subject = mime_header($mime, 'Subject') or return 0;