about summary refs log tree commit homepage
path: root/lib/PublicInbox/Feed.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-09-13 22:35:46 +0000
committerEric Wong <e@80x24.org>2015-09-13 22:36:15 +0000
commitd6089bc6728e6dc03640b312f097fe8328e8992e (patch)
tree6014ad89356b8c196ef437e1d1c31f7bda93f23f /lib/PublicInbox/Feed.pm
parent22fd855b498909bec6ca7112ace99ea392741992 (diff)
downloadpublic-inbox-d6089bc6728e6dc03640b312f097fe8328e8992e.tar.gz
This can be helpful for folks who want to subscribe
to a particular topic or keyword.
Diffstat (limited to 'lib/PublicInbox/Feed.pm')
-rw-r--r--lib/PublicInbox/Feed.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/PublicInbox/Feed.pm b/lib/PublicInbox/Feed.pm
index 5a2f62b1..85c598e5 100644
--- a/lib/PublicInbox/Feed.pm
+++ b/lib/PublicInbox/Feed.pm
@@ -74,7 +74,7 @@ sub emit_atom {
                 add_to_feed($feed_opts, $fh, $path, $git);
         });
         $git = undef; # destroy pipes
-        _end_feed($fh);
+        end_feed($fh);
 }
 
 sub _no_thread {
@@ -84,7 +84,7 @@ sub _no_thread {
         $fh->close;
 }
 
-sub _end_feed {
+sub end_feed {
         my ($fh) = @_;
         Email::Address->purge_cache;
         $fh->write('</feed>');
@@ -108,7 +108,7 @@ sub emit_atom_thread {
                 add_to_feed($feed_opts, $fh, mid2path($msg->mid), $git);
         }
         $git = undef; # destroy pipes
-        _end_feed($fh);
+        end_feed($fh);
 }
 
 sub emit_html_index {