Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added clojure docs search engine plugin (OpenSearch - FF 2/3, IE 7/8 …

…and Chrome) and added meta info to main layout file
  • Loading branch information...
commit d661d68a7c164d5b21c72694b84fa9b8cf93b351 1 parent 14e927c
@dedeibel dedeibel authored
Showing with 12 additions and 0 deletions.
  1. +1 −0  app/views/layouts/main.html.erb
  2. +11 −0 public/opensearch.xml
View
1  app/views/layouts/main.html.erb
@@ -6,6 +6,7 @@
<meta name="description" content="Documentation and examples for Clojure." />
<meta name="google-site-verification" content="XjzqkjEPtcgtLjhnqAvtnVSeveEccs-O_unFGGlbk4g" />
<meta http-equiv="Content-Type" content="text/html" charset="utf-8"/>
+ <link rel="search" type="application/opensearchdescription+xml" title="ClojureDocs" href="opensearch.xml">
<%= stylesheet_link_tag 'reset.css',
'text.css',
'grid.css',
View
11 public/opensearch.xml
@@ -0,0 +1,11 @@
+<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/" xmlns:os="http://a9.com/-/spec/opensearch/1.1/">
+<os:ShortName>ClojureDocs</os:ShortName>
+<os:Description>ClojureDocs Keyword Search</os:Description>
+<os:InputEncoding>ISO-8859-1</os:InputEncoding>
+<os:Image width="16" height="16">data:image/x-icon;base64,AAABAAEAEBAAAAAAAABoBQAAFgAAACgAAAAQAAAAIAAAAAEACAAAAAAAAAEAAAAAAAAAAAAAAAEAAAAAAAB5eXkAAAAAAP7KbgDq6uoAWL7+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEDAwMEBAQCAgIAAAABAQEBAwMDBAQEAgICAAAAAQEBAQMDAwQEBAICAgAAAAEBAQEDAwMEBAQCAgIAAAABAQEBAwMDBAQEAgICAAAAAQEBAQMDAwQEBAICAgAAAAEBAQEDAwMEBAQCAgIAAAABAQEBAwMDBAQEAgICAAAAAQEBAQMDAwQEBAICAgAAAAEBAQEDAwMEBAQCAgIAAAABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAf//AAD//wAA//8AAMADAADAAwAAwAMAAMADAADAAwAAwAMAAMADAADAAwAAwAMAAMADAAD//wAA//8AAP//AAA=</os:Image>
+<UpdateUrl>http://clojuredocs.org/opensearch.xml</UpdateUrl>
+<SearchForm>http://clojuredocs.org/</SearchForm>
+<os:Url type="text/html" method="GET" template="http://clojuredocs.org/search?q={searchTerms}">
+</os:Url><os:Url type="application/opensearchdescription+xml" method="GET" template="http://clojuredocs.org/opensearch.xml" rel="self">
+</os:Url>
+</SearchPlugin>
Please sign in to comment.
Something went wrong with that request. Please try again.