tomharrigan / voicewp

Create Alexa Skills through WordPress
https://voicewp.com/
MIT License
128 stars 25 forks source link

allow plugin to read content of a page #104

Open jfayre opened 6 years ago

jfayre commented 6 years ago

Would it be possible to add functionality to allow the plugin to read the contents of a particular page rather than a post?

tomharrigan commented 6 years ago

What's the use case?

jfayre commented 6 years ago

Hello,

I run a website for a local adaptive technology group for blind people. I would like the skill to be able to read the page where I place the upcoming meeting announcement.

This is a wordpress page, not a post.

I also want the skill to be able to read the past meeting notes, which are posts.

From: Tom Harrigan [mailto:notifications@github.com] Sent: Tuesday, November 21, 2017 6:31 PM To: alleyinteractive/voicewp voicewp@noreply.github.com Cc: jfayre jfayre@gmail.com; Author author@noreply.github.com Subject: Re: [alleyinteractive/voicewp] allow plugin to read content of a page (#104)

What's the use case?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/alleyinteractive/voicewp/issues/104#issuecomment-346195346 , or mute the thread https://github.com/notifications/unsubscribe-auth/AC0SjnV1XJJ7jrXJL0BGXKd7thByEE0iks5s411EgaJpZM4QmQw9 . https://github.com/notifications/beacon/AC0SjvqD7CaPswkNBWQ5sAXu83i3e6Gsks5s411EgaJpZM4QmQw9.gif

tomharrigan commented 6 years ago

Thanks, what's the URL of the website? I'd like to check it out to make sure I'm thinking about it correctly.

For a user of the skill, what do you imagine the conversational interface being like? Currently, the skill gives the user the last five posts and asks them to select one from the list. At the moment, two possible ways that we could add this page into the results have crossed my mind.

The first way would be to prepend the page to the list of results, so selecting the first item from the list would always give the results of this page, being the upcoming meeting announcements.

The second way would be to have a different voice command that specifically grabs the results from that page. For example: "Tell me about the upcoming meeting", and this would deliver the contents of that specific page.

Which do you think would be the best or most natural way for your users? Or if you have other ideas, happy to entertain them.

Thanks

jfayre commented 6 years ago

Awesome!

The url is:

http://www.gtt-toronto.ca

I like the idea of asking for upcoming meeting info with a different invocation.

Honestly, both ways would work. Prepending the upcoming meeting to the beginning of the list would mean that people wouldn’t necessarily need to know the invocation phrase.

I understand that this functionality might not be easy to implement for everyone. I’m not sure how you would present this type of thing in the settings page of the plugin. I’m not a developer, so trying to figure out how to code this myself was making my head hurt.

Thanks for taking the time to look into this!

From: Tom Harrigan [mailto:notifications@github.com] Sent: Tuesday, November 21, 2017 7:43 PM To: alleyinteractive/voicewp voicewp@noreply.github.com Cc: jfayre jfayre@gmail.com; Author author@noreply.github.com Subject: Re: [alleyinteractive/voicewp] allow plugin to read content of a page (#104)

Thanks, what's the URL of the website? I'd like to check it out to make sure I'm thinking about it correctly.

For a user of the skill, what do you imagine the conversational interface being like? Currently, the skill gives the user the last five posts and asks them to select one from the list. At the moment, two possible ways that we could add this page into the results have crossed my mind.

The first way would be to prepend the page to the list of results, so selecting the first item from the list would always give the results of this page, being the upcoming meeting announcements.

The second way would be to have a different voice command that specifically grabs the results from that page. For example: "Tell me about the upcoming meeting", and this would deliver the contents of that specific page.

Which do you think would be the best or most natural way for your users? Or if you have other ideas, happy to entertain them.

Thanks

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/alleyinteractive/voicewp/issues/104#issuecomment-346207438 , or mute the thread https://github.com/notifications/unsubscribe-auth/AC0SjtSShXqESVjq1_H0iGFfiNWf29aoks5s424fgaJpZM4QmQw9 . https://github.com/notifications/beacon/AC0Sjkn1zXYoZesbMB8LBrxZCB6sqdJCks5s424fgaJpZM4QmQw9.gif