%APPDATA%\Mozilla\Firefox\Profiles\xxxxxxxx.default\searchpluginswhere xxxx is a random string. 3. Create a new file in the searchplugins directory called picitup.xml with the contents below: The icon file is usually called favicon.ico and is found on the level of the homepage. However, in this case it is present in a different directory, which I found by viewing the HTML source of the Picitup homepage:
<link rel="SHORTCUT ICON" href="images/plusico/fav.ico">To find the search URL, look at the HTML <form> element:
<form name="search" action="results.jsp" method="get"> <input input type=text name=query size="38" style="border: 1px solid #BDBDBD;"/> <input type="hidden" name="searchType" value="image"/> <input type="hidden" name="addToDb" value="1"/> <input type="submit" value="Search" onclick="javascript:submitForm();"/> </form>4. Restart Firefox and thats it! Click on the Search Engine combo box and you should now be able to try out the new Picitup addon. 5. Share your plugin with the rest of the world by uploading it here: http://mycroft.mozdev.org/submitos.html NB: After restart, Firefox will change you xml file by base64 encoding the image icon URL. Reference:
There is detailed documentation about the OpenSearch format at OpenSearch.org and with reference to Firefox at the Mozilla Developer Center.


2 comments:
Thanks for this howto. Really helpfull. I found out that some of the search engines were not GET but POST.
I found out howto do POST searchengines with looking at the All Music Guide (AMG) plugin.
Compare this with the AMG page source and it is easy to sort out.
thanks for the article, it was really helpful ;)
Post a Comment