Zeroclickinfo-goodies: HTML Entities: Add additional trigger words

Created on 12 Apr 2017  路  5Comments  路  Source: duckduckgo/zeroclickinfo-goodies

Background

The current existing hard-coded iframe appears for the following queries:

  • html characters
  • html chars
  • html named characters
  • html escape sequences
  • html entities
  • html named entities
  • html entities codes

We should ensure we continue to show the new open source IA for the same set of queries.

What to do

  • Add the above trigger words to the triggers in [HtmlEntities.pm](https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/lib/DDG/Goodie/HtmlEntities.pm#L13)
  • Adjust the regex in the handle function accordingly

/cc @Owlree


IA Page: http://duck.co/ia/view/html_entities

Highest Impact Tasks Low Low-Hanging Fruit High Perl Triggering

Most helpful comment

You can assign me. 馃榾

All 5 comments

You can assign me. 馃榾

@Owlree Go ahead! 馃槃

@Owlree thanks! I added one more trigger phase btw 馃憤

Shall I add all of them in a .txt file and use that as a list of triggers?

@Owlree Yes, please do.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rushsteve1 picture rushsteve1  路  13Comments

atomic1fire picture atomic1fire  路  15Comments

nickrsan picture nickrsan  路  29Comments

moollaza picture moollaza  路  12Comments

moollaza picture moollaza  路  24Comments