Last active
September 3, 2015 10:36
-
-
Save addisaden/f4a4f35df74701e3c62e to your computer and use it in GitHub Desktop.
How to implement a search-engine to your website
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<link rel="search" type="application/opensearchdescription+xml" title="your search engine" href="/search.xml" /> | |
</head> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"> | |
<ShortName>your search engine</ShortName> | |
<Url type="text/html" template="http://your-complete-search.url/?search={searchTerms}" /> | |
<OutputEncoding>UTF-8</OutputEncoding> | |
<InputEncoding>UTF-8</InputEncoding> | |
</OpenSearchDescription> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment