unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
* [PATCH] feed: capitalize "Atom" consistently
@ 2015-11-18 21:19 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2015-11-18 21:19 UTC (permalink / raw)
  To: meta

This is the official name of the spec, so refer to it
as such despite the file extension being lower-cased
---
 lib/PublicInbox/Feed.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/PublicInbox/Feed.pm b/lib/PublicInbox/Feed.pm
index 85c598e..e66b678 100644
--- a/lib/PublicInbox/Feed.pm
+++ b/lib/PublicInbox/Feed.pm
@@ -12,7 +12,7 @@ use PublicInbox::View;
 use PublicInbox::MID qw/mid_clean mid2path/;
 use POSIX qw/strftime/;
 use constant {
-	DATEFMT => '%Y-%m-%dT%H:%M:%SZ', # atom standard
+	DATEFMT => '%Y-%m-%dT%H:%M:%SZ', # Atom standard
 	MAX_PER_PAGE => 25, # this needs to be tunable
 };
 
@@ -194,7 +194,7 @@ sub nav_footer {
 		$head = $cgi->path_info;
 		$head = qq!<a\nhref="$head">head</a>!;
 	}
-	my $atom = "<a\nhref=\"$feed_opts->{atomurl}\">atom</a>";
+	my $atom = "<a\nhref=\"$feed_opts->{atomurl}\">Atom</a>";
 	"<a\nname=\"s$anchor\">page:</a> $next $head $atom";
 }
 
-- 
EW


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-11-18 21:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-18 21:19 [PATCH] feed: capitalize "Atom" consistently Eric Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).