zeroclickinfo-goodies/lib/DDG/Goodie
Naveen Karippai af18492b8a Convert simple structured to full template goodie (#3000)
* Convert simple structured to full template goodie

Goodies have full support for templates, and it'd be great to make sure all
Goodies use full templates. The "simple structured_answer" was provided
as a way to get goodies using basic templates before they had full template
support.

* change to 'text' template for structured_answer object

* refactored test suite

* added alias and removed encode

See also: Updates FlipText Goodie Re: #2767

IA: https://duck.co/ia/view/flip_text

* Remove unnecessary trigger words on flipText goodie

There were trigger words added to flipText goodie which may not be
used or confuse the search results. This should be removed.

* extra triggers removed

See also: Updates FlipText Goodie Re: #2767

* Indent code on FlipText goodie

It would be easier to eyes in the long run to understand
code when it's properly indented.

* code indented on .pm and .t
2016-05-14 19:00:12 +01:00
..
ABC.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
AltCalendars.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
Anagram.pm Remove 'name' and 'id' from structured answer 2016-03-24 15:12:54 +00:00
AspectRatio.pm Updates AspectRatio Goodie Re: #2767 (#2843) 2016-04-28 19:30:29 +01:00
Atbash.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
Average.pm Updates Average Goodie Re #2767 (#2858) 2016-04-28 19:00:13 +01:00
BPMToMs.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
BRT.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
Base.pm Updates Base Goodie Re: #2767 (#2853) 2016-04-28 19:24:01 +01:00
Base64.pm Updates Base64 Goodie Re: #2767 (#2854) 2016-04-28 19:26:35 +01:00
BashPrimaryExpressions.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
BeamMeUpScotty.pm Update Beam Me Up Scotty Goodie Re: #2767 2016-03-30 18:29:58 +00:00
Bin2Unicode.pm Merge pull request #2773 from duckduckgo/zt/no-id-name 2016-03-23 14:23:52 -04:00
Binary.pm Updates Binary Goodie Re #2767 (#2859) 2016-04-28 19:17:57 +01:00
BinaryLogic.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
BirthStone.pm Birthstone: Convert to full template (#2807) 2016-05-10 22:00:42 +01:00
Bitsum.pm Updates Bitsum Goodie Re #2767 (#2860) 2016-04-28 19:22:50 +01:00
BloodDonor.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
Braille.pm Update subtitle string and add html_enc for input. 2016-04-06 06:35:47 +00:00
CaesarCipher.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
CalcRoots.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
Calculator.pm Merge branch 'master' into zt/rm-meta 2015-12-30 13:54:57 -07:00
CalendarConversion.pm Updates CalendarConversion Goodie Re #2767 (#2862) 2016-04-28 19:28:56 +01:00
CalendarToday.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
CallingCodes.pm Updates CallingCodes Goodie Re #2767 (#2864) 2016-04-28 19:25:14 +01:00
CamelCase.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
CanadaPost.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
Chars.pm Updates Chars Goodie Re #2767 (#2865) 2016-04-28 19:21:31 +01:00
CheatSheets.pm Improve efficiency of removing ignore phrases 2016-05-12 20:48:37 +01:00
Chess960.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
ChineseZodiac.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
CoffeeToWaterRatio.pm Remove comments 2016-02-11 18:46:03 -05:00
Coin.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
ColorCodes.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
Combination.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
Constants.pm Constants: Increased display priority (#2939) 2016-04-28 18:40:57 +01:00
Conversions.pm Conversions: Adding hash for the opposite direction (plural_to_unit) to quickly determine if a unit/alias is plural 2016-05-11 18:49:28 +01:00
ConvertLatLon.pm ConvertLatLon: Replace minus sign with hyphen (#2920) (#2926) 2016-04-28 18:47:14 +01:00
CountryCodes.pm Convert CountryCodes to full template goodie (#3037) 2016-05-12 14:23:28 +01:00
CrontabCheatSheet.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
CryptHashCheck.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
CurrencyIn.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
Cusip.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
DHL.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
DateMath.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
DayOfWeek.pm Additional trigger words, and tests 2016-03-05 14:43:59 +11:00
DaysBetween.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
Dessert.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
Dewey.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
Dice.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
DuckDuckGo.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
EmToPx.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
EmailValidator.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
FIGlet.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
Factors.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
FedEx.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
FenViewer.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
Fibonacci.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
FirefoxOS.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
FlipText.pm Convert simple structured to full template goodie (#3000) 2016-05-14 19:00:12 +01:00
Fortune.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
Frequency.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
FrequencySpectrum.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
GUID.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
Game2048.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
GenerateMAC.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
GibberishGenerator.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
GoldenRatio.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
GreatestCommonFactor.pm GreatestCommonFactor: Use Math::BigInt & change to text template (#2990) 2016-05-14 18:28:04 +01:00
GuitarChords.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
HKDK.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
HTMLEntitiesDecode.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
HTMLEntitiesEncode.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
HelpLine.pm Revert "Fix YAML::XS update issue (temporary)" 2016-02-23 16:20:37 +00:00
HexToASCII.pm Update HexToASCII.pm 2016-05-01 23:17:45 +08:00
HexToDec.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
IDN.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
IPS.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
ISO639.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
IndependenceDay.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
Jira.pm Revert "Fix YAML::XS update issue (temporary)" 2016-02-23 16:20:37 +00:00
JohnCena.pm Update JohnCena.pm 2016-03-21 20:15:21 -04:00
Kana.pm Silence Kana warning 2016-02-26 20:52:14 +00:00
KernelTaint.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
LaserShip.pm Merge branch 'master' into zt/rm-meta 2015-12-30 13:54:57 -07:00
Latex.pm Added missing underscore in Latex sum example 2016-02-12 05:14:03 +00:00
LeapYear.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
LeetSpeak.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
Loan.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
LoremIpsum.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
Lowercase.pm Merge branch 'master' into zt/rm-meta 2015-12-30 13:54:57 -07:00
MD4.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
MD5.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
MacAddress.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
MagicEightBall.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
MakeMeASandwich.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
MarkdownReference.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
Minecraft.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
MoonPhases.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
Morse.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
NLetterWords.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
NameDays.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
NoteFrequency.pm NoteFrequency: Update to full template (#2838) 2016-04-28 19:32:23 +01:00
OnionAddress.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
POTUS.pm POTUS: Should not return a result if the question is about the vice president 2016-04-24 20:29:11 +01:00
PaleoIngredientCheck.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
Palindrome.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
Paper.pm Revert "Fix YAML::XS update issue (temporary)" 2016-02-23 16:20:37 +00:00
Parcelforce.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
ParseCron.pm delete unused code 2016-02-11 18:47:05 +00:00
Passphrase.pm Merge branch 'master' into zt/rm-meta 2015-12-30 13:54:57 -07:00
Password.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
PercentError.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
PercentOf.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
Perimeter.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
PeriodicTable.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
PhoneAlphabet.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
Phonetic.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
Pi.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
PigLatin.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
Poker.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
PrimeFactors.pm Remove bignum from is_cached in PrimeFactors.t 2016-03-29 22:17:31 -04:00
PrimeNumber.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
PrivateNetwork.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
PublicDNS.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
RIPEMD.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
Rafl.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
Randagram.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
RandomName.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
RandomNumber.pm Convert RandomNumbers to full template goodie (#3014) 2016-05-14 12:17:47 +01:00
Rc4.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
Regexp.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
ResistorColors.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
Reverse.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
ReverseComplement.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
ReverseResistorColours.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
Roman.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
Rot13.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
RouterPasswords.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
RubiksCubePatterns.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
SHA3.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
Scramble.pm Remove metadata 2016-02-11 13:36:11 +00:00
ScreenResolution.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
SecurityAddons.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
Sha.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
Shruggie.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
SigFigs.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
SolarSystem.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
Sort.pm Merge branch 'master' into zt/rm-meta 2015-12-30 13:54:57 -07:00
Stardate.pm Return if datetime can't be parsed 2016-04-17 20:11:37 +00:00
SubnetCalc.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
Sudoku.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
SumOfNaturalNumbers.pm Put 'use big*' after is_cached so we don't promote is_cached 2016-01-21 11:12:38 -07:00
SunInfo.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
Teredo.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
TimezoneConverter.pm Fixes #2697: 12:00 now parsed as Noon if am not specified 2016-03-04 14:07:39 +00:00
Tips.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
TitleCase.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
TwelveOclock.pm TwelveOclock: Fixed description. 2015-12-10 07:33:34 +00:00
UN.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
UPS.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
URLDecode.pm HTML Encode title/subtile for URLEncode and URLDecode 2016-04-06 21:14:54 -04:00
URLEncode.pm HTML Encode title/subtile for URLEncode and URLDecode 2016-04-06 21:14:54 -04:00
USPS.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
UltimateAnswer.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
Unicode.pm Merge branch 'master' into zt/rm-meta 2015-12-30 13:54:57 -07:00
UnicodeFuzzySearch.pm Merge branch 'master' into zt/rm-meta 2015-12-30 13:54:57 -07:00
Unicornify.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
Unidecode.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
UnixPermissions.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
UnixTime.pm Expanded trigger words 2016-04-30 20:23:56 +00:00
Uppercase.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
Uptime.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
VIN.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
ValarMorghulis.pm Update ValarMorghulis to use full template. (#3034) 2016-05-11 12:43:08 +01:00
Wavelength.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
Week.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
WeekdaysBetween.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
Weight.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
WhereAmI.pm Change structured_answer id. Added display_name 2016-03-17 08:22:22 +00:00
WorkdaysBetween.pm Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
ZappBrannigan.pm Zapp Brannigan: Convert to full template (#2994) 2016-05-10 21:41:54 +01:00
Zodiac.pm Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00