sfeed

Simple RSS and Atom feed parser
git clone https://git.sinitax.com/codemadness/sfeed
Log | Files | Refs | README | LICENSE | Upstream | sfeed.txt

commit da8adbc02e4667a68077e5f0cab8548e2bb81c1b
parent db69f0f81d4796816c04e6330b963f907cbfded1
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Thu, 30 Nov 2023 17:59:18 +0100

sfeed_json: fix name of url field for attachments

This was a typo: "url:" should be "url".

Diffstat:
Msfeed_json.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sfeed_json.c b/sfeed_json.c @@ -121,7 +121,7 @@ printfeed(FILE *fp, const char *feedname) } if (fields[FieldEnclosure][0]) { - fputs(",\n\t\"attachments\": [{\"url:\": \"", stdout); + fputs(",\n\t\"attachments\": [{\"url\": \"", stdout); printfield(fields[FieldEnclosure]); fputs("\"}]", stdout); }