duckduckgo / zeroclickinfo-goodies

DuckDuckGo Instant Answers based on Perl & JavaScript
https://duckduckhack.com/
Other
979 stars 1.76k forks source link

Cheat Sheets (Controller): Use topics to dynamically assign categories #2781

Closed GuiltyDolphin closed 7 years ago

GuiltyDolphin commented 8 years ago

As discussed over on #2776, we could use the topics defined in the metadata on duck.co to dynamically assign categories to cheat sheets (and thus assign triggers).

I've got a 'prototype' over on https://github.com/duckduckgo/zeroclickinfo-goodies/tree/gd/cheatsheets-topic-categories


IA Page: http://duck.co/ia/view/cheat_sheets Maintainer: @zachthompson

zachthompson commented 8 years ago

Cool. @moollaza @russellholt @MariagraziaAlastra any thoughts?

GuiltyDolphin commented 8 years ago

@zachthompson Also, for testing maybe we could 'cache' the cheat sheets? This would avoid having the slightly longer wait time when loading the CheatSheets for duckpan query or duckpan test. (DuckPAN has that handy .duckpan/cache directory).

GuiltyDolphin commented 8 years ago

@zachthompson I think this might play quite well with #2777, where we could better customize what phrasing is ignored when triggering (e.g., we might ignore 'software' for the software group, thus allowing triggers like 'X software cheat sheet', 'cheat sheet X software' etc...).

pjhampton commented 7 years ago

Hey all

DuckDuckHack is now in Maintenance Mode and from now on, we are only accepting issues and PRs for essential bugs and bug fixes.

Unfortunately, with the above in mind, this isn't something we can action and will be closed.

We appreciate you taking the time to contribute and apologize for not being able to triage this issue.