[alicebot-style] AIML help needed
Anne Kootstra
alicebot-style@list.alicebot.org
Mon, 14 Mar 2005 23:11:09 +0100
OK, so your using Program D.
This should work. You mention that this doesn't have the desired effect. Can
you please tell us what result you do get? You also say that the CONNECT
category doesn't work. Can you give us some more information on that?
As ever,
Anne Kootstra
Founding Member AIML.info, Main developer Program E
http://www.aiml.info http://sourceforge.net/projects/programe
e-mail & msn messenger:
anne@aiml.info
________________________________________
Van: deepti damodar chhawsaria [mailto:deepti_cummins@rediffmail.com]
Verzonden: maandag 14 maart 2005 8:24
Aan: alicebot-style@list.alicebot.org
CC: anne@aiml.info
Onderwerp: [alicebot-style] AIML help needed
Hi Anne!
I am using Program D, rather I am hosting it from the Pandorabots site.
>Hi!
>
>In the code below:
>1. 1st category does not give me the desired output.
>2. 2nd "CONNECT" helps to display the text when connection is made. But
even
>this is not working.
>
>Can you please tell me what mistake I am doing.
>
><?xml version="1.0" encoding="UTF-8"?>
><aiml version="1.0">
><category>
><pattern>WHAT IS THE DATE</pattern>
><template>Today is <javascript>
><![CDATA[
> var t = new Date();
> var m = t.getMonth();
> var d = t.getDate();
> var dow = t.getDay();
> var y = t.getFullYear();
> switch (dow) {
> case 0:
> dow = "Sunday";
> break;
> case 1:
> dow = "Monday";
> break;
> case 2:
> dow = "Tuesday";
> break;
> case 3:
> dow = "Wednesday";
> break;
> case 4:
> dow = "Thursday";
> break;
> case 5:
> dow = "Friday";
> break;
> case 6:
> dow = "Saturday";
> break;
> }
>dow ;
>]]>
></javascript>
></template>
></category>
>
><category>
><pattern>CONNECT</pattern>
><template>
>Hello. How are you?
></template>
></category>
></aiml>
>
>
>Regards,
>Deepti
>
>
>
Regards,
Deepti
On Sun, 13 Mar 2005 alicebot-style-request@list.alicebot.org wrote :
>Send alicebot-style mailing list submissions to
> alicebot-style@list.alicebot.org
>
>To subscribe or unsubscribe via the World Wide Web, visit
> http://list.alicebot.org/mailman/listinfo/alicebot-style
>or, via email, send a message with subject or body 'help' to
> alicebot-style-request@list.alicebot.org
>
>You can reach the person managing the list at
> alicebot-style-admin@list.alicebot.org
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of alicebot-style digest..."
>
>
>Today's Topics:
>
> 1. RE: Re: alicebot-style digest, Vol 1 #118 - 2 msgs (Anne Kootstra)
>
>--__--__--
>
>Message: 1
> From: "Anne Kootstra" <anne@aiml.info>
>To: <alicebot-style@list.alicebot.org>
>Subject: RE: [alicebot-style] Re: alicebot-style digest, Vol 1 #118 - 2
msgs
>Date: Sat, 12 Mar 2005 18:02:53 +0100
>Reply-To: alicebot-style@list.alicebot.org
>
>
>To start off, a few pointers regarding your emails when posting on the
>alicebot.org mailing lists.
>
>1. Do no reply on the batch email received from the mailing list. For one
>the hidden information will prevent it to be grouped correctly.
>2. When posting your message, make sure you describe your problem in the
>subject line.
>3. Please do not send any messages in HTML. Especially send messages that
>require images to be downloaded from the internet. I like my privacy do no
>appreciate it being compromised by something like that.
>
>Regarding your problem. Could you tell us which AIML interpreter you're
>using. For example: Program D, Program E, J-Alice, Pandorabots. Also which
>output the category generates does also give us information about what your
>problem is about.
>
>In general I can say that the category contains the server side javascript
>tag which works best using Program D. Program E has support for it, however
>it requires additional software and needs to be enabled. I am not aware of
>other AIML interpreter/hosters that support it.
>
>As ever,
>
>Anne Kootstra
>Founding Member AIML.info, Main developer Program E
>http://www.aiml.info http://sourceforge.net/projects/programe
>
>e-mail & msn messenger:
>anne@aiml.info
>
>________________________________________
>Van: deepti damodar chhawsaria [mailto:deepti_cummins@rediffmail.com]
>Verzonden: vrijdag 11 maart 2005 9:09
>Aan: alicebot-style@list.alicebot.org
>Onderwerp: [alicebot-style] Re: alicebot-style digest, Vol 1 #118 - 2 msgs
>
>Hi!
>
>In the code below:
>1. 1st category does not give me the desired output.
>2. 2nd "CONNECT" helps to display the text when connection is made. But
even
>this is not working.
>
>Can you please tell me what mistake I am doing.
>
><?xml version="1.0" encoding="UTF-8"?>
><aiml version="1.0">
><category>
><pattern>WHAT IS THE DATE</pattern>
><template>Today is <javascript>
><![CDATA[
> var t = new Date();
> var m = t.getMonth();
> var d = t.getDate();
> var dow = t.getDay();
> var y = t.getFullYear();
> switch (dow) {
> case 0:
> dow = "Sunday";
> break;
> case 1:
> dow = "Monday";
> break;
> case 2:
> dow = "Tuesday";
> break;
> case 3:
> dow = "Wednesday";
> break;
> case 4:
> dow = "Thursday";
> break;
> case 5:
> dow = "Friday";
> break;
> case 6:
> dow = "Saturday";
> break;
> }
>dow ;
>]]>
></javascript>
></template>
></category>
>
><category>
><pattern>CONNECT</pattern>
><template>
>Hello. How are you?
></template>
></category>
></aiml>
>
>
>Regards,
>Deepti
>
>
>
>
>
>
>--__--__--
>
>_______________________________________________
>alicebot-style mailing list
>alicebot-style@list.alicebot.org
>http://list.alicebot.org/mailman/listinfo/alicebot-style
>
>
>End of alicebot-style Digest