Commit Graph

21 Commits (03c6d1a120fc99b35423c38d5b237e549ac252bf)

Author SHA1 Message Date
mayank7 5bfb4b6ec2 Corrected the broken link 2016-02-21 18:44:57 +05:30
Brian Stoner cf819a83f7 fix failing tests 2016-01-15 06:47:32 -05:00
Brian Stoner 1815e7190b handle the image differently because the text template floats it to the right 2016-01-14 11:49:35 -05:00
Brian Stoner 961b7defd1 add image support for dax 2016-01-14 11:39:29 -05:00
Brian Stoner c1814141c0 more revisions to the responses 2016-01-14 11:30:47 -05:00
Brian Stoner 25e1df7d88 update the responses text + tests 2016-01-14 11:19:19 -05:00
Brian Stoner 892f9ea0c0 Issue #853 update structure + format of DDG goodie 2016-01-13 22:53:25 -05:00
Zaahir Moolla eb0fe0b749 Fix DuckDuckGo.t 2015-08-15 14:25:53 -04:00
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