Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??

Quick instructions for non-perlmonk.org users: Dial 1-800-555-TELL. The first prompt will be for categories. Say 'Extensions', and when prompted for which extension, say 'Zero Eight Zero Three One' (08031). When prompted for home-node ID, say 'Nine Two Seven Zero' (9270). At the next prompt, say 'Weather'

So today I read an article on Slashdot (no flames, I only read the headlines...), and saw a reference to an ArsDigita Systems Journal article on VoiceXML: letting people talk to your HTTP server through the telephone. I thought this would be kind of cool to play with, so I wrote an application that allows you to retrieve your current XP and the $NORM value over the phone.

To use it, call 1-800-555-TELL (8355). At the main menu prompt, say 'Extensions'. At the extensions prompt, say '0-8-0-3-1' (Best said as 'Zero Eight Zero Three One'). You'll be prompted to say your homenode ID number, which should be said as 'Nine Two Seven Zero' (if you're me. I'd use your own homenode ID, if I were you).

At the prompt, you can say 'help', 'experience', 'norm', 'homenode', or 'weather'. Each pretty much performs the function you would expect. Updated 2001-03-15 04:37:00 GMT Changed 'xp' to 'experience', added 'weather' support.

I beat it pretty hard, and other than it not always catching what you're pronouncing (and no doubt a speaker phone doesn't help), it seemed to survive pretty well. The stats are pulled from the same database as the stats pages, so your XP will only be as current as the last scan, etc.

If you have any experience with XML, the VXML is quite easy to use. It took me about two hours to go from nothing, to a (hopefully) fairly stable app for doing simple data retrieval.

I'm idlely thinking about adding the Other Users box content as an option, although I have no idea how it would pronouce some of the users names. I may also add the weather report from the weather station on the boat.

If you've ever listen to AnaNova, the voice sounds a lot like the 'coder they use. It's generally pretty understandable, although sometimes you have to spell things a little funny to get her to pronounce them correctly.

--Chris

e-mail jcwren

In reply to Stats Whoring - The VXML Way by jcwren

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others studying the Monastery: (11)
    As of 2014-11-28 15:53 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      My preferred Perl binaries come from:














      Results (198 votes), past polls