duckduckgo/zeroclickinfo-goodies — pull request #715 by YouriAckx (2014-10-29 19:20:15+00:00)
Title: National Independence Days

**What does your Instant Answer do?**
Tell the national independence days around the world

**What problem does your Instant Answer solve (Why is it better than organic links)?**
Well suited for "quick fact" question

**What is the data source for your Instant Answer? (Provide a link if possible)**
Adapted the following datasource:
https://raw.githubusercontent.com/jarmokivekas/zeroclickinfo-goodies/national-independence/share/goodie/independence_day/independence_days.json
Original source:
https://en.wikipedia.org/wiki/List_of_national_independence_days

**Why did you choose this data source?**
Reliable

**Are there any other alternative (better) data sources?**
n/a

**What are some example queries that trigger this Instant Answer?**
"independence day belgium"

**Which communities will this Instant Answer be especially useful for? (gamers, book lovers, etc)**
everyday user

**Is this Instant Answer connected to a DuckDuckHack [Instant Answer idea](https://duck.co/ideas)?**
See https://duck.co/ideas/idea/4546/national-independence-day

**Which existing Instant Answers will this one supercede/overlap with?**
n/a

**Are you having any problems? Do you need our help with anything?**
Known limitations:

* Abbreviated country names or alternate spelling not supported (eg USA, "Saint Vincent" vs "Saint Vincent and the Grenadines")
* When there are multiple (usually two) independence days not on the same year, only one of them is displayed
* Perl noob at work, guilty as charged - things like an inelegant `chomp` hack after `Text::Autoformat` can be found

I'd be happy to enhance my goodie but I first wanted to make sure I was on the right path before adding features.

**Where did you hear about DuckDuckHack? (For first time contributors)**
Hacker News

**What does the Instant Answer look like? (Provide a screenshot for new or updated Instant Answers)**
![screen shot](https://cloud.githubusercontent.com/assets/1193689/4832650/0a66d26a-5f9e-11e4-99fd-91e12405aec9.png)

## Checklist
Please place an 'X' where appropriate.

```
[X] Added metadata and attribution information (https://duck.co/duckduckhack/metadata)
[X] Wrote test file and added to t/ directory (https://duck.co/duckduckhack/goodie_tests)
[X] Verified that instant answer adheres to design guidelines (https://duck.co/duckduckhack/design_styleguide)
[X] Verified that instant answer adheres to code styleguide (https://duck.co/duckduckhack/code_styleguide)
[X] Tested cross-browser compatibility

Please let us know which browsers/devices you've tested on:
- Windows 8
[] Google Chrome
[] Firefox
[] Opera
[] IE 10

- Windows 7
[] Google Chrome
[] Firefox
[] Opera
[] IE 8
[] IE 9
[] IE 10

- Windows XP
[] IE 7
[] IE 8

- Mac OSX
[X] Google Chrome
[X] Firefox
[X] Opera
[X] Safari

- iOS (iPhone)
[] Safari Mobile
[] Google Chrome
[] Opera

- iOS (iPad)
[] Safari Mobile
[] Google Chrome
[] Opera

- Android
[] Firefox
[] Native Browser
[] Google Chrome
[] Opera
```