Closed Troupal closed 7 years ago
@Troupal I don't think many people will type such a long phrase. The IA API does give us the license so we can filter out based on license.
@duckduckgo/duckduckhack-contributors any input regarding effectiveness of this trigger
@vikashvverma new users often search using long keywords, they have not familar with how search engine work. @Troupal request make sence.
Bonjour @Troupal! Merci beaucoup pour la suggestion. We can probably listen for keywords such as "open source", "commercial" or "freemium" in the query using regex, so it wouldn't matter if the query was a long or short phrase. If the API supports this, as @vikashvverma says, then your suggestion seems possible - and a good idea!
Great idea!
I can take it up, if @vikashvverma is not in mood of working on this :stuck_out_tongue_winking_eye:
Thank you for your reactivity! @vikashvverma I think that this option is important because every time I search with "Alternative to", I don't used the Hack because I'm forced to go to the Web site to search with "only open-source" option. So, I think it's important. Thank you @tagawa for your french answer! :-D @sahildua2305 , I hope it's not too complicate to do this, however good luck for the job! ^^
@sahildua2305 Thanks for the offer! I think @vikashvverma is pretty busy at the moment so I've assigned it to you to have a go.
@vikashvverma I just checked the functionality of the IA in a bit detail and looks like it already listens for the license type in query and filters out the results based on that license type.
For example - this generates results only for open source alternatives.
Not sure what needs to be done regarding this issue :confused: :question:
Maybe put the license at the bottom of the items/cards ?
Good idea. I think it will make sense to put the license only when the search query is generic. Otherwise it would be obvious that the results must be according to the search query.
I'm not sure. I prefer if it's explicit. (And it might be a good idea to put the number of likes, but that's for an other issue I guess)
I think it is better to be explicit as well. Otherwise people might not understand why it is shown sometimes and other times not.
On Mon, Jul 11, 2016, 23:06 Hugo Thiessard notifications@github.com wrote:
I'm not sure. I prefer if it's explicit. (And it might be a good idea to put the number of likes, but that's for an other issue I guess)
— You are receiving this because you are on a team that was mentioned. Reply to this email directly, view it on GitHub https://github.com/duckduckgo/zeroclickinfo-spice/issues/2860#issuecomment-231880318, or mute the thread https://github.com/notifications/unsubscribe/ANKFpX-DITL0daO818DtoWRbani5WbMMks5qUr5ygaJpZM4JBcVq .
Great! I will create a PR soon for mentioning the license type explicitly in the results.
@vikashvverma the issue states that the IA should listen to license type in the query. Was that already handled in some PR? I think this issue needs to be closed and it's sort of misleading. Your input requested.
@sahildua2305 @Troupal Currently this IA is showing result based on your query. It shows only open source if you add free
or open source
in search query.
However it needs some regex to handle query like only open source alternative to google translate
@sahildua2305 You can try adding regex to handle this.
Also there is one more issue https://github.com/duckduckgo/zeroclickinfo-spice/issues/2631 open with this IA related to triggers
YEAH!!! That's perfect!!! The query _open source alternative to google translate_ work perfectly! Very nice job'! And thank you all for your work ans answers.
IA is no longer online.
@moollaza Yeah, it's too sad…
I checked that this IA still works correctly, and I've re-enabled it. Should be online shortly.
@moollaza Thank's ! It's perfect.
Hello dear devs!
I think that's will be a good and great idea that we can make a search like that:
And the DuckDuckHack to make result for only open source alternative.
So think you for this wonderful DuckDuckHack!!!
PS: Sorry for my English, I'm French and I don't speak very well English… ^^'
IA Page: http://duck.co/ia/view/alternative_to Maintainer: @vikashvverma