Rename feed by default to feed.xml
This helps with processing in browsers. Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
This commit is contained in:
parent
0f65550169
commit
49a9670c4a
|
@ -2,11 +2,11 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>Newsletters</title>
|
||||
<link rel="alternate" type="application/atom+xml" title="ATOM feed" href="./feed.atom" />
|
||||
<link rel="alternate" type="application/atom+xml" title="ATOM feed" href="./feed.xml" />
|
||||
</head>
|
||||
<body>
|
||||
<h1>Newsletters 2 Web</h1>
|
||||
<p>The real feed can be found at <a href="./feed.atom">feed.atom</a></p>
|
||||
<p>The real feed can be found at <a href="./feed.xml">feed.xml</a></p>
|
||||
<p>Nothing to see here.</p>
|
||||
<p>This is a public landing page for an instance of the
|
||||
<a href="https://code.kiers.eu/newsletter-to-web/newsletter-to-web">Newsletters 2 Web</a>
|
||||
|
|
|
@ -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)]
|
||||
|
|
Loading…
Reference in New Issue