From 8fd8af4cfded9bdcd0ed372ad99f6182f82a32cb Mon Sep 17 00:00:00 2001 From: Angel Ortega Date: Tue, 31 Jan 2012 13:32:39 +0100 Subject: [PATCH] Use the new shorter date static url in bin/gruta-snapshot. --- bin/gruta-snapshot | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/gruta-snapshot b/bin/gruta-snapshot index cbb33b7..9d56544 100755 --- a/bin/gruta-snapshot +++ b/bin/gruta-snapshot @@ -106,7 +106,9 @@ foreach my $t (sort $g->source->topics()) { my $d = $story->date('%y%m%d'); - out($g, 'SEARCH_BY_DATE', "${d}000000-${d}235959.html", { + mkdir $folder . '/' . $d; + + out($g, 'SEARCH_BY_DATE', "${d}/index.html", { from => "${d}000000", to => "${d}235959" } -- 2.11.4.GIT