Now that we have learned how to make search Opensearch plugins in an earlier web log , we can make other useful ones.
<Url type="text/html" method="GET" template="http://help.sap.com/
search/search.jsp?query=&docuType=SAP Documentation&
amp;language=English&region=SAP NetWeaver&area=SAP NetWeaver&
amp;application=SAP NetWeaver&release=2004s&searchMode=AND"/>
</OpenSearchDescription></pre>
<b>SAP Notes via number</b>
<pre><?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>SAP Notes via number</ShortName>
<Description>>SAP Notes via number</Description>
<InputEncoding>ISO-8859-1</InputEncoding>
<Image width="16" height="16">data:image/gif;base64,R0lGODlhEAAQANU
AAEFXgP%2F%2F%2FIKStB1Acv%2F9%2FdTZ52N5myQ1aQAzZUBfivr9%2Fv38%2B%2FX6%2
FQASTuvv9g8jWQ4xZwAzZjRCcJmZzCJNevf29qy4zP%2F%2F%2Fnx%2Fnv76%2FQ8qXwAAM
%2B3x9g8%2FbxM3bwEkXAAAIQMHRf8BAQQaVv%2F%2F%2FwAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAACH5BAAAAAAALAAAAAAQABAAAAaKQEhogGggPsjjqBEaRR4kAokUEpAAoGl0
8MFcDgMDKDPNOjyKAAhACghACZJIdCAVQouCJpQgBBxzcwIFURVWHVgTWnMcDAwhElMGCgs
BASQCc1MWG1oPYRQfACNzo3VaqIsiqVojrlOkIiOwrySutZq2s626U7m3vLirtLuzwqi1xr
GBsrWsz1pBADs%3D</Image>
<Url type="text/html" method="GET" template="http://service.sap.com
/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM={se
archTerms}"/>
</OpenSearchDescription></pre>
<b>SAP notes via string</b>
<pre><?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>SAP Notes via string</ShortName>
<Description>>SAP Notes via string</Description>
<InputEncoding>ISO-8859-1</InputEncoding>
<Image width="16" height="16">data:image/gif;base64,R0lGODlhEAAQAN
UAAEFXgAAAIf%2F%2F%2FB1AcgMHRYKStGN5mwAzZf%2F9%2FdTZ5%2FX6%2Ffr9%2Fuvv
9v38%2Bw8jWQASTiQ1aQ8qXw8%2Fb0BfijRCcNzX3gAzZiJNevf29hM3bw4xZ%2F76%2Ff
%2F%2F%2Fqy4zAAAM3x%2Fnu3x9gEkXP8BAQQaVv%2F%2F%2FwAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAACH5BAAAAAAALAAAAAAQABAAAAaGQA1hcHgcQsjj6EEYWRwkBIlEKJ
AAgWl0EPpwIANDYDPNMjILQQBAEoje8HgjESFMECJGxS0qJEgiGFYSWCJabyAKCiIUUwYL
DQICJAVvUx0eWg5hFyEAI2%2BfEFqkpJalUyOqqW8jqaskqrCnsKmxroCGt7ixt1Onu7az
uq%2FCoHEisqjLpUEAOw%3D%3D</Image>
<Url type="text/html" method="GET" template="http://service.sap.com/
~form/handler?_NNUM=&00200682500000004914=E&00200682500000004876
=&00200682500000004915=AND&00200682500000004916=ALL
&00200682500000005447=L&SEARCH_AREA=&00200682500000005040=NO
RESTRICTION&00200682500000004918=10&APP=00200682500000001952&
amp;_EVENT=RESULT&00200682500000004875=&00200682500000004932=1&
amp;00200682500000004919=0&00200682500000005464=TRUE&0020068250
0000005466=TRUE&00200682500000005465=TRUE&00200682500000005467=
FALSE&00200682500000005468=FALSE&00200682500000005462=&0020
0682500000005463=&00200682500000002804=&00200682500000002805=&
00200682500000002076=&00200682500000000719=OW1&002006825000000020
70=&00200682500000004920=&00200682500000004877=&00200682500000
004878=00&00200682500000004879=&00200682500000005448=NO&002006
82500000001280=&00200682500000001274=&00200682500000001276=&01
100107900000000030=&00200682500000005063=NO_RES&TEMP_SEARCH=&
NAMESPACE_SEARCH=NO_SEA&DEFAULT_SEARCH="/>
I've put all code over multiple lines in order to make things more readable. It's advisable to merge the lines (within a tag) back to one line.
Installation file
Now that we’ve created all these plugins, we need to find a way to publish them. The only thing you need to do is to put this code in an HMTL page
For all the above search plugins this will result in
Add SAP Help
Add Notes via number
Add Notes via string
The value some_host needs to be replaced by the host name of the server you’re putting your files.