Welcome to VXMLizer Project Page
Project Team
What's VXML
VXML is A markup language used for the development of voice
applications. Using only a traditional Web infrastructure, you can
create applications that are accessible over the telephone (source:
philip.greenspun.com/seia/glossary).
VXMLizer (VXML Visualizer)
We will build on two tools that we developed last term,
one of which generates VXML scripts and the other one of which
generates HTML files. VXMLizer will include VXML generator, VXML to
HTML converter, VXML visualizer (as tree view).
Source code
How to Use The Program Without Installation
- Download VXMLizer tarball file
- Extract the files in your home directroy
- Go to the Linux terminal and write the following commands:
alawini@alawini-ltp:~$ cd vxmlizer
alawini@alawini-ltp:~/vxmlizer$ ghci -XFlexibleInstances VXMLizer.lhs
- Part 1: VXML Generator Commands.
Vxmlizer> mkPrompt "hello world"
* mkPrompt creates a voice promot that the seach engine is going to speak.
Vxmlizer> ppElement $$
* ppElement is pretty print command that shows that tag "Element" as it's going to be stored in the VXML file
Vxmlizer> mkAudio "www.pdx.edu/intro.wav"
* Creates an audio tag that plays a wav file stored in the server web address provided.
Vxmlizer> add_conts [Elem $$] (mkPrompt "Hey There")
* add_cons is a command that add a child tag to its parrent. With this command we can create a whole VXML file.
Vxmlizer> genVXML myVXML1 "test1"
Vxmlizer> genVXML myVXML2 "test2"
- Results:
test.vxml
test2.vxml
- Part 2: VXML Visulizer Commands.
Vxmlizer> m_parseAndConvertVxml “form1.vxml” “form1.html”
* This command Converts one file from VXML to HTML
Vxmlizer> m_convertAll
* This command converts all VXML files in the current directory to HTML files
Vxmlizer> m_All2dot
* This command converts all VXML files in the current directory to dot files
Vxmlizer> !dot -Tpng form1.dot > form1.png
* This command converts a dot file to a png image
Note : To run the last command you need to install Graphviz
To download graphviz go to http://www.graphviz.org/Download.php
- Results:
form1.html
form1.png
menu2.html
menu2.png
menu2_1.html
menu2_2.html
How to Build and Install VXMLizer
- Download VXMLizer tarball file
- Extract the files in your home directroy
- Go to the Linux terminal and write the following commands:
$ cd "VXMLizer Path"
$ runhaskell Setup configure --prefix=$HOME --user
$ runhaskell Setup build
$ runhaskell Setup install
- To run the program from your machine write the following command:
$ VXMLizer mkPrompt "Hello World"
How can VXMLizer benefit you
- Generate VXML scripts without any required backgrounds of VXML scripting.
- When you have a VXML file that you don't know its content then
VXMLizer can convert its content to HTML file where you can see the
structure of the VXML file.
- Present the structure of any VXML script in tree like structure.
What's the plan
Click here to access the project plan page
Project Wiki
http://sourceforge.net/apps/trac/vxmlizer/
Completed Tasks
LICENSE
http://web.pdx.edu/~alawini/LICENSE.html
Last Edited on 08/14/2009 10:38 PM