Commit Graph

13 Commits (240961711e98072160e6030607ccb760ab4d4697)

Author SHA1 Message Date
Matt Miller 130f1aa806 DuckDuckGo: add structured answer. 2014-11-15 21:32:59 +02:00
Matt Miller 75ef162d1c DuckDuckGo.t: test example queries.
Also, add some commetns to give the file a bit of structure.
2014-11-13 22:11:14 +02:00
Matt Miller 745c63a287 DuckDuckGo: add t-shirt options.
As many reasonable aliases of which I could think.

Fixes #676.
2014-10-18 10:14:32 +02:00
Matt Miller 99805113cd DuckDuckGo: hidden service updates.
- Play down its status as a "hidden service", since we widely
  adverterise the availability of such.
- Add more 'onion'-y keys.
2014-09-23 11:33:58 -04:00
Matt Miller 7f23be78f4 DuckDuckGo: respond to question form.
- Allow for ?s
- Skip some question filler words
2014-09-22 17:16:51 -04:00
Matt Miller 453428fa5c DuckDuckGo: add spacing variations for 'duck duck go'.
Who knows how someone may type it, so we'll assume they mean us no
matter what craziness is involved.

Also, clean up the tests a bit such that text changes need only be done
in one place, while the triggering can be run in multiple places easily.
2014-09-20 14:06:04 -04:00
Matt Miller 31bfb73a45 DuckDuckGo: expand trigger-space.
- Add "duck duck go" trigger.
- Add possessive versions of triggers.
- Allow triggers to appear anywhere in the query.
- Skip prepositions and definite articles before key conversion.

Fixes #645.
2014-09-20 10:18:29 -04:00
Matt Miller e0c590f23b DuckDuckGo: make the structure easier to maintain.
- Group up data in more human-friendly ways.
- Allow for generation of text and html responses from a base format, in
  most cases
- Move (almost) all processing outside the handler.

This also alphabetizes the keyword list which may have been a mistake.
The keywords don't reflect everything (given aliases) and maybe the old
structure made it easier for people to know where to put things
by looking for similar subjects.

Includes some improvements suggested by @crazedpsyc and @moollaza on
previous revisions.
2014-05-04 13:05:43 +08:00
Jag Talon 3dbd9513c6 t/DuckDuckGo.t: update tests. 2014-04-04 04:33:09 -04:00
Jag Talon 5af778a83c DuckDuckGo: Update tests. 2014-03-21 15:02:55 -04:00
Jag Talon 8f59e068d1 DuckDuckGo: Updated test. 2013-11-06 16:05:04 -05:00
Dylan Lloyd f006d79ba1 added irc link to DDG, refactored goodie 2013-07-06 18:23:06 -04:00
Michael Smith 58b8900ca2 add DDG::Goodie::DuckDuckGo, make HTMLEntities respond properly to control characters 2012-05-02 11:41:33 -06:00