From 49a9670c4a8f331d4cb2ad329a8c019f8c2abb22 Mon Sep 17 00:00:00 2001 From: Jacob Kiers Date: Tue, 29 Nov 2022 23:08:12 +0100 Subject: [PATCH] Rename feed by default to feed.xml This helps with processing in browsers. Signed-off-by: Jacob Kiers --- resources/index.html | 4 ++-- src/cli.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/index.html b/resources/index.html index 962d635..259b3e7 100644 --- a/resources/index.html +++ b/resources/index.html @@ -2,11 +2,11 @@ Newsletters - +

Newsletters 2 Web

-

The real feed can be found at feed.atom

+

The real feed can be found at feed.xml

Nothing to see here.

This is a public landing page for an instance of the Newsletters 2 Web diff --git a/src/cli.rs b/src/cli.rs index 5c69ea4..0df27c2 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -32,7 +32,7 @@ pub(crate) enum Command { /// Host name hosting the feed hostname: String, /// Feed file - #[clap(value_parser, default_value = "output/feed.atom")] + #[clap(value_parser, default_value = "output/feed.xml")] filename: PathBuf, /// Create an HTML file for each message #[clap(short, long, value_parser, default_value_t = false)]