deezer search issue,the search string includes some special characters - deezer

I am searching for a string in deezer
Example 1
It is showing empty results.
But in deezer app it is showing results
Example 2
Results are proper matching with deezer app also
I want the particular format in search string that includes special characters.

http://developers.deezer.com/api/search explains that the search returns only tracks, not podcast. Your first example returns no result in the website too in the artist section, so all is normal.

Related

Google Custom Search - filter data from within a page

I am using Google Custom Search to enable users to search within my website. I have one page that displays a list of references (to scientific publications) as well as other content (dynamic). I would like to display the results so that references including the search term are filtered into their own tab - but I can only see how to label a whole page, not just a section of a page. This means I can filter for 'references', but get other content in my results, not just the references. Is there a way of doing this?
Yes, its possible I suppose. And I had done it sometime back and it had worked as expected. Have a look at these links -
Tech Republic Set up Google Custom Search and
Google Custom Search

How to get a list of suggested tags from Youtube API?

When editing a Youtube video at youtube.com, if you type text into the list of tags on a video, there is an auto-complete drop-down showing predefined tags that match the text you are typing. This list of tags would be useful for developers building an application that lets users upload videos via the API because the auto-complete feature would stop typos, give suggestions, etc.
So my question is: How do I get a list of suggested tags from the Youtube API? (If that is even possible). EDIT: And by "suggested" I mean tags with names that start with text matching a given search term.
I could not find anything about it in the docs. Also in the entry for the v3 upload feature[1] of the API, the list of tags appears to be a list of arbitrary strings, which suggests there isn't a list of tag Ids on which to map tag entries of the new video. Also the list of Resource Types available in the API[2] doesn't contain any reference to "tags" or "keywords", which again suggests that a tag search feature isn't available in the API. But it would be great if someone know how to get this list.
[1] https://developers.google.com/youtube/v3/guides/uploading_a_video
[2] https://developers.google.com/youtube/v3/docs/

how to search Soundcloud HTTP API for username with spaces

It appears that calls to the Soundcloud API with a query containing a space will fail as API search appears to only search the Permalink field, example:
http://api.soundcloud.com/users.json?q=memory%20echo&consumer_key=CONSUMERKEY&limit=20&offset=0
This is not returning the artist Memory Echo at all. If I just search for the word "memory" then I can find it after paging through 8 pages of 20 users.
How can I get results that include an artists name with a space in it as part of the larger set of search results that should be associated with the words "memory" and "echo"? Is it possible to tell the API to specifically search the Username field?
In answer to your question: Probably not.
You probably already know this, but if there is a way to do it, it isn't documented by SoundCloud. As much as it may suck, you probably are going to have to continue to crunch through search results yourself to find the correct username unless you can convince the folks at SoundCloud to add that feature onto their API.
You may be able to optimize your search by guessing the user's permalink (which appears to often be the username in lowercase with spaces removed) and falling back to a full search if the search with the permalink fails to find the user you are looking for.
Using this scheme, searching for "Memory Echo" would first call /users.json?q=memoryecho and then fall back to /users.json?q=Memory Echo if the first query failed to turn up the correct user.
Also, FYI, I tried the link provided by #bnz and also got "Memory Echo" as the first response. When I searched "memoryecho", username "Memory Echo" was the only result.

From where does Google get the abstract for each of its site results, that it displays on its search result page?

I am working on a project in which i have to search for terms on a search engine and then cluster the results on their contextual sense. So i have to treat each result as a document. unfortunately, the data present along with each result on the result page is too little for clustering. Hence, I wanted to know from where the search engines get the abstract for each result that they show. If i could get that entire abstract then i can cluster the results by treating them as separate documents.
From where does google get the abstract ?
For eg: If you search for "1000 Mile" on google, the second result shows the following abstract:
"The women's 1000 Mile Collection is based on classic designs and reflects Wolverine's long heritage of crafting quality footwear. Complementing these classics ..."
This abstract is not present in the Meta tags of the page.
From where does Google find this data.
Thanks
From Does Google use the Meta Description Tag for Description of Page?
Google will choose your search results snippets from the following places (not necessarily in this order):
The page's Meta Description tag
The page's Open Directory Project (ODP) Listing
Page content relevant to the search query
If you do not want Google to use the ODP listing's description then you can tell them not to do so with the following Meta tag:
<meta name="robots" content="NOODP">
If you want to encourage Google to use your Meta Description tag then make sure it is unique to each page. Also make sure it contains an accurate description of the page's content.
In thew absence of an ODP description and Meta Description tag, Google will use a portion of the page's text as the description. This text will contain the closest matches to the search query. I have not seen any official limit to how long this can be but a couple of sentences seems about right.
On a related note, if you don't want a snippet to be shown with a particular page you can use the following Meta tag to prevent one from being shown:
<meta name="robots" content="nosnippet">
See this blog post for Google's tips on using the meta description tag.
According to this site, "The meta description should typically be at most 145 to 150 characters in length as these are the maximum number of characters typically displayed at Yahoo! and Google, respectively."
That site is Flash-based, and Google can index Flash content, so given that the snippet isn't in the HTML source of the page as you point out, nor is it in the cached version of the page, I'm guessing that it's somewhere in the Flash movie.
It's kind of arbitrary that the snippet mentions 'The women's 1000 Mile Collection' while the site link itself is to the parent category of 1000 mile, not just women's, so I'm guessing here that gathering snippet-friendly metadata from a Flash site is an imprecise science. That's my best guess.
In this Google Webmaster blog post, they explain how they use external text or HTML files loaded into the Flash movie, and in one of the comments Jonathan Simon says (sorry):
"We try our best to crawl Flash content but the results can sometimes be less than ideal. You are only seeing a title in the search results for your site because that's the only bit of HTML text that you have outside of your Flash content. You could add a Meta description element to offer more information in HTML. You could also add some other text that's not a part of your Flash content. Just doing this should improve the snippet you see associated with your site in the search results."

What url should I use

I'm using this to search Google from my website:
<form method="get" action="http://www.google.nl/search">
What url should I use to search images and videos? I couldn't find anything on the internet.
To search Images:
http://www.google.nl/imghp?hl=nl&tab=ni
To search Video:
http://video.google.nl/?hl=nl&tab=wv
I believe you could just use the same URLs that show up after searching on Images/Videos. Here's the result for the string "cookies":
http://images.google.com/search?tbm=isch&hl=en&source=hp&biw=1280&bih=570&q=cookies&gbv=2&oq=cookies&aq=f&aqi=g10&aql=&gs_sm=e&gs_upl=1208l1498l0l1658l4l2l0l0l0l0l143l220l1.1l2l0
After messing around with the query parameters a bit, I was able to eliminate everything except the requirements for an image search:
http://www.google.com/search?q=cookies&tbm=isch
Looks as though &tbm needs to be passed in, and in your case could be a hidden input in HTML:
Change it to this for videos:
To search Images --- http://www.google.com/imghp
To search Videos --- http://video.google.com/?hl=en&tab=iv
But to integrate more efficiently in application better to use.
JSON/Atom Custom Search API
The JSON/Atom Custom Search API lets you develop websites and programs to retrieve and display search results from Google Custom Search programmatically. With this API, you can use RESTful requests to get search results in either JSON or Atom format