From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-2.8 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, RP_MATCHES_RCVD shortcircuit=no autolearn=unavailable version=3.3.2 X-Original-To: meta@public-inbox.org Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 26CE2633808 for ; Sat, 26 Dec 2015 01:30:27 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 3/3] use "Atom feed" consistently in headers/footers Date: Sat, 26 Dec 2015 01:30:21 +0000 Message-Id: <20151226013021.5006-4-e@80x24.org> In-Reply-To: <20151226013021.5006-1-e@80x24.org> References: <20151226013021.5006-1-e@80x24.org> List-Id: While having the extra " feed" is noisy in the main topic landing page, it is useful in headers/footers which have plenty of space to be more descriptive. --- lib/PublicInbox/Feed.pm | 2 +- lib/PublicInbox/SearchView.pm | 8 +++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/lib/PublicInbox/Feed.pm b/lib/PublicInbox/Feed.pm index 7ebc050..5708b60 100644 --- a/lib/PublicInbox/Feed.pm +++ b/lib/PublicInbox/Feed.pm @@ -194,7 +194,7 @@ sub nav_footer { $head = $cgi->path_info; $head = qq!head!; } - my $atom = "{atomurl}\">Atom"; + my $atom = "{atomurl}\">Atom feed"; "page: $next $head $atom"; } diff --git a/lib/PublicInbox/SearchView.pm b/lib/PublicInbox/SearchView.pm index 8751fca..ab3dddb 100644 --- a/lib/PublicInbox/SearchView.pm +++ b/lib/PublicInbox/SearchView.pm @@ -103,15 +103,13 @@ sub search_nav_top { my $x = $q->{x}; if ($x eq '') { my $t = $q->qs_html(x => 't'); - $rv .= qq{summary|}; - $rv .= qq{threaded} + $rv .= qq{summary|threaded} } elsif ($q->{x} eq 't') { my $s = $q->qs_html(x => ''); - $rv .= qq{summary|}; - $rv .= qq{threaded}; + $rv .= qq{summary|threaded}; } my $A = $q->qs_html(x => 'A', r => undef); - $rv .= qq{|Atom]}; + $rv .= qq{|Atom feed]}; } sub search_nav_bot { -- EW