Giter VIP home page Giter VIP logo

voicewp's People

Contributors

aramzs avatar chrisscott avatar davisshaver avatar digiltd avatar dlh01 avatar tomharrigan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

voicewp's Issues

Custom fields need better description labels

Custom meta data fields need to be as descriptive as possible.

Example: For inputting the amazon App ID, the description here should detail where and how to get this, and link out to docs with screenshots

Allow specifying phrases that should be "read out"

A news organization might be used to writing abbreviations for the web that don't make sense when spoken.

For example, "DOT" in a news story should probably be spoken as "Department of Transportation," not "dot."

It would be nice to provide an interface that allows sites to list words or phrases that shouldn't be read as-is and to specify how those should be replaced.

The plugin might also be able to provide some starter replacements, like "in the morning" for "a.m.", although these should be removable if provided.

500 error on install

I already have my SSL installed. When I use Plugins>Add New>Upload Plugin > then choose the voicewp-master.zip, the site returns an HTTP 500 ERROR. I am using AWS Lightsail with the $10 a month instance 1 GB Memory 1 Core Processor 30 GB SSD Disk 2 TB Transfer. Any thoughts on the matter?

Endpoint causes error, SSL Handshake failed

Hi,
I've been trying to connect my Wordpress Website to an Alexa skill for several days now via Voicewp. I followed the tutorial, however, the skill cannot be called. When testing on the Amazon Developer Portal, I get the message "The remote endpoint could not be called, or the response it returned was invalid.". When trying to call the skill using Amazon Echo, I get an answer about failing, the Alexa app tells the SSL handshake failed.

In the Amazon Developer Portal, I use the URL (via HTTPS) "https://mydomain.000webhostapp.com/wp-json/voicewp/v1/skill/news". When I open my URL in the browser, a simple text saying "To test your skill, use an Alexa enabled device or Echosim.io" is shown. There is no route error.
In the Alexa Skill Settings within the Wordpress Dashboard, the right News Skill ID is given. An SSL certificate is available.

What do I do wrong about the endpoint? Is there something important I missed when doing the tutorial?
Thank you for any answer!

Support multiple briefing feeds

-Add a taxonomy to briefings, allowing a briefing post to be categorized
-Create a feed URL for each taxonomy, so each feed serves that content, allowing for a briefing to serve multiple different feeds which users can subscribe/activate/deactivate as desired

Add audio support for Flash Briefing post type

Meta fields should be added via FM to allow an audio file to be attached to the post type. Should probably include both a media upload field and a URL field. (only one would be used)

Allow the news functionality to immediately read the latest post

Instead of having to ask for a list of latest posts, 'alexa, ask {my skill} for the latest posts', and then select an item from the list, allow a user to say 'alexa, ask {my skill} to read me the latest post', and other variations on that. This will cut down the time it takes to get to actual content. Probably most useful for blogs rather than larger publications.

Multi Language Support

Can you add support to other languages ? Because I want to create a skill in german language
Can I translate the plugin with poedit ? Or what do I have to do in order to get a German skill

Add category filtering to news skill

Introduce new functionality to news skill to allow selection of content via category, such as Alexa, ask 'news_skill_invocation_name' for Technology content

Requires tweaking of the query to allow for a cat param

Add GA support

Implement GA's server-side Measurement Protocol to handle sending custom events to GA based on firing certain intents

Use standard array syntax

It's probably worth trying to support PHP 5.3 and using the standard array syntax rather than using shorthand array syntax.

Readme Assets

For uploading image assets for use in repo documentation. Avoids including images in the repo.

Create class for Standard card

In addition to the properties of a Simple card, Standard card allows for images, and should extend the existing card class.

Fix CORS headers on image assets for serving to app cards

For most users with a vanilla setup, serving of assets will probably be blocked due to CORS settings. Use the allowed_http_origins filter to add http://ask-ifr-download.s3.amazonaws.com to the list.

Ref: https://developer.amazon.com/public/community/post/Tx15T24P9QV8RXN/New-ASK-Features-Standard-Home-Cards-with-Image-Support

Note: Sites should use a CDN to serve up the images, but we should handle this case. Since it's just a filter, it can be removed if a site wishes.

Improve cards on news functionality

-Getting latest posts or posts by category should contain a numeric list of post titles in the app card

-Content cards should contain excerpt

Create a debug mode

To help sites test their skills more easily create a debug mode that allows the following:
-Disable verification steps (cert validation, timestamp validation etc)
-Disables caching so result testing can be done more quickly
-A toggle and filter for enabling and disabling debug mode
-A banner that appears when debug mode is enabled

Add checks for if the REST API exists or is active

Won't exist for older WP versions, but may exist as a plugin for them. If we leverage any 4.7 endpoints, we may need additional checks there and then register custom endpoints if the site doesn't have them. Also, VIP sites don't have the WP REST API active by default, though it can be enabled.

Project outdated?

I tried to setup voicewp according to the documentation, but the Alexa Dev Console responds with different errors.

There seems to be an issue with the interaction module and when entering my https URL it resonds with Error: The information sent is out of date, please refresh and try again."

Can you guys help?

Audio Not Working

Hey guys,

When I upload MP3s the Alexa service doesn't seem to recognise it at all. Any ideas? This is for flash news briefing.

Handle splitting of long content

Issue: If post content is longer than 8k chars, it will cut off the remainder and abruptly end the response. This affects the News functionality for sufficiently long content.

Ref: https://developer.amazon.com/docs/custom-skills/request-and-response-json-reference.html#response-format

Output speech has a max length of 8000 chars.
Total response cannot be greater than 24kb

Possible solutions:

  1. If post is greater than 8000 chars: split post content into an array where each key contains the first n paragraphs that are less than or equal to 8k chars. Store the remaining post contents as attributes and prompt the user after finishing the first block of content for whether they want to continue or not, and then deliver the next block of content.
    The problem with this approach is that it's still possible for issue to occur if the total size of the article content along with the rest of the response is greater than 24kb.

  2. If post is greater than 8000 chars: split post content into an array where each key contains the first n paragraphs that are less than or equal to 8k chars. Store the remaining post contents in cache using the transients API. Store a user attribute of the current array index, and an attribute for the number of keys in the index. If the index is not the last item of the array, prompt the user for if they want to continue once they reach the end of the block, and grab the next block from cache.

Add more friendly settings to wp-admin page

Settings screen should allow configuration options such as (but not limited to):
-selecting which public post types are made available for consumption via the news functionality
-selecting which category (or other taxonomy) terms are made available for consumption via news functionality

Utterances, intents, slot types should be updated appropriately. Ex.:
-Alexa, ask skill_name for Technology (tax_term) content
-Alexa, ask skill_name for Gallery (post_type) content

Allow customization of skill card?

I love the plugin, but I was rejected for publishing because "The skill’s Home cards are not appropriate to the context of the skill’s functionality as defined in its description." Is there any way to change the card type from Standard to Simple?

Admin interface cleanup

The main Alexa Skill Settings page can be a bit overwhelming, with all of the settings being displayed in one lengthy page. Should discuss how to create a better UI.

Consider adding a PHP version requirement in the readme

I noticed the use of [] for an array(). Considering that syntax will break in lower versions of PHP, it's worth mentioning as part of the requirements. Also, since you're using the REST API would make sense to add an initial WP/plugin version as well to the requirements. These are both very minor yet useful for those new to the project.

Allow multiple functionalities to exist in same skill

Currently, the News functionality and the creation of facts/quotes skill types would create separate skills. We should allow both to exist under a single skill, rather than creating multiple small single serving skills.

Note: This should be optional and allow a site owner/editor to choose whether new functionality will exist within the current skill or as a new skill

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.