Jump to content
Philoozushi

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 ?

Share this post


Link to post

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?

Share this post


Link to post

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

Share this post


Link to post

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.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...