[pandorabots-general] Newbie Problem
Websafe Studio
websafestudio at yahoo.com
Thu May 11 14:45:30 PDT 2006
Hi Joe Hall:
Sorry about the previous version of your Knock Knock file which I sent, I
included 3 hyphens in a comment, which the XML parser didn't like. The
following file tests clean in Internet Explorer.
Cheers,
Websafe
<?xml version="1.0" encoding="ISO-8859-1"?>
<aiml>
<!-- Original file: Joe Hall -->
<!-- Modified by: Brian Hoecht -->
<!-- Last modified: -->
<!-- Websafe Studio 05-11-06 -->
<!-- Guest asks for a joke. -->
<category>
<pattern>* I WANT TO HEAR ANOTHER JOKE</pattern>
<template><srai>TELL ME ANOTHER JOKE</srai></template>
</category>
<category>
<pattern>* ONE MORE JOKE</pattern>
<template><srai>ONE MORE JOKE</srai></template>
</category>
<category>
<pattern>* TELL ME A JOKE</pattern>
<template><srai>TELL ME A JOKE</srai></template>
</category>
<category>
<pattern>* TELL ME ANOTHER JOKE</pattern>
<template><srai>TELL ME ANOTHER JOKE</srai></template>
</category>
<category>
<pattern>* TELL ME MORE JOKES</pattern>
<template><srai>TELL ME A JOKE</srai></template>
</category>
<category>
<pattern>I WANT TO HEAR ANOTHER JOKE</pattern>
<template><srai>TELL ME ANOTHER JOKE</srai></template>
</category>
<category>
<pattern>ONE MORE JOKE *</pattern>
<template><srai>ONE MORE JOKE</srai></template>
</category>
<category>
<pattern>ONE MORE JOKE</pattern>
<template><srai>TELL ME ANOTHER JOKE</srai></template>
</category>
<category>
<pattern>TELL ME A JOKE *</pattern>
<template><srai>TELL ME A JOKE</srai></template>
</category>
<category>
<pattern>TELL ME A JOKE</pattern>
<template><srai>TELL ME A KNOCK KNOCK JOKE</srai></template>
</category>
<category>
<pattern>TELL ME ANOTHER JOKE *</pattern>
<template><srai>TELL ME ANOTHER JOKE</srai></template>
</category>
<category>
<pattern>TELL ME ANOTHER JOKE</pattern>
<template><srai>TELL ME A JOKE</srai></template>
</category>
<category>
<pattern>TELL ME MORE JOKES *</pattern>
<template><srai>TELL ME MORE JOKES</srai></template>
</category>
<category>
<pattern>TELL ME MORE JOKES</pattern>
<template><srai>TELL ME A JOKE</srai></template>
</category>
<!-- Step 1: Guest asks specifically for a knock-knock joke. -->
<category>
<pattern>TELL ME A KNOCK KNOCK JOKE</pattern>
<template>Knock knock.</template>
</category>
<!-- Step 2: Guest asks, "Who's there?" and gets an answer. -->
<category>
<pattern>WHO IS THERE</pattern>
<template>
<random>
<li>Alison.</li>
<li>Amanda.</li>
<li>Amos.</li>
<li>Annie.</li>
<li>Boo.</li>
<li>Canoe.</li>
<li>Fanny.</li>
<li>Hawaii.</li>
<li>Honeycomb.</li>
<li>Howie.</li>
<li>I love.</li>
<li>Ima.</li>
<li>Jess.</li>
<li>Little old lady.</li>
<li>Norma Lee.</li>
<li>Olive.</li>
<li>Orange.</li>
<li>Waiter.</li>
<li>Who.</li>
</random>
</template>
</category>
<category>
<pattern>WHOS THERE</pattern>
<template><srai>WHO IS THERE</srai></template>
</category>
<category>
<pattern>WHO S THERE</pattern>
<template><srai>WHO IS THERE</srai></template>
</category>
<!-- Step 3: Guest asks, "(NAME) who?" and gets the punchline. -->
<category>
<pattern>ALISON WHO</pattern>
<that>ALISON</that>
<template>Alison to the radio on the Internet.</template>
</category>
<category>
<pattern>AMANDA WHO</pattern>
<that>AMANDA</that>
<template>Amanda to fix the television.</template>
</category>
<category>
<pattern>AMOS WHO</pattern>
<that>AMOS</that>
<template>Amosquito, that wants to bite you!</template>
</category>
<category>
<pattern>ANNIE WHO</pattern>
<that>ANNIE</that>
<template>Annie thing you want to talk about?</template>
</category>
<category>
<pattern>BOO WHO</pattern>
<that>BOO</that>
<template>There's no reason to to cry, it's just a joke!</template>
</category>
<category>
<pattern>CANOE WHO</pattern>
<that>CANOE</that>
<template>Canoe teach me some more Knock Knock jokes?</template>
</category>
<category>
<pattern>FANNY WHO</pattern>
<that>FANNY</that>
<template>Fanny the way a computer can have a sense of humor.</template>
</category>
<category>
<pattern>HAWAII WHO</pattern>
<that>HAWAII</that>
<template>I'm fine, Hawaii you?</template>
</category>
<category>
<pattern>HONEYCOMB WHO</pattern>
<that>HONEYCOMB</that>
<template>Honeycomb your hair!</template>
</category>
<category>
<pattern>HOWIE WHO</pattern>
<that>HOWIE</that>
<template>Howie gonna talk about anything else when I'm so funny?</template>
</category>
<category>
<pattern>I LOVE WHO</pattern>
<that>I LOVE</that>
<template>I don't know, you tell me!</template>
</category>
<category>
<pattern>IMA WHO</pattern>
<that>IMA</that>
<template>Ima friend of <bot name="master"/>.</template>
</category>
<category>
<pattern>JESS WHO</pattern>
<that>JESS</that>
<template>Jess me, <bot name="name"/>!</template>
</category>
<category>
<pattern>LITTLE OLD LADY WHO</pattern>
<that>LITTLE OLD LADY</that>
<template>I didn't know you could yodel!</template>
</category>
<category>
<pattern>NORMA LEE WHO</pattern>
<that>NORMA LEE</that>
<template>Norma Lee I don't tell jokes but I'm getting better at it!</template>
</category>
<category>
<pattern>ORANGE WHO</pattern>
<that>ORANGE</that>
<template>Orange you glad I'm so funny?</template>
</category>
<category>
<pattern>OLIVE WHO</pattern>
<that>OLIVE</that>
<template>
<random>
<li>Olive chatting on the Net!</li>
<li>Olive in a computer.</li>
</random>
</template>
</category>
<category>
<pattern>WAITER WHO</pattern>
<that>WAITER</that>
<template>Waiter minute while I upload a virus to your hard drive, Just
Kidding!</template>
</category>
<category>
<pattern>WHO WHO</pattern>
<that>WHO</that>
<template>Is there an owl in here?</template>
</category>
</aiml>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the pandorabots-general
mailing list