From 78deb546af616c0a664a8acb4d6e33d3e5a7060c Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Thu, 12 Dec 2019 13:07:13 -0500 Subject: harvest topics, name hashtag level names --- org/out_harvest_metadata.org | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'org') diff --git a/org/out_harvest_metadata.org b/org/out_harvest_metadata.org index 35b48e9..ebea75a 100644 --- a/org/out_harvest_metadata.org +++ b/org/out_harvest_metadata.org @@ -292,7 +292,8 @@ foreach(k0; .sort!("toUpper(a) < toUpper(b)", SwapStrategy.unstable) ) { if (k1 != "_a") { - topics ~= format(q"┃

%s

┃", + topics ~= format(q"┃

%s

┃", + k0.translate([' ' : "_"]), k1.translate([' ' : "_"]), k1,) ~ "\n"; if (_opt_action.very_verbose) { writeln(" ", k1); @@ -332,7 +333,8 @@ foreach(k0; .sort!("toUpper(a) < toUpper(b)", SwapStrategy.unstable) ) { if (k2 != "_a") { - topics ~= format(q"┃

%s

┃", + topics ~= format(q"┃

%s

┃", + k0.translate([' ' : "_"]), k1.translate([' ' : "_"]), k2.translate([' ' : "_"]), k2,) ~ "\n"; if (_opt_action.very_verbose) { writeln(" ", k2); @@ -372,7 +374,8 @@ foreach(k0; .sort!("toUpper(a) < toUpper(b)", SwapStrategy.unstable) ) { if (k3 != "_a") { - topics ~= format(q"┃

%s

┃", + topics ~= format(q"┃

%s

┃", + k0.translate([' ' : "_"]), k1.translate([' ' : "_"]), k2.translate([' ' : "_"]), k3.translate([' ' : "_"]), k3,) ~ "\n"; if (_opt_action.very_verbose) { writeln(" ", k3); -- cgit v1.2.3