Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #11 from squeeks/master

Include OpenSearch
  • Loading branch information...
commit 077f3002c017190f97c44f00855b0b2629e355ad 2 parents 39c3838 + 535343f
@jonallen authored
Showing with 38 additions and 0 deletions.
  1. +37 −0 static/search.xml
  2. +1 −0  templates/default.tt
View
37 static/search.xml
@@ -0,0 +1,37 @@
+<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:moz="http://www.mozilla.org/2006/browser/search/">
+<ShortName>perldoc.perl.org</ShortName>
+<Description>Perl Programming Documentation</Description>
+<InputEncoding>UTF-8</InputEncoding>
+<Image width="16" height="16">
+data:image/x-icon;base64,
+AAABAAEAEBAAAAAAAABoBQAAFgAAACgAAAAQAAAAIAAAAAEACAAAAAAAQAEAAAAAAAAAAAAAAAAA
+AAAAAAAAAAAA////AICAgADAwMAAoKCgAODg4ACwsLAAkJCQANHR0QD19fUA6urqAHd3dwCIiIgA
+mJiYAKioqADKysoAt7e3ANfX1wD6+voAfHx8ANzc3ACMjIwAlJSUAMTExACcnJwAvLy8AKSkpACs
+rKwA4+PjAIODgwDU1NQAzc3NAMfHxwC0tLQA9/f3AH5+fgCFhYUAioqKAI6OjgDPz88AkpKSAJaW
+lgDCwsIAnp6eAL6+vgC6uroAsrKyAK6urgD5+fkAfX19AOHh4QB/f38AgYGBAIKCggDb29sAhoaG
+ANbW1gCHh4cAiYmJANPT0wDS0tIAi4uLAI2NjQCPj48AzMzMAMPDwwCbm5sAwcHBAJ2dnQC/v78A
+vb29AKGhoQClpaUAtra2AKenpwC1tbUAqampALOzswCrq6sAsbGxAK+vrwAAAAAAAAAAAAAAAAAA
+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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ANxMTExVNLzsbHRMTEzcAAEMjExMTJCFQIxMTEyMDAAAAGzMTEzMGGhMTEyMOAAAA
+AAAgOTEjSgITMTcqAAAAAAAAAAADOjkLDAMAAAAAAPgfAADgBwAAwAMAAIABAACAAQAAAAAAAAAA
+AAAAAAAAAAAAAAAAAAAAAAAAgAEAAIABAADAAwAA4AcAAPgfAAA=
+</Image>
+<Url type="text/html" method="get" template="http://perldoc.perl.org/search.html">
+ <Param name="q" value="{searchTerms}"/>
+</Url>
+</OpenSearchDescription>
+
View
1  templates/default.tt
@@ -5,6 +5,7 @@
<title>[% pagename %] - [% site_title %]</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Language" content="en-gb">
+ <link rel="search" type="application/opensearchdescription+xml" title="Search perldoc.perl.org" href="/static/search.xml"/>
<link href="[% IF download %][% path %][% ELSE %]/[% END %]static/css-20100830.css" rel="stylesheet" rev="stylesheet" type="text/css" media="screen">
<link href="[% IF download %][% path %][% ELSE %]/[% END %]static/exploreperl.css" rel="stylesheet" rev="stylesheet" type="text/css">
</head>
Please sign in to comment.
Something went wrong with that request. Please try again.