Permalink
Browse files

Added OpenSearch description file

  • Loading branch information...
koraktor authored and qrush committed Oct 2, 2009
1 parent 859cc18 commit 452119aeee7774b4ab08d7be646e9f896b2f885f
Showing with 9 additions and 0 deletions.
  1. +1 −0 app/views/layouts/application.html.erb
  2. +8 −0 public/opensearch.xml
@@ -3,6 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
+ <link rel="search" type="application/opensearchdescription+xml" title="gemcutter" href="/opensearch.xml">
<%= stylesheet_link_tag "reset", "960", "screen", "humanmsg", :cache => true %>
<!--[if IE 7]>
<%= stylesheet_link_tag "ie7" %>
View
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
+ <ShortName>gemcutter</ShortName>
+ <Description>gemcutter - awesome gem hosting</Description>
+ <InputEncoding>UTF-8</InputEncoding>
+ <Image width="16" height="16" type="image/x-icon">http://gemcutter.org/favicon.ico</Image>
+ <Url type="text/html" method="get" template="http://gemcutter.org/search?query={searchTerms}"></Url>
+</OpenSearchDescription>

0 comments on commit 452119a

Please sign in to comment.