From 54d8b4783032cd9f28ec1ec194c9de86bda37b68 Mon Sep 17 00:00:00 2001 From: zekiel Date: Thu, 13 Feb 2014 15:41:38 -0500 Subject: [PATCH] added a bunch of internal links as instant answers. --- lib/DDG/Goodie/DuckDuckGo.pm | 65 ++++++++++++++++++++++++++++-------- 1 file changed, 51 insertions(+), 14 deletions(-) diff --git a/lib/DDG/Goodie/DuckDuckGo.pm b/lib/DDG/Goodie/DuckDuckGo.pm index a9cc82ec0..8db113e25 100644 --- a/lib/DDG/Goodie/DuckDuckGo.pm +++ b/lib/DDG/Goodie/DuckDuckGo.pm @@ -8,29 +8,66 @@ my %data = ( spice => "DuckDuckGo's spice repository: https://github.com/duckduckgo/zeroclickinfo-spice", longtail => "DuckDuckGo's longtail repository: https://github.com/duckduckgo/zeroclickinfo-longtail", fathead => "DuckDuckGo's fathead repository: https://github.com/duckduckgo/zeroclickinfo-fathead", - goodies_html => "DuckDuckGo's goodie repository", - spice_html => "DuckDuckGo's spice repository", - longtail_html => "DuckDuckGo's longtail repository", - fathead_html => "DuckDuckGo's fathead repository", - help => "DuckDuckGo's help website: http://dukgo.com/help/", - help_html => "DuckDuckGo's help website: http://dukgo.com/help/", - roboduck_html => "DuckDuckGo's official IRC bot: https://github.com/Getty/duckduckgo-roboduck", + help => "DuckDuckGo's help website: https://duck.co/help/", roboduck => "DuckDuckGo's official IRC bot: https://github.com/Getty/duckduckgo-roboduck", + privacy => "DuckDuckGo's privacy policy: https://duckduckgo.com/privacy", + xmpp => "DuckDuckGo's XMPP service: https://duck.co/blog/using-pidgin-with-xmpp-jabber", + tor => "DuckDuckGo's TOR hidden service: https://3g2upl4pq6kufc4m.onion", + hidden service => "DuckDuckGo's TOR hidden service: https://3g2upl4pq6kufc4m.onion", + tor hidden service => "DuckDuckGo's TOR hidden service: https://3g2upl4pq6kufc4m.onion", + contributing => "Contributing to DuckDuckGo: https://duck.co/help/community/contributing", + open source => "DuckDuckGo's open source projects: https://duck.co/help/open-source/opensource-overview", + business model => "Advertising and Affiliates on DuckDuckGo: https://duck.co/help/company/advertising-and-affiliates", + advertisements => "DuckDuckGo's official IRC bot: https://github.com/Getty/duckduckgo-roboduck", + press => "DuckDuckGo's press page: https://duck.co/help/company/press", + traffic => "DuckDuckGo's traffic is public at: https://duckduckgo.com/traffic.html", + firefox => "DuckDuckGo's Firefox help page: https://duck.co/help/desktop/firefox", + chrome => "DuckDuckGo's Chrome help page: https://duck.co/help/desktop/chrome", + safari => "DuckDuckGo's Safari help page: https://duck.co/help/desktop/safari", + internet explorer => "DuckDuckGo's Internet Explorer help page: https://duck.co/help/desktop/internet-explorer", + ie => "DuckDuckGo's Internet Explorer help page: https://duck.co/help/desktop/internet-explorer", + opera => "DuckDuckGo's Opera help page: https://duck.co/help/desktop/opera", + spread => "DuckDuckGo's Spread page: https://duckduckgo.com/supportus.html", + syntax => "DuckDuckGo's available search syntax: https://duck.co/help/results/syntax", + relevancy => "Bad relevancy for your search? Suggest an instant answer to help fix it: https://duck.co/ideas", + app => "DuckDuckGo's mobile app: https://duckduckgo.com/app/", + ios => "DuckDuckGo's mobile app: https://duckduckgo.com/app/", + android => "DuckDuckGo's mobile app: https://duckduckgo.com/app/", + blog => "DuckDuckGo's official blog: https://duck.co/blog", + translation => "Help translate DuckDuckGo: https://duck.co/translate", + translations => "Help translate DuckDuckGo: https://duck.co/translate", + language => "Help translate DuckDuckGo: https://duck.co/translate or adjust your language in the settings menu: https://duckduckgo.com/settings", + languages => "Help translate DuckDuckGo: https://duck.co/translate or adjust your language in the settings menu: https://duckduckgo.com/settings", + mobile => "DuckDuckGo's mobile app: https://duckduckgo.com/app/", + settings => "DuckDuckGo's settings: https://duckduckgo.com/settings", + about => "DuckDuckGo's about page: https://duckduckgo.com/about", + short url => "DuckDuckGo's short URL: http://ddg.gg/ which will take you to https://duckduckgo.com/", + short domain => "DuckDuckGo's short URL: http://ddg.gg/ which will take you to https://duckduckgo.com/", + instant answers => "DuckDuckGo's instant answers display helpful information at the top of the search page (like this box). Suggest or develop them at: http://duckduckhack.com/ and see all the current instant answers at: https://duckduckgo.com/goodies", + hiring => "Check out the DuckDuckGo hiring article: https://duck.co/help/company/hiring", + job => "Check out the DuckDuckGo hiring article: https://duck.co/help/company/hiring", + jobs => "Check out the DuckDuckGo hiring article: https://duck.co/help/company/hiring", + twitter => "DuckDuckGo's official Twitter account: https://twitter.com/duckduckgo", + facebook => "DuckDuckGo's official Facebook account: https://www.facebook.com/duckduckgo", + community => "DuckDuckGo's community site: https://duck.co/", + doodle => "DuckDuckGo often does special logos for significant days. Check the past ones out here: https://duck.co/help/settings/holiday-logos", + swag => "Thanks for the support! You can find DuckDuckGo t-shirts, stickers, and other items here: https://duck.co/help/community/swag", + merchandise => "Thanks for the support! You can find DuckDuckGo t-shirts, stickers, and other items here: https://duck.co/help/community/swag", + shirt => "Thanks for the support! You can find DuckDuckGo t-shirts, stickers, and other items here: https://duck.co/help/community/swag", + shirts => "Thanks for the support! You can find DuckDuckGo t-shirts, stickers, and other items here: https://duck.co/help/community/swag", + t-shirts => "Thanks for the support! You can find DuckDuckGo t-shirts, stickers, and other items here: https://duck.co/help/community/swag", + sticker => "Thanks for the support! You can find DuckDuckGo t-shirts, stickers, and other items here: https://duck.co/help/community/swag", + stickers => "Thanks for the support! You can find DuckDuckGo t-shirts, stickers, and other items here: https://duck.co/help/community/swag", + stickers => "Thanks for the support! You can find DuckDuckGo t-shirts, stickers, and other items here: https://duck.co/help/community/swag", quackandhack => "QUACK!", duck => "I am the duck. Dax the duck.", - duck_html => "Dax
I am the duck. Dax the duck.", dax => "I am the duck. Dax the duck.", - dax_html => "Dax
I am the duck. Dax the duck.", irc => "DuckDuckGo's official IRC channel is #duckduckgo on irc.freenode.net", - irc_html => "DuckDuckGo's official IRC channel is #duckduckgo on irc.freenode.net", remove => "To remove DuckDuckGo from your browser, take a look at https://duck.co/help/desktop. Let us know why you are leaving: https://duckduckgo.com/feedback", - remove_html => qq(To remove DuckDuckGo from your browser, look here for your web browser.
In short, check your browser's addons/extensions for DuckDuckGo, then check the search settings.
Please let us know why you are leaving!), removing => \"remove", - removing_html => \"remove_html", removal => \"remove", - removal_html => \"remove_html", (map { - $_ => "Zero Click Info is the term DuckDuckGo uses for these boxes, which often provide useful instant answers above traditional results.", + $_ => "Zero Click Info is another term for our instant answers (this box is one of them), which often provide useful information above traditional results. Read more about that here: http://duckduckhack.com/", } qw/zeroclickinfo zeroclick 0click 0clickinfo/), );