Giter Site home page Giter Site logo

hnjm / alexa-skill-vocabulary-wordpress Goto Github PK

View Code? Open in Web Editor NEW

This project forked from my-language-skills/alexa-skill-vocabulary-wordpress

1.0 2.0 0.0 40 KB

Wordpress plugin for Alexa skill

License: GNU General Public License v3.0

PHP 79.57% JavaScript 19.01% CSS 1.42%

alexa-skill-vocabulary-wordpress's Introduction

alexa-skill-vocabulary-wordpress

Wordpress plugin for creating the content for the Amazon Alexa Skill "Lexicon".

Description

This plugin creates an admin settings page that is responsible to upload a file in a csv format and gives the option to export it, creating a ".js" file modified in a JSON format that will be used as the content file for the alexa skill.

Input File Instructions

  • File must be in a '.csv' format and to be of type "application/vnd.ms-excel".
  • The file's content must be seperated by a semicolon ';' instead of a come ','.
  • The plugin checks for special characters that alexa will have an issue with handling. Current configured special characters are:
    • ":" -> for Categories Title this is transformed to "_".
    • "'" -> for all values in the content this is transformed to "\'" so it can escape when reading the content file.

Process Walkthrough

  • User must select an input file from local storage.
  • This is checked if valid type and format.
  • After successfully checked, then the user can upload the file.
  • After successfully uploading the file, then option for exporting the file is enabled.
  • The user will then click the export button and an option to save localy the content file will appear on screen.
  • This walkthrough is when the user goes through the process for the first time.
  • In later attempts, the file will already be uploaded and the user can proceed with the following options:
    • Remove the file -> Deletes file from /uploads folder.
    • Upload new file -> Replaces the old file with the new one.
    • Export the already uploaded file -> Creates download window for JSON format file.

alexa-skill-vocabulary-wordpress's People

Contributors

charalampostheodorou avatar colomet avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.