Se genero una nueva configuración para que dicho motor consulte las paginas del manual que entrega UNIXhelps for Users
El proceso consiste en un nuevo .xml que contiene etiquetas de Open Search
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"
xmlns:moz="http://www.mozilla.org/2006/browser/search/">
<ShortName>manUNIXhelp</ShortName>
<Description>man pages desde UNIXhelp for Users</Description>
<InputEncoding>ISO-8859-1</InputEncoding>
<Image width="16" height="16">data:image/x-icon;base64,AAABAAEAExMQAAEABACYAQAAFgAAACgAAAATAAAAJgAAAAEABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKsD/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARERAAAAAAAAAAABEREREQAAAAAAAAARERERERAAAAAAAAERAAAAAAEAAAAAABERAAAAAAEQAAAAABEQAAEAABEQAAAAAREQABEQABERAAAAAREQABEQABERAAAAAREQABEQABERAAAAAREQABEQABERAAAAAREQABEQABERAAAAABEQABEQABEQAAAAABEQABEQABEQAAAAAAEAABEAABEAAAAAAAARERERERAAAAAAAAABEREREQAAAAAAAAAAARERAAAAAAAAAAAAAAAAAAAAAAAA/g/gAPAB4ADgAOAAwABgAIAAIACAACAAgAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAgAIAAIACAACAAwABgAOAA4ADwAeAA/g/gAA==</Image>
<Url type="text/html" method="GET" template="http://unixhelp.ed.ac.uk/CGI/man-cgi?{searchTerms}"/>
<moz:SearchForm></moz:SearchForm>
</OpenSearchDescription>
El archivo se debe de guardar en ~/.mozilla/searchplugins/
El código en github esta en https://github.com/petrohs/manSearch.xml--firefox-
También se ha mandado a publicar dentro de los complementos de Mozilla https://addons.mozilla.org/es-ES/firefox/addon/270895/
No hay comentarios:
Publicar un comentario