commit 9e7b780334e0e5a4e844851f455c88b25a3d6445
parent 9804aec4177eb906990bcf69b0a0e05204a48356
Author: Dominik Schmidt <das1993@hotmail.com>
Date: Sat, 23 Jan 2016 00:32:26 +0100
Write the rss to the right output stream.
Until now it has only written to stdout, independant of the File specified
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fbstream.d b/fbstream.d
@@ -206,8 +206,8 @@ class FBStream : DRSS!(Post){
void writeRSS(File f){
import drss.render;
XmlNode n=generateRSS(this,headers);
- writeln(rss_header);
- writeln(n);
+ f.writeln(rss_header);
+ f.writeln(n);
}
}