From 5a2891dc8a0270af2e5cca0964bb862556b61d20 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 26 Jan 2018 21:54:00 +0000 Subject: [PATCH] atom: show metadata before message body This can allow streaming parsers (SAX) to work a little more efficiently as they can handle/discard all the metadata before the big content. --- lib/PublicInbox/WwwAtomStream.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/PublicInbox/WwwAtomStream.pm b/lib/PublicInbox/WwwAtomStream.pm index b9c7468f..ecb82bc3 100644 --- a/lib/PublicInbox/WwwAtomStream.pm +++ b/lib/PublicInbox/WwwAtomStream.pm @@ -129,13 +129,13 @@ sub feed_entry { } $s .= "$name$email" . "$title$updated" . + qq(). + "$uuid$irt" . qq{} . qq{} . qq() . PublicInbox::View::multipart_text_as_html($mime, $href) . - '' . - qq!!. - "$uuid$irt"; + ''; } sub feed_updated { -- 2.44.0