30 lines
713 B
Perl
30 lines
713 B
Perl
package DDG::Goodie::Rafl;
|
|
# ABSTRACT: rafl is so everywhere, there's a DuckDuckGo.com "!rafl" bang syntax
|
|
|
|
use DDG::Goodie;
|
|
|
|
use Acme::rafl::Everywhere;
|
|
|
|
primary_example_queries 'rafl is everywhere';
|
|
secondary_example_queries 'where is rafl?';
|
|
description 'rafl is everywhere!';
|
|
name 'rafl';
|
|
code_url 'https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/lib/DDG/Goodie/.pm';
|
|
category 'ids';
|
|
topics 'social';
|
|
|
|
attribution
|
|
web => 'http://stephen.scaffidi.net',
|
|
github => ['https://github.com/Hercynium', 'Hercynium'];
|
|
|
|
triggers any => 'rafl';
|
|
|
|
zci answer_type => 'rafl';
|
|
zci is_cached => 1;
|
|
|
|
handle remainder => sub {
|
|
return Acme::rafl::Everywhere->new->fact
|
|
};
|
|
|
|
1 && "rafl"; # everywhere
|