[aur-dev] OpenSearch Description
Hello everyone! It's been a long time that I wanted to do an OpenSearch shortcut to the AUR. I do an extensive use of search engines and keywords in my daily navigation and I was really missing one for AUR. So I wrote one, that was not so complex. :) I tested it using Firefox 3.6, so please test it a little bit more. To include the search engine in a web page for auto discovery, the HTML <head/> element should include a "profile" attribute that contains the value "http://a9.com/-/spec/opensearch/1.1/", and a <link/> tag such as <link rel="search" type="application/opensearchdescription+xml" href="http://path/to/aur-osd.xml" title="AUR Packages" /> (href must contain a complete uri, relative path doesn't seem to be supported) I set up a page so you can test it: http://www.cilyan.org/aurosd/aur-osd-link.html Once an appropriate keyword is set up in Ff "Manage search engines", finding a package on AUR is now as simple as typing "aur <package>" in the address bar! Best regards, Cilyan
On Sun, Jan 30, 2011 at 10:55 AM, Cilyan Olowen <gaknar@gmail.com> wrote:
Hello everyone!
It's been a long time that I wanted to do an OpenSearch shortcut to the AUR. I do an extensive use of search engines and keywords in my daily navigation and I was really missing one for AUR. So I wrote one, that was not so complex. :) I tested it using Firefox 3.6, so please test it a little bit more. To include the search engine in a web page for auto discovery, the HTML <head/> element should include a "profile" attribute that contains the value "http://a9.com/-/spec/opensearch/1.1/", and a <link/> tag such as <link rel="search" type="application/opensearchdescription+xml" href="http://path/to/aur-osd.xml" title="AUR Packages" /> (href must contain a complete uri, relative path doesn't seem to be supported)
I set up a page so you can test it: http://www.cilyan.org/aurosd/aur-osd-link.html
Once an appropriate keyword is set up in Ff "Manage search engines", finding a package on AUR is now as simple as typing "aur <package>" in the address bar!
As an FYI, I added this to the main site a while back: http://projects.archlinux.org/archweb.git/commit/?id=8c077a4caa73c7e4a5e1481... http://www.archlinux.org/opensearch/packages/ -Dan
2011/1/30 Dan McGee <dpmcgee@gmail.com>:
On Sun, Jan 30, 2011 at 10:55 AM, Cilyan Olowen <gaknar@gmail.com> wrote:
Hello everyone!
It's been a long time that I wanted to do an OpenSearch shortcut to the AUR. I do an extensive use of search engines and keywords in my daily navigation and I was really missing one for AUR. So I wrote one, that was not so complex. :) I tested it using Firefox 3.6, so please test it a little bit more. To include the search engine in a web page for auto discovery, the HTML <head/> element should include a "profile" attribute that contains the value "http://a9.com/-/spec/opensearch/1.1/", and a <link/> tag such as <link rel="search" type="application/opensearchdescription+xml" href="http://path/to/aur-osd.xml" title="AUR Packages" /> (href must contain a complete uri, relative path doesn't seem to be supported)
I set up a page so you can test it: http://www.cilyan.org/aurosd/aur-osd-link.html
Once an appropriate keyword is set up in Ff "Manage search engines", finding a package on AUR is now as simple as typing "aur <package>" in the address bar!
As an FYI, I added this to the main site a while back: http://projects.archlinux.org/archweb.git/commit/?id=8c077a4caa73c7e4a5e1481... http://www.archlinux.org/opensearch/packages/
-Dan
Yes, indeed and I use it quite often since a long time (using the "ap" keyword, if you want to know ;)), thanks a lot!
participants (2)
-
Cilyan Olowen
-
Dan McGee