about summary refs log tree commit diff
path: root/concat.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-04-13 14:58:53 -0400
committerJune McEnroe <june@causal.agency>2020-04-13 14:58:53 -0400
commit9032566beb37bc907ed21cf0446ee427a82bdcb0 (patch)
treeea42d3f62f344f696551cee811028748422116b5 /concat.c
parentDo not escape > in XML/HTML (diff)
downloadbubger-9032566beb37bc907ed21cf0446ee427a82bdcb0.tar.gz
bubger-9032566beb37bc907ed21cf0446ee427a82bdcb0.zip
Export content to Atom
Temporarily disabling HTML output...
Diffstat (limited to '')
-rw-r--r--concat.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/concat.c b/concat.c
index abf648c..a0f451e 100644
--- a/concat.c
+++ b/concat.c
@@ -157,20 +157,5 @@ void concatData(struct List threads, struct List items) {
 		if (error) err(EX_IOERR, "%s", path);
 	}
 
-	path = pathThread(envelope.messageID, "html");
-	error = stat(path, &status);
-	if (error || status.st_mtime < uidNewest(flat, "html")) {
-		FILE *file = fopen(path, "w");
-		if (!file) err(EX_CANTCREAT, "%s", path);
-
-		error = 0
-			|| htmlThreadHead(file, &envelope) // TODO: Include -h file.
-			|| htmlThreadHeader(file, &envelope)
-			|| concatHTML(file, thread)
-			|| htmlThreadTail(file)
-			|| fclose(file);
-		if (error) err(EX_IOERR, "%s", path);
-	}
-
 	listFree(flat);
 }