duckduckgo / zeroclickinfo-goodies

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

Missing DDG::Godie and DDG::Test::Goodie #166

Closed nichtich closed 11 years ago

nichtich commented 11 years ago

This module requires the Perl modules DDG::Goodie and DDG::Test::Goodie which are not mentioned in dist.ini nor included in this repository. I finally found them in https://github.com/duckduckgo/duckduckgo (not on CPAN). No, I don't want to use duckpan but first just write and test a Goodie like any other Perl/CPAN module.

crazedpsyc commented 11 years ago

No DuckDuckGo plugin can function without the DDG module, and there is no official way to test them other than DuckPAN and the release tests, and there is no reason for this to change in the forseeable future. DuckPAN is available on CPAN, you can work from there. Closing this, as it is not a valid issue.

nichtich commented 11 years ago

I managed to get the plugins running without DuckPAN by cloning https://github.com/duckduckgo/duckduckgo and running $ dzil authordeps | cpanm. One could also write a Mockup replacement for DDG::Goodie and DDG::Test::Goodie to reuse DuckDuckGo Goodies in other context (for instance an IRC bot).

crazedpsyc commented 11 years ago

Yes, one could, but it is not supported ;-) I suggest you use the DuckDuckGo API if you want the goodies in an IRC bot. Besides being a lot easier (WWW::DuckDuckGo from CPAN), it just might solve some licensing issues, if there are any.