Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge branch 'gh-pages' of github.com:davorg/perlsearch into gh-pages

Conflicts:
	OpenSearch.xml
  • Loading branch information...
commit 03ee3ea04bcb145819d85dfd80e6e08bef90a6d9 2 parents 07501a3 + 1afd720
Dave Cross authored January 21, 2014

Showing 2 changed files with 7 additions and 11 deletions. Show diff stats Hide diff stats

  1. 17  OpenSearch.xml
  2. 1  index.html
17  OpenSearch.xml
... ...
@@ -1,13 +1,8 @@
1  
-<?xml version="1.0" encoding="UTF-8"?>
2  
-<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"
3  
-                       xmlns:moz="http://www.mozilla.org/2006/browser/search/">
  1
+<OpenSearchDescription>
4 2
   <ShortName>Perl Search</ShortName>
5  
-  <Description>A search engine for the Perl programming language</Description>
6  
-  <InputEncoding>UTF-8</InputEncoding>
7  
-  <Image width="16" height="16" type="image/x-icon">http://search.perlhacks.com/favicon.ico</Image>
8  
-  <Url type="text/html" method="POST" template="http://search.perlhacks.com/">
9  
-    <Param name="search" value="{searchTerms}"/>
10  
-  </Url>
11  
-  <Url type="application/x-suggestions+json" template="suggestionURL"/>
12  
-  <moz:SearchForm>http://search.perlhacks.com/</moz:SearchForm>
  3
+  <Description>Perl Search</Description>
  4
+  <Image width="16" height="16" type="image/x-icon">http://www.google.com/favicon.ico</Image>
  5
+  <Url type="text/html" method="get"
  6
+       template="http://www.google.com/cse?cx=008350714774536055976:a2zesuxuecs&ie=UTF-8&q={searchTerms}&sa=Search"/>
  7
+  <Url type="application/x-suggestions+json" method="get" template="http://www.google.com/complete/search?q={searchTerms}&partnerid=008350714774536055976:a2zesuxuecs&ds=cse&output=firefox"/>
13 8
 </OpenSearchDescription>
1  index.html
@@ -6,6 +6,7 @@
6 6
     <meta name="description" content="">
7 7
     <meta name="author" content="">
8 8
     <link rel="shortcut icon" href="http://perlhacks.com/favicon.png">
  9
+    <link rel="search" type="application/opensearchdescription+xml" title="Perl Search" href="http://search.perlhacks.com/OpenSearch.xml">
9 10
 
10 11
     <title>Perl Search</title>
11 12
 

0 notes on commit 03ee3ea

Please sign in to comment.
Something went wrong with that request. Please try again.