Bing Custom Search - thumbnail near each search result - bing

Last couple years for the search function on our website, we used Google Custom Search.
Since the service will be disabled - we recently switched from GCS to Bing Custom Search (https://customsearch.ai/)
Currently, we can't retrieve thumbnail images for the each row in search results. Is it possible with Bing Custom Search? I mean - we want to display page thumbnail from the Bing near each search result.

Custom search provides contentUrl for each result in json that is not a page preview but image that you can associate with the result. You could use that as a thumbnail, if that helps.

Related

How to get EXTRA (complimentary) results from bing-search API

When we generally search for a term in www.bing.com (e.g. newyork), we get some extra information along with search results on the right most side of the page. Like for 'newyork' you would see some content from wikipedia, map location, it's twitter page etc.
Is there a way to get this information from current BING SEARCH API?
Some of this information is available in the Bing Entity Search API here: https://azure.microsoft.com/en-us/services/cognitive-services/bing-entity-search-api/.

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 does foursquare add a custom image annotation on their Open Graph map?

When foursquare works with Open Graph after a user has performed a checkin on their application (and assuming said user is linked to Facebook), foursquare posts to Open Graph a sample of this checkin data. What's interesting is that they do not have a standard map. Their map has a pin point on it in which an annotation embeds a custom image. It looks a little something like this:
I'm curious how this is done? I can get a regular map to show up with a pin point or a simple image view, but I can't get this custom annotation embedded within a map view.
From what I can tell, there is nothing in the documentation which shows how to further customize the Map layout or add any additional meta data to a GeoPoint object in order to get this additional functionality.
It's currently only in use by Foursquare - effectively it's a test right now.
There are plans to open it up more widely but there's nothing to announce right now - it'll be announced on the blog when opened up further - https://developers.facebook.com/blog/

Google Custom Search Element: Styling Ads

I added a Google Custom Search Element to my website. I already modified the look and feel of the CSE to my website, but I can't modify the look of the ads element since it is inside an Iframe.
Does anybody know how to set-up the style of the ads Iframe? I want do put in a background color and change the font.
Thanks!
This feature seems to be available only for Google Site Search customers. If you are one, you'll be able to recieve your search results as an XML feed, and apply a presentation layer on the raw data. All the details on how to do this are available at the official Google Custom Search site.
You can try this api for AdSence search - https://developers.google.com/custom-search-ads/docs/implementation-guide?hl=en , but you can't make ads view like 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