August 2008
M T W T F S S
« Jul   Sep »
 123
45678910
11121314151617
18192021222324
25262728293031

erm, slowly weaving an xhtml+voice document (this is only half a post really)

First unfinished attempt which have not either validated or checked via Voxeo. Please feel free to copy / download (will need to select page and source to view code….once I have finished version will upload as a text file)
Would also recommend waiting until have a finished attempt that is assuming anyone out there would actually want a copy of either finished or unfinished ;-) It will hopefully provide at least half an idea. The milkshake one is more complicated in that you need branching immediately upon answering the first question. I guess it is unlikely that if you had such a wide choice of flavours that you would just tell an online form that you wanted one flavour only.

Is based around this text from post yesterday.

It is quite similar to a familiar Xhtml page except that it has slightly different DOCTYPE and namespaces to be declared. Another difference is use of time - which you can declare in seconds or milliseconds, you also should provide script so that the browser reading it, knows that you’re finished / stops listening. You also use scripting (JavaScript) to manage events such as prompts, speech input and branching etc I’m not entirely sure I’ve got my “elements by ID” in the right sequence to fit with the branching at the moment, but will inspect in more detail tomorrow

You can put the voicexml directly into the Xhtml coding or reference it as an external voicexml file (based on everything I’ve understood so far, external is better because you can reuse it, even within the same document). You set up grammar files to help with understanding i.e. a file will include typical words that you might expect to hear in response to a prompt/question.

Tomorrow’s task is to reference this unfinished version against the W3 guidelines Then put together an aural stylesheet. Another option is to record the prompts and save as audio files which you can then reference within the forms, so might do this too.

Leave a Reply