summaryrefslogtreecommitdiff
path: root/sfeed_mbox.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2023-04-10 16:44:13 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2023-04-10 16:44:13 +0200
commitbf378f4350b0e92efcefd9c0c34f7b5c57c098f4 (patch)
treee00b7c41349830473d60c13bdcc01b1b055b55c8 /sfeed_mbox.c
parent14cce37fa54608362dc2d19ff66d10b64e5777b1 (diff)
remove sfeed "branding" in outputs
Technically for sfeed_atom this violates the RFC standard. There must be an author in the feed or for an item. However sfeed is not the author, it is a generator. All readers will read these feeds anyway. https://www.rfc-editor.org/rfc/rfc4287#section-4.1.1 "atom:feed elements MUST contain one or more atom:author elements, unless all of the atom:feed element's child atom:entry elements contain at least one atom:author element." *shrug*
Diffstat (limited to 'sfeed_mbox.c')
-rw-r--r--sfeed_mbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfeed_mbox.c b/sfeed_mbox.c
index 0cfd836..b5e7e3d 100644
--- a/sfeed_mbox.c
+++ b/sfeed_mbox.c
@@ -82,7 +82,7 @@ printfeed(FILE *fp, const char *feedname)
printf("Date: %s\n", dtimebuf); /* invalid/missing: use current time */
}
- printf("From: %s <sfeed@>\n", fields[FieldAuthor][0] ? fields[FieldAuthor] : feedname);
+ printf("From: %s <anonymous@>\n", fields[FieldAuthor][0] ? fields[FieldAuthor] : feedname);
printf("To: %s <%s@%s>\n", user, user, host);
printf("Subject: %s\n", fields[FieldTitle]);
printf("Message-ID: <%s%s%llu@%s>\n",