diff options
author | Eric Wong <e@80x24.org> | 2015-09-13 22:35:46 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-09-13 22:36:15 +0000 |
commit | d6089bc6728e6dc03640b312f097fe8328e8992e (patch) | |
tree | 6014ad89356b8c196ef437e1d1c31f7bda93f23f /lib/PublicInbox/Feed.pm | |
parent | 22fd855b498909bec6ca7112ace99ea392741992 (diff) | |
download | public-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.pm | 6 |
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 { |