Actions on Google - How can I display a table? - node.js

The Google Assistant can currently do this but I'm not sure if there is a way to display a clean table with the Actions on Google library. I would like to reproduce a table similar to what is displayed in the following screenshot:
This doesn't look like any of the components that are available in the library.
Would it be possible to achieve this with a BasicCard and Lists?

The exact UI above is not currently possible using the 3P components. You can use similar widgets like a list or carousel to get close to the UI above, or render the whole thing as an image and return as a card.

For anyone else with the same question, Google recently announced consumer availability of rich responses optimized for Smart Displays. As of 7/26/2018, you can now have responses with table cards.

Related

Product information not coming in Adaptive Search Hybris 1808

I have enabled Adaptive search for my project on Hybris 1808_7. I am getting solr facets and search profile information but still, product information is not getting rendered in the editor area.
Can anyone let me know what I am missing? Please find attached screen.
Backoffice is build with widgets. I suggest you to read the documentation that I've provided and read about ZK Framework too because that is how widget UI is created (it's almost like a HTML but it's a little bit different. Here you can find more about this framework). And to answer to your question, your problem comes from a widget because the product information is rendered dynamically like in this file: searchResultBrowser.zul, and to be more specific, for example here:
<html sclass="yas-result-title" conntent="#load(vm.sanitizeHtml(result.document.fields['name']))">
You will have to look after result item and see how it's retrieved and then see if your product is retrieved the same.

How to apply different filters to each page in Spotfire Web Player?

I am trying to figure out how to apply different filtering schemas for each page in an Analysis file in Spotfire Web Player/Consumer.
I have found that the Spotfire Analyst supports that (see image below) and I can create different Filtering schemas and apply them for each page:
However, the Spotfire Web Player does not seem to have such an option. I have checked the JavaScript API (link) but I cannot seem to find if there is such an option supported in the web player. Could anyone please share their experience if you know how that can be achieved
Have you tried putting the desired filters in a text area? Is there a reason the user has to use the filter panel?
In a text area filter you can specify your filtering scheme. Note I'm in 7.13 not X.

Google docs - automated List of tables

Is it possible to add captions to tables in Google docs?
I would like to be able to produce an automated list of tables.
For example something like this :
Any idea ?
The Caption Maker Add-on detects figures and tables in a Google Doc, puts numbered captions above or below them and creates lists of figures and tables that can even be updated as the document evolves.
The "Captionizer" Addon seems to be able to do this now, albeit without page numbering. The creator says there is no way to lookup the page number in a google doc to be able to add that feature.
Captionizer
As #Falko Menge suggested in the first response Caption Maker appears to be the best option. I went down for some time, but you can install it without problems.
Caption Maker is available here: https://workspace.google.com/marketplace/app/caption_maker/226603355104
It seems to be working just fine.
Cheers!

How can I debug the Modx "mxCalendar" extra?

I hope someone is here, who is familiar with the cms Modx.
I installed the extra "mxCalendar" and my button "Create New Calendar Item" is not working. I click on it and nothing happens.
Can you help me?
mxCalendar is not actively maintained anymore. Which MODX version are you using? mxCalendar does not work in MODX 2.3 and up, according to this list.
I suggest to use another calendar system like integrating Google Calendar or use regular resources and add some date/time tv's to work with dates. It really depends on how you want to use the calendar. Think about questions like:
Do I need (auto) recurring events?
Can an event occupy multiple days?
If both questions are anwsered with 'yes', than it could become technically very complex in my experience. The best way to go is embedding Google Calendar, or it's API.

Google Search by Image API?

for my job, I'm looking into an idea in which people would use Google Search by Image and use any celebrity photo they find. Google would return the results and then on our end, a there'd be a database of professionals showing how to get that specific look.
I'm assuming this is extremely unlikely to do, based on that users could use ANY photo.
So, is there a way that I could have about 100 or so celebrity photos that Google Image results could compare to and then choose the one that is closest.
Basically:
Drag drop photo of Britney Spears
Google searches with that image
Google's results compare the top images with our 100, and selects the closest match.
User gets to see video of how to get Britney Spears look.
I'm not a programmer, but looking for some API or Search by Image extension that could make this remotely possible for the programmers here at my job. Does something like that (a search by image api) exist? The best I could find was just the support page, which is hardly of any help: http://support.google.com/images/bin/answer.py?hl=en&p=searchbyimagepage&answer=1325808
You can easily search by an existing image by inserting this into your address bar:
https://www.google.com/searchbyimage?site=search&sa=X&image_url=YOUR_IMAGE_URL
Example:
https://www.google.com/searchbyimage?site=search&sa=X&image_url=http://cdn.sstatic.net/Sites/stackoverflow/company/img/logos/so/so-icon.png
Sorry to say, but the Google image API is deprecated:
Important: The Google Image Search API has been officially deprecated as of May 26, 2011. It will continue to work as per our deprecation policy, but the number of requests you may make per day may be limited.
Quite sure there are some alternatives (http://www.tineye.com/ and http://mrisa.mage.me.uk)
Update (2013): There is now Google Custom Search which allows image searches.
These answers are quite obsolete, but the question comes up in searches. So, the Google Vision API has the "web detection" feature that does a reverse image search. First 1000 requests per month are free, $3.50/1000 afterwards.
I think Google Web Detection could be a solution for you. Google moved it permanently from Image search
You can do it via www.images.google.com but only from a browser (lets you upload your own image and compares it to similar).
I'm working on doing it from code (not from browser).
I had the same problem and came up with two solutions:
There are a number of APIs that give reverse image search results nowadays. The ones I used are https://reverseimageapi.com and TinEye.com.
As the selected answer mentions, you can easily scrape this information but will almost certainly need rotating proxies to prevent being banned by the search engine. There are plenty of proxy rotation services (Zyte, Oxylabs, ScrapingBee, etc.) to make you life easier.
I ended up going with option 1 due to the upkeep of scraping search engines and elements changing / breaking.

Resources