Skip to content

Instantly share code, notes, and snippets.

@maxlath
Created November 3, 2016 09:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maxlath/5bac03faf414fa1baae9d46035943336 to your computer and use it in GitHub Desktop.
Save maxlath/5bac03faf414fa1baae9d46035943336 to your computer and use it in GitHub Desktop.
allow to add MediaChain as a search engine
<!doctype html>
<html>
<head>
<link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="MediaChain Search" />
</head>
<body></body>
</html>
<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>MediaChain</ShortName>
<InputEncoding>UTF-8</InputEncoding>
<OutputEncoding>UTF-8</OutputEncoding>
<Query role="example" searchTerms="books"/>
<Image height="64" width="64" type="image/png">http://images.mediachain.io/static/mediachain-logo.48801960.png</Image>
<Image height="16" width="16" type="image/x-icon">http://images.mediachain.io/favicon.ico</Image>
<Url type="text/html" template="http://images.mediachain.io/search/{searchTerms}"/>
</OpenSearchDescription>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment