How to create custom search templates

Sharing and discussing custom search templates for LaunchBar
norbert
Objective Development
Objective Development
Posts: 647
Joined: Thu Nov 09, 2006 6:30 pm

How to create custom search templates

Postby norbert » Mon Nov 08, 2010 11:29 am

To find the search template URL for a given web site, just perform a dummy search on this site and have a look at your web browser's address bar. For example, in case of http://www.youtube.com/ if you search for jarreau you will get this URL for the search result page:

http://www.youtube.com/results?search_query=jarreau&aq=f

As you can see, it contains your search term jarreau. So you just have to replace it with an asterisk to get the corresponding search template:

http://www.youtube.com/results?search_query=*&aq=f

Other query parameters, which are separated by an ampersand (&), are often optional and can be omitted. In the above example, the aq=f parameter at the end of the URL appears to have no impact on the search result, so you can simply remove it.

The final search template URL then looks like this:

http://www.youtube.com/results?search_query=*

Return to “LaunchBar Search Templates”

Who is online

Users browsing this forum: No registered users and 1 guest

cron