-
Notifications
You must be signed in to change notification settings - Fork 942
Conversation
…eries. Code cleanup. Removed unused handlebars template
@Bjoern Looks like you've accidentally included some of your other code in this PR? Did you mean to? I'll try my best to help with the template issues when I get a free moment 👍 |
Hi, yeah, sorry. I guess the problem is that I had developed my first IA in My git fu is not strong enough to fix that immediately, but I can look I made the pull request because I was asked to do so on the mailing Björn On 27/01/15 17:24, Chris Wilson wrote:
|
Ok, after a little research I've usually found it easier to use the "products" template group and use the However @moollaza probably knows a better way (best practice) 😄 |
@Bjoern That's fine! I thought that was the case! I've been following the mailing list discussion, we can still review the code here which helps! You can simply do a |
@@ -11,7 +11,7 @@ | |||
.replace(/^\s*github\s+/, ""); | |||
|
|||
var results = api_result.data.repositories; | |||
|
|||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this also needs to be removed from the PR?
@Bjoern unfortunately the StackOverflow Instant Answer is closed-source which is why you can't find the code. As you mentioned, the |
I managed to correct the title via CSS (smaller font, no cropping), but is there also a way to get linebreaks into the description of a text_item? Thanks! |
Hi @Bjoern, Thanks a lot for making this, we really appreciate you taking the time to contribute. After discussing this PR with the team, playing around with the Spice and investigating the API a little more, we've decided that MyHealthBox isn't a good fit for what we want out of a medicine/dosage Instant Answer. Right now the API doesn't give very much info (only about 5 data points) and there's no good place to direct users for more info because MyHealthBox requires a signup and just links to a very long PDF, so unfortunately I don't see this becoming a very helpful Instant Answer. I'm very sorry that your time and effort has been wasted, but I hope you can understand our reasoning for closing this. |
What does your Instant Answer do?
Provide details about medicine
What problem does your Instant Answer solve (Why is it better than organic links)?
Medicine can be quickly identified and detailed information can be provided
What is the data source for your Instant Answer? (Provide a link if possible)
http://myHealthbox.eu
Why did you choose this data source?
Promotion of myHealthbox.eu
Are there any other alternative (better) data sources?
What are some example queries that trigger this Instant Answer?
aspirin dosage
Which communities will this Instant Answer be especially useful for? (gamers, book lovers, etc)
patients
Is this Instant Answer connected to a DuckDuckHack Instant Answer idea?
https://duck.co/ideas/idea/4607/looking-for-developer-to-help-with-ddg-spice-insta
Which existing Instant Answers will this one supersede/overlap with?
Are you having any problems? Do you need our help with anything?
Yes, not sure how make a detail snippet for the leaflet information.
What are the terms of use for the API? Will DuckDuckGo need specific authorization (e.g. an API key)? Are there any costs associated with API usage?
No costs
Where did you hear about DuckDuckHack? (For first time contributors)
What does the Instant Answer look like? (Provide a screenshot for new or updated Instant Answers)
Just a draft so far:
Checklist
Please place an 'X' where appropriate.