iAtom feeds: remove the wrong content-type for - stagit-gemini - Stagit for gemini protocol Openbsd Err thinkerwim.openbsd.amsterdam 70 hgit clone git://thinkerwim.org/stagit-gemini.git URL:git://thinkerwim.org/stagit-gemini.git thinkerwim.org 70 1Log /git/stagit-gemini/log.gph thinkerwim.org 70 1Files /git/stagit-gemini/files.gph thinkerwim.org 70 1Refs /git/stagit-gemini/refs.gph thinkerwim.org 70 1README /git/stagit-gemini/file/README.gph thinkerwim.org 70 1LICENSE /git/stagit-gemini/file/LICENSE.gph thinkerwim.org 70 i--- Err thinkerwim.openbsd.amsterdam 70 1commit 0bfdcd098140d52bd553364222df7ecf14621f70 /git/stagit-gemini/commit/0bfdcd098140d52bd553364222df7ecf14621f70.gph thinkerwim.org 70 1parent 8fd70151ae9c4015c33c9947b79b2072b021e310 /git/stagit-gemini/commit/8fd70151ae9c4015c33c9947b79b2072b021e310.gph thinkerwim.org 70 hAuthor: Hiltjo Posthuma URL:mailto:hiltjo@codemadness.org thinkerwim.org 70 iDate: Sat, 13 Mar 2021 18:13:18 +0100 Err thinkerwim.openbsd.amsterdam 70 i Err thinkerwim.openbsd.amsterdam 70 iAtom feeds: remove the wrong content-type for Err thinkerwim.openbsd.amsterdam 70 i Err thinkerwim.openbsd.amsterdam 70 iThe type is incorrectly set to "text/html". The attribute is optional as Err thinkerwim.openbsd.amsterdam 70 idescribed in the Atom standard. It's not entirely clear what the correct type Err thinkerwim.openbsd.amsterdam 70 ifor gopher would be either, so remove it. Err thinkerwim.openbsd.amsterdam 70 i Err thinkerwim.openbsd.amsterdam 70 iReferences: Err thinkerwim.openbsd.amsterdam 70 ihttps://tools.ietf.org/html/rfc4287 Err thinkerwim.openbsd.amsterdam 70 iSection 4.2.7. The "atom:link" Element and section 4.2.7.3. The "type" Attribute. Err thinkerwim.openbsd.amsterdam 70 i Err thinkerwim.openbsd.amsterdam 70 iDiffstat: Err thinkerwim.openbsd.amsterdam 70 i M stagit-gopher.c | 2 +- Err thinkerwim.openbsd.amsterdam 70 i Err thinkerwim.openbsd.amsterdam 70 i1 file changed, 1 insertion(+), 1 deletion(-) Err thinkerwim.openbsd.amsterdam 70 i--- Err thinkerwim.openbsd.amsterdam 70 1diff --git a/stagit-gopher.c b/stagit-gopher.c /git/stagit-gemini/file/stagit-gopher.c.gph thinkerwim.org 70 i@@ -914,7 +914,7 @@ printcommitatom(FILE *fp, struct commitinfo *ci, const char *tag) Err thinkerwim.openbsd.amsterdam 70 i xmlencode(fp, ci->summary, strlen(ci->summary)); Err thinkerwim.openbsd.amsterdam 70 i fputs("\n", fp); Err thinkerwim.openbsd.amsterdam 70 i } Err thinkerwim.openbsd.amsterdam 70 i- fprintf(fp, "\n", Err thinkerwim.openbsd.amsterdam 70 i+ fprintf(fp, "\n", Err thinkerwim.openbsd.amsterdam 70 i baseurl, ci->oid); Err thinkerwim.openbsd.amsterdam 70 i Err thinkerwim.openbsd.amsterdam 70 i if (ci->author) { Err thinkerwim.openbsd.amsterdam 70 .