Jump to content

Web search title : automatically add '{query}' like v1 ?


Recommended Posts

There was something nice and useful with custom web searches in v1.

When we used {query} in the url, and specified nothing in the title, '{query}' was automatically added at the end.

Now we need to explicitly specify something like : My search '{query}'.

 

I have a lot of custom searches from v1 and now my titles miss the '{query}' !

Would there be some feature that I missed that could resolve that ?

Link to comment

if you put {query} in the 'Title' box, you will get the custom search results shown for those searches you set up like that.

So, for instance, if I made a custom search for Ben Dodson's iTunes Artwork Finder [ http://bendodson.com/projects/itunes-artwork-finder/ ]

 

1: Search URL = "http://bendodsonapps.com/projects/itunes-artwork-finder/?entity=movie&show={query}&country=ca"  <-- This is for 'Movie' and Canada

2: UTF8 and encode spaces as + both checked

3: Title = "{query}"

4: Keyword = "whatever you want, does not matter because {query} is in Title

5: Drop an identifiable icon into the icon box.

 

Now, open Alfred and type "Blade Runner" and in the Alfred results you will see your identifiable icon with 'Blade Runner' beside it.

Select the entry and enter ... boom, posters show up on the Ben Dodson page in your browser.

 

Is that what you meant?

Link to comment

Hi Rodger, and thanks for your answer.

However no, this is not what I meant :)

 

I'll try to be more precise.

 

In Alfred v1 :

1. Create a custom search

2. Enter a search url with {query} specified (e.g. http://site.com/?q={query})

3. Enter the following title : My search

4. Test the search

    ↳ Alfred displays : My search '...', or My search 'hey' when you type.

 

In Alfred v2 :

1. Do the same things as above

    ↳ Alfred only displays : My search, even when you type.

 

A solution that works for v2 :

Modify the title this way : My search '{query}'

 

Alfred v1 was automatically adding '{query}' at the end of titles.

 

So, my question was : Is there a way to reactivate Alfred v1 behavior ?

I'm asking because I have a lot of custom searches from v1.

 

Thanks for any info about this.

Edited by Philoozushi
Link to comment

Hi Rodger, and thanks for your answer.

However no, this is not what I meant :)

 

I'll try to be more precise.

 

In Alfred v1 :

1. Create a custom search

2. Enter a search url with {query} specified (e.g. http://site.com/?q={query})

3. Enter the following title : My search

4. Test the search

    ↳ Alfred displays : My search '...', or My search 'hey' when you type.

 

In Alfred v2 :

1. Do the same things as above

    ↳ Alfred only displays : My search, even when you type.

 

A solution that works for v2 :

Modify the title this way : My search '{query}'

 

Alfred v1 was automatically adding '{query}' at the end of titles.

 

So, my question was : Is there a way to reactivate Alfred v1 behavior ?

I'm asking because I have a lot of custom searches from v1.

 

Thanks for any info about this.

OK, I get it now. The only way I know of is already mentioned in your solution ... to add '{query}' to the Title.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...