Closed jagtalon closed 7 years ago
@jagtalon @russellholt in this case is there an easy way to preserve the RandomWord Spice's Metabar info, i.e. ensure the tab says "Random Word" rather than "Definition"?
ia failing on duckpan, complaining on render
@killerfish can you please elaborate? pic? what's the error?
awkward cant seem to reproduce it, it was complaining about the render function used in definition, ill ss and paste next time.
in this case is there an easy way to preserve the RandomWord Spice's Metabar info
Anyway to achieve this guys?
We don't have a general strategy for embedding other IAs yet.
This has since been implemented.
The look of the random word instant answer is a bit plain:
A better way of doing this is to get the random word from the endpoint and pass the resulting word to the dictionary IA which looks like this:
In other words, the random word IA should load the dictionary IA. Loading the JS for the dictionary would work like this: https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/share/spice/maps/chains/maps_chains.js#L2
IA Page: https://duck.co/ia/view/rand_word