From e5f01c9ad63b4547900a488c452523a3f88344c5 Mon Sep 17 00:00:00 2001 From: dumpfmprod Date: Sun, 3 Oct 2010 09:08:19 -0400 Subject: timb: testing using redis to store a sorted set of post favcounts --- template/hiscore_test.st | 58 +++++++++++++++++++++++++++++++++++++++++++++++ template/share_buttons.st | 5 +++- 2 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 template/hiscore_test.st (limited to 'template') diff --git a/template/hiscore_test.st b/template/hiscore_test.st new file mode 100644 index 0000000..e700bb0 --- /dev/null +++ b/template/hiscore_test.st @@ -0,0 +1,58 @@ + + + dump.fm log +$head()$ + + + +$banner()$ +
+
+
+

most fav'd dumps this week


+
+
+ + $if(dumps)$ +
+ $dumps: { d | $log_dump(dump=d)$ }$ +
+ $if(json_tags)$ + + $endif$ + $else$ + No dumps! + $endif$ +
+ + +
+
+ + + +
+
+ $footer()$ +
+
+
+ + + diff --git a/template/share_buttons.st b/template/share_buttons.st index 882ec07..7cb874f 100644 --- a/template/share_buttons.st +++ b/template/share_buttons.st @@ -11,4 +11,7 @@ $else$ $endif$ - \ No newline at end of file +$if(dump.favcount)$ + $dump.favcount$ +$endif$ + -- cgit v1.2.3-70-g09d2