duckduckgo/zeroclickinfo-spice — pull request #970 by elebow (2014-07-16 01:09:00+00:00)
Title: Add EventsInSpace

# Spice Pull Request

**What does your instant answer do?**
Shows upcoming space-related events, including natural phenomena and human endeavors.

**What problem does your instant answer solve (Why is it better than organic links)?**
This kind of time-sensitive information rarely appears prominently in organic links.

**What is the data source for your instant answer? (Provide a link if possible)**
http://www.jpl.nasa.gov/calendar/

**Why did you choose this data source?**
It appears to be an extremely comprehensive calendar, and it has the implied backing of JPL, which is a well-respected institution in space-related matters.

**Are there any other alternative (better) data sources?**
There are dozens or hundreds of other calendars, but this is one of the most detailed and has a somewhat Spice-friendly interface—a single HTML page for the entire calendar.

**What are some example queries that trigger this instant answer?**
`upcoming launches`, `space calendar`

**Which communities will this instant answer be especially useful for? (gamers, book lovers, etc)**
People interested in space.

**Is this instant answer connected to a DuckDuckHack [instant answer idea](https://duck.co/ideas)?**
No.

**Which existing instant answers will this one supersede/overlap with?**
None known.

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

1. What layout should I use? I went with a simple list to start because it's very space-efficient. A tile layout doesn't seem like it would work well. TodayInHistory uses the `record` template, but I see some discussion about changing that. I'll wait for input from the experts.

2. Some of the items have multiple links next to each other. In the source calendar, every hyperlink is always underlined, so it's easy to see where one ends and the next begins. On DDG, there's no such distinction. Image:
![links](https://cloud.githubusercontent.com/assets/7873686/3593405/41950d68-0c85-11e4-8c75-9df74bc91483.png)

3. Is it okay to use an HTML source for Spice? I know you prefer JSON or maybe XML, but this seems to work correctly.

![2014-07-13-18 58 15_1680x1050](https://cloud.githubusercontent.com/assets/7873686/3593406/4710bb52-0c85-11e4-8394-f69f87d055ee.png)

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

```
[X] Added metadata and attribution information
[X] Wrote test file and added to t/ directory
[X] Verified that instant answer adheres to design guidelines(https://github.com/duckduckgo/duckduckgo-documentation/blob/master/duckduckhack/styleguides/design_styleguide.md)
[*] Tested cross-browser compatibility

Please let us know which browsers/devices you've tested on:
- GNU/linux
[X] WebKit
[X] Firefox
[X] Opera

```