sfeed

simple feed reader - forked from git.codemadness.org/sfeed
git clone git://src.gearsix.net/sfeed
Log | Files | Refs | Atom | README | LICENSE

commit 8790e11d5088d29443ca22ea1fe623db0786f32a
parent 68b559b084d7c765209c56b68a074f84aee39506
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sat, 12 Aug 2017 13:10:43 +0200

add newline after </html>

Diffstat:
Msfeed_frames.c | 8++++----
Msfeed_html.c | 2+-
2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/sfeed_frames.c b/sfeed_frames.c @@ -193,7 +193,7 @@ printfeed(FILE *fpitems, FILE *fpin, struct feed *f) printcontentxml(fields[FieldContent], fpcontent); fputs("</pre>", fpcontent); } - fputs("</div></body></html>", fpcontent); + fputs("</div></body></html>\n", fpcontent); /* set modified and access time of file to time of item. */ if (parsedtime) { @@ -283,7 +283,7 @@ main(int argc, char *argv[]) fclose(fp); } } - fputs("</pre>\n</div></body>\n</html>", fpitems); /* div items */ + fputs("</pre>\n</div></body>\n</html>\n", fpitems); /* div items */ if (showsidebar) { fputs("<html><head>" @@ -307,7 +307,7 @@ main(int argc, char *argv[]) fputs("</u></b>", fpmenu); fputs("</a><br/>\n", fpmenu); } - fputs("</div></body></html>", fpmenu); + fputs("</div></body></html>\n", fpmenu); } fputs("<!DOCTYPE html><html><head>\n\t<title>Newsfeed (", fpindex); fprintf(fpindex, "%lu", totalnew); @@ -325,7 +325,7 @@ main(int argc, char *argv[]) "\t\t<frame name=\"content\" target=\"content\">\n" "\t</frameset>\n" "</frameset>\n" - "</html>", fpindex); + "</html>\n", fpindex); fclose(fpitems); fclose(fpmenu); diff --git a/sfeed_html.c b/sfeed_html.c @@ -147,7 +147,7 @@ main(int argc, char *argv[]) fputs("\t\t</ul>\n\t</div>\n", stdout); } - fprintf(stdout, "\t</body>\n\t<title>Newsfeed (%lu)</title>\n</html>", + fprintf(stdout, "\t</body>\n\t<title>Newsfeed (%lu)</title>\n</html>\n", totalnew); return 0;