Additional Blogs by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
eddy_declercq
Active Contributor
0 Kudos

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=&amp;docuType=SAP Documentation&
amp;language=English&amp;region=SAP NetWeaver&amp;area=SAP NetWeaver&
amp;application=SAP NetWeaver&amp;release=2004s&amp;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&amp;_EVENT=REDIR&amp;_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=&amp;00200682500000004914=E&amp;00200682500000004876
=
&amp;00200682500000004915=AND&amp;00200682500000004916=ALL

&amp;00200682500000005447=L&amp;SEARCH_AREA=&amp;00200682500000005040=NO

RESTRICTION&amp;00200682500000004918=10&amp;APP=00200682500000001952&

amp;_EVENT=RESULT&amp;00200682500000004875=&amp;00200682500000004932=1&

amp;00200682500000004919=0&amp;00200682500000005464=TRUE&amp;0020068250

0000005466=TRUE&amp;00200682500000005465=TRUE&amp;00200682500000005467=

FALSE&amp;00200682500000005468=FALSE&amp;00200682500000005462=&amp;0020

0682500000005463=&amp;00200682500000002804=&amp;00200682500000002805=&amp;

00200682500000002076=&amp;00200682500000000719=OW1&amp;002006825000000020

70=&amp;00200682500000004920=&amp;00200682500000004877=&amp;00200682500000

004878=00&amp;00200682500000004879=&amp;00200682500000005448=NO&amp;002006

82500000001280=&amp;00200682500000001274=&amp;00200682500000001276=&amp;01

100107900000000030=&amp;00200682500000005063=NO_RES&amp;TEMP_SEARCH=&amp;

NAMESPACE_SEARCH=NO_SEA&amp;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.