sfeed

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

commit 3b1217f6dc518016dff7c5270fd56dd85794d4f1
parent 0fce72b9b3c3f3bb45c3ed9b8916dae96a7a5d75
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sun, 20 Mar 2016 20:32:20 +0100

sfeed_frames: also XML encode formatted time (just in case)

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

diff --git a/sfeed_frames.c b/sfeed_frames.c @@ -208,7 +208,7 @@ printfeed(FILE *fpitems, FILE *fpin, struct feed *f) else fputs("<tr>", fpitems); fputs("<td nowrap valign=\"top\">", fpitems); - fputs(fields[FieldTimeFormatted], fpitems); + xmlencode(fields[FieldTimeFormatted], fpitems); fputs("</td><td nowrap valign=\"top\">", fpitems); if (isnew) fputs("<b><u>", fpitems);