commit 944d95c7ba52bcbf2771d50f33167701c4cbe64a
parent f2b37044783f684ba51ed4673f5ca1e5fedd3398
Author: Dominik Schmidt <das1993@hotmail.com>
Date: Sun, 6 Mar 2016 10:25:54 +0100
Reverse-iterate over found post-nodes.
This makes the date reliable again, so that more than one post is added each time.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fbstream.d b/fbstream.d
@@ -143,7 +143,7 @@ class FBStream : DRSS!(Post){
XmlNode[] nodes=root.parseXPath(`//div[@class="userContentWrapper _5pcr"]`);
assert(nodes.length>0, "No data nodes found!");
- foreach(node; nodes){
+ foreach(node; nodes.retro){
appendPost(node);
}
}