aboutsummaryrefslogtreecommitdiffstats
path: root/skate
diff options
context:
space:
mode:
Diffstat (limited to 'skate')
-rw-r--r--skate/reduce.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/skate/reduce.go b/skate/reduce.go
index 6c86b92..7d789f5 100644
--- a/skate/reduce.go
+++ b/skate/reduce.go
@@ -148,7 +148,9 @@ func ZippyExactReleases(olr, releases io.Reader, matchResult MatchResult, w io.W
// fixed match result.
func ZippyExactWiki(releases, wiki io.Reader, mr MatchResult, w io.Writer) error {
var (
- enc = json.NewEncoder(xio.NewSingleWriter(w))
+ enc = json.NewEncoder(xio.NewSingleWriter(w))
+ // TODO: Use slug version of title. Also consider a generic schema
+ // (e.g. one that would look similar for OL, WB, WP, ...)
b32enc = base32.StdEncoding.WithPadding(base32.NoPadding)
keyer = makeKeyFunc("\t", 1)
grouper = func(g *zipkey.Group) error {