added metadata to Palindrome.pm

master
Dylan Lloyd 2012-11-06 19:04:20 -05:00
parent 4d13eff7a1
commit 64e5408138
1 changed files with 8 additions and 0 deletions

View File

@ -8,6 +8,14 @@ triggers any => 'palindrome';
zci is_cached => 1;
primary_example_queries 'is a dank, sad nap. eels sleep and ask nada. a palindrome?';
secondary_example_queries 'is foo a palindrome?', 'is dad a palindrome?';
description 'check if a given string is a palindrome';
name 'Palindrome';
code_url 'https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/lib/DDG/Goodie/Palindrome.pm';
category 'language';
topics 'words_and_games';
handle query => sub {
#Remove the trigger text from the query.
return unless /^(?:is\s+|)(.*?)\s+an?\s*palindrome\??$/i;