Omnilexica provides a huge amount of lexical and encyclopedic content in a unified form. The most prominent feature is that it defines almost every word, expression, name, or title you can find in an English text.
There are many cases when you may want to include a definition in an article or web application, so Omnilexica makes this easier by becoming an oEmbed provider. From what we can find, Omnilexica is the first oEmbed provider for a dictionary – even more, an encyclopedic one!
For those of you who don’t know:
oEmbed is a format for allowing an embedded representation of a URL on third-party sites. The simple API allows a website to display embedded content (such as photos or videos) when a user posts a link to that resource, without having to parse the resource directly.
Omnilexica applies this great idea to a dictionary, becoming an oEmbed provider that returns the definition/meaning for the term, specified by its URL on www.omnilexica.com. The corresponding pages are enabled for oEmbed discovery, both for JSON and XML formats.
In fact, this feature was implemented 6 months ago, but it was in beta testing until now.
Here it is an example of the result:
This little “magic” happens only if a “consumer” (usually a website like a forum or blog) uses oEmbed discovery or accepts the oEmbed provider. For the last case, the configuration is:
- URL scheme: http://www.omnilexica.com/*
- API endpoint: http://www.omnilexica.com/oembed.php
Right now, it works only to define terms, but if we have enough requests, we may extend oEmbeds on Omnilexica for pronunciations, examples, and so on.
We hope that in time Omnilexica will become a popular oEmbed provider. This is just the beginning!