Skip to content

Latest commit

 

History

History
58 lines (32 loc) · 2.29 KB

File metadata and controls

58 lines (32 loc) · 2.29 KB

Web Dev

With Web Dev, users of Google Assistant can ask for data from caniuse.com.

This data is provided by the caniuse repository.

Contributing

Feel free to contribute (for the directory "helper" visit this repository), for details check the issues.

The Code

I use Dialogflow.com to resolve user querys.

Actions on Google Helper

I use my own little helper. When an intent is triggered, it executes the corresponding function in index.php (after line 18).

features.txt

In the features.txt are all different entities for the caniuse-data. These features can be found in the caniuse/features-json directory.

This features.txt (or better .csv) is structured following:

Scheme

"FEATURE_NAME_FROM_CANIUSE", "FEATURE_NAME_FROM_CANIUSE", "FEATURE_SYNONYM", "FEATURE_SYNONYM", ... "FEATURE_NAME_FROM_CANIUSE", "FEATURE_NAME_FROM_CANIUSE", "FEATURE_SYNONYM", "FEATURE_SYNONYM", ...

Example

"addeventlistener", "addeventlistener", "addeventlisteners", "eventlistener", "eventlisteners", "listener", "listeners" "alternate-stylesheet", "alternate-stylesheet", "alternate-stylesheet", "stylesheet", "stylesheets"

browsers.txt

This browsers.txt is structured like features.txt, but uses the browser-names:

Scheme

"BROWSER_NAME_FROM_CANIUSE", "BROWSER_NAME_FROM_CANIUSE", "BROWSER_SYNONYM", "BROWSER_SYNONYM", ... "BROWSER_NAME_FROM_CANIUSE", "BROWSER_NAME_FROM_CANIUSE", "BROWSER_SYNONYM", "BROWSER_SYNONYM", ...

Example

"edge","edge","microsoft edge" "ie","ie","internet explorer"

actionsongooglesettings.md

I use the data from actionsongooglesettings.md to deploy my app.

privacypolicy.html

privacypolicy.html is needed for deployment. (Not beautiful but contains the necessary information)

intents

In the intents directory, you can see all the active intents.