Added metadata to IPS.

master
Jag Talon 2013-03-18 15:44:28 -04:00
parent 9bdfb37a9d
commit 843270834a
1 changed files with 11 additions and 1 deletions

View File

@ -5,7 +5,17 @@ use DDG::Goodie;
zci is_cached => 1;
zci answer_type => "ips";
triggers query_nowhitespace_nodash => qr/^(E[MA]\d{9})(IN|HR|)$/xi;
primary_example_queries 'EM999999999IN';
description 'Track a package from IPS';
name 'IPS';
code_url 'https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/lib/DDG/Goodie/IPS.pm';
category 'ids';
topics 'special_interest';
attribution web => [ 'https://www.duckduckgo.com', 'DuckDuckGo' ],
github => [ 'https://github.com/duckduckgo', 'duckduckgo'],
twitter => ['http://twitter.com/duckduckgo', 'duckduckgo'];
triggers query_nowhitespace_nodash => qr/(E[MA]\d{9})(IN|HR|)/xi;
handle query_nowhitespace_nodash => sub {
my $package_number = $1 . $2;