[alicebot-style] AIML help needed

deepti damodar chhawsaria alicebot-style@list.alicebot.org
14 Mar 2005 07:24:19 -0000


 This is a multipart mime message


--Next_1110785059---0-203.199.83.245-16106
Content-type: text/plain;
	charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi Anne!=0A=0AI am using Program D, rather I am hosting it from the Pandora=
bots site.=0A=0A>Hi!=0A>=0A>In the code below:=0A>1. 1st category does not =
give me the desired output.=0A>2. 2nd "CONNECT" helps to display the text w=
hen connection is made. But even=0A>this is not working.=0A>=0A>Can you ple=
ase tell me what mistake I am doing.=0A>=0A><?xml version=3D"1.0" encoding=
=3D"UTF-8"?>=0A><aiml version=3D"1.0">=0A><category>=0A><pattern>WHAT IS TH=
E DATE</pattern>=0A><template>Today is <javascript>=0A><![CDATA[=0A>     va=
r t =3D new Date();=0A>     var m =3D t.getMonth();=0A>     var d =3D t.get=
Date();=0A>     var dow =3D t.getDay();=0A>     var y =3D t.getFullYear();=
=0A>     switch (dow) {=0A>     case 0:=0A>           dow =3D "Sunday";=0A>=
           break;=0A>     case 1:=0A>           dow =3D "Monday";=0A>      =
     break;=0A>     case 2:=0A>           dow =3D "Tuesday";=0A>           =
break;=0A>     case 3:=0A>           dow =3D "Wednesday";=0A>           bre=
ak;=0A>     case 4:=0A>           dow =3D "Thursday";=0A>           break;=
=0A>     case 5:=0A>           dow =3D "Friday";=0A>           break;=0A>  =
   case 6:=0A>           dow =3D "Saturday";=0A>           break;=0A>     }=
=0A>dow ;=0A>]]>=0A></javascript>=0A></template>=0A></category>=0A>=0A><cat=
egory>=0A><pattern>CONNECT</pattern>=0A><template>=0A>Hello. How are you?=
=0A></template>=0A></category>=0A></aiml>=0A>=0A>=0A>Regards,=0A>Deepti=0A>=
=0A>=0A>=0A=0A=0A=0A=0ARegards,=0ADeepti=0A=0A=0A=0A=0AOn Sun, 13 Mar 2005 =
alicebot-style-request@list.alicebot.org wrote :=0A>Send alicebot-style mai=
ling list submissions to=0A> 	alicebot-style@list.alicebot.org=0A>=0A>To su=
bscribe or unsubscribe via the World Wide Web, visit=0A> 	http://list.alice=
bot.org/mailman/listinfo/alicebot-style=0A>or, via email, send a message wi=
th subject or body 'help' to=0A> 	alicebot-style-request@list.alicebot.org=
=0A>=0A>You can reach the person managing the list at=0A> 	alicebot-style-a=
dmin@list.alicebot.org=0A>=0A>When replying, please edit your Subject line =
so it is more specific=0A>than "Re: Contents of alicebot-style digest..."=
=0A>=0A>=0A>Today's Topics:=0A>=0A>    1. RE: Re: alicebot-style digest, Vo=
l 1 #118 - 2 msgs (Anne Kootstra)=0A>=0A>--__--__--=0A>=0A>Message: 1=0A> F=
rom: "Anne Kootstra" <anne@aiml.info>=0A>To: <alicebot-style@list.alicebot.=
org>=0A>Subject: RE: [alicebot-style] Re: alicebot-style digest, Vol 1 #118=
 - 2 msgs=0A>Date: Sat, 12 Mar 2005 18:02:53 +0100=0A>Reply-To: alicebot-st=
yle@list.alicebot.org=0A>=0A>=0A>To start off, a few pointers regarding you=
r emails when posting on the=0A>alicebot.org mailing lists.=0A>=0A>1. Do no=
 reply on the batch email received from the mailing list. For one=0A>the hi=
dden information will prevent it to be grouped correctly.=0A>2. When postin=
g your message, make sure you describe your problem in the=0A>subject line.=
=0A>3. Please do not send any messages in HTML. Especially send messages th=
at=0A>require images to be downloaded from the internet. I like my privacy =
do no=0A>appreciate it being compromised by something like that.=0A>=0A>Reg=
arding your problem. Could you tell us which AIML interpreter you're=0A>usi=
ng. For example: Program D, Program E, J-Alice, Pandorabots. Also which=0A>=
output the category generates does also give us information about what your=
=0A>problem is about.=0A>=0A>In general I can say that the category contain=
s the server side javascript=0A>tag which works best using Program D. Progr=
am E has support for it, however=0A>it requires additional software and nee=
ds to be enabled. I am not aware of=0A>other AIML interpreter/hosters that =
support it.=0A>=0A>As ever,=0A>=0A>Anne Kootstra=0A>Founding Member AIML.in=
fo, Main developer Program E=0A>http://www.aiml.info=A0=A0=A0 =A0=A0 http:/=
/sourceforge.net/projects/programe=0A>=0A>e-mail & msn messenger:=0A>anne@a=
iml.info=0A>=0A>________________________________________=0A>Van: deepti dam=
odar chhawsaria [mailto:deepti_cummins@rediffmail.com]=0A>Verzonden: vrijda=
g 11 maart 2005 9:09=0A>Aan: alicebot-style@list.alicebot.org=0A>Onderwerp:=
 [alicebot-style] Re: alicebot-style digest, Vol 1 #118 - 2 msgs=0A>=0A>Hi!=
=0A>=0A>In the code below:=0A>1. 1st category does not give me the desired =
output.=0A>2. 2nd "CONNECT" helps to display the text when connection is ma=
de. But even=0A>this is not working.=0A>=0A>Can you please tell me what mis=
take I am doing.=0A>=0A><?xml version=3D"1.0" encoding=3D"UTF-8"?>=0A><aiml=
 version=3D"1.0">=0A><category>=0A><pattern>WHAT IS THE DATE</pattern>=0A><=
template>Today is <javascript>=0A><![CDATA[=0A> =A0 =A0 var t =3D new Date(=
);=0A> =A0 =A0 var m =3D t.getMonth();=0A> =A0 =A0 var d =3D t.getDate();=
=0A> =A0 =A0 var dow =3D t.getDay();=0A> =A0 =A0 var y =3D t.getFullYear();=
=0A> =A0 =A0 switch (dow) {=0A> =A0 =A0 case 0:=0A> =A0 =A0 =A0 =A0 =A0 dow=
 =3D "Sunday";=0A> =A0 =A0 =A0 =A0 =A0 break;=0A> =A0 =A0 case 1:=0A> =A0 =
=A0 =A0 =A0 =A0 dow =3D "Monday";=0A> =A0 =A0 =A0 =A0 =A0 break;=0A> =A0 =
=A0 case 2:=0A> =A0 =A0 =A0 =A0 =A0 dow =3D "Tuesday";=0A> =A0 =A0 =A0 =A0 =
=A0 break;=0A> =A0 =A0 case 3:=0A> =A0 =A0 =A0 =A0 =A0 dow =3D "Wednesday";=
=0A> =A0 =A0 =A0 =A0 =A0 break;=0A> =A0 =A0 case 4:=0A> =A0 =A0 =A0 =A0 =A0=
 dow =3D "Thursday";=0A> =A0 =A0 =A0 =A0 =A0 break;=0A> =A0 =A0 case 5:=0A>=
 =A0 =A0 =A0 =A0 =A0 dow =3D "Friday";=0A> =A0 =A0 =A0 =A0 =A0 break;=0A> =
=A0 =A0 case 6:=0A> =A0 =A0 =A0 =A0 =A0 dow =3D "Saturday";=0A> =A0 =A0 =A0=
 =A0 =A0 break;=0A> =A0 =A0 }=0A>dow ;=0A>]]>=0A></javascript>=0A></templat=
e>=0A></category>=0A>=0A><category>=0A><pattern>CONNECT</pattern>=0A><templ=
ate>=0A>Hello. How are you?=0A></template>=0A></category>=0A></aiml>=0A>=0A=
>=0A>Regards,=0A>Deepti=0A>=0A>=0A>=0A>=0A>=0A>=0A>--__--__--=0A>=0A>______=
_________________________________________=0A>alicebot-style mailing list=0A=
>alicebot-style@list.alicebot.org=0A>http://list.alicebot.org/mailman/listi=
nfo/alicebot-style=0A>=0A>=0A>End of alicebot-style Digest=0A
--Next_1110785059---0-203.199.83.245-16106
Content-type: text/html;
	charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<P>=0AHi Anne!<BR>=0A<BR>=0AI am using Program D, rather I am hosting it fr=
om the Pandorabots site.<BR>=0A<BR>=0A&gt;Hi!<BR>=0A&gt;<BR>=0A&gt;In the c=
ode below:<BR>=0A&gt;1. 1st category does not give me the desired output.<B=
R>=0A&gt;2. 2nd &quot;CONNECT&quot; helps to display the text when connecti=
on is made. But even<BR>=0A&gt;this is not working.<BR>=0A&gt;<BR>=0A&gt;Ca=
n you please tell me what mistake I am doing.<BR>=0A&gt;<BR>=0A&gt;&lt;?xml=
 version=3D&quot;1.0&quot; encoding=3D&quot;UTF-8&quot;?&gt;<BR>=0A&gt;&lt;=
aiml version=3D&quot;1.0&quot;&gt;<BR>=0A&gt;&lt;category&gt;<BR>=0A&gt;&lt=
;pattern&gt;WHAT IS THE DATE&lt;/pattern&gt;<BR>=0A&gt;&lt;template&gt;Toda=
y is &lt;javascript&gt;<BR>=0A&gt;&lt;![CDATA[<BR>=0A&gt;&nbsp; &nbsp;  var=
 t =3D new Date();<BR>=0A&gt;&nbsp; &nbsp;  var m =3D t.getMonth();<BR>=0A&=
gt;&nbsp; &nbsp;  var d =3D t.getDate();<BR>=0A&gt;&nbsp; &nbsp;  var dow =
=3D t.getDay();<BR>=0A&gt;&nbsp; &nbsp;  var y =3D t.getFullYear();<BR>=0A&=
gt;&nbsp; &nbsp;  switch (dow) {<BR>=0A&gt;&nbsp; &nbsp;  case 0:<BR>=0A&gt=
;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  dow =3D &quot;Sunday&quot;;<BR>=0A&gt;=
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  break;<BR>=0A&gt;&nbsp; &nbsp;  case 1:=
<BR>=0A&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  dow =3D &quot;Monday&quot;;<=
BR>=0A&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  break;<BR>=0A&gt;&nbsp; &nbsp=
;  case 2:<BR>=0A&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  dow =3D &quot;Tues=
day&quot;;<BR>=0A&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  break;<BR>=0A&gt;&=
nbsp; &nbsp;  case 3:<BR>=0A&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  dow =3D=
 &quot;Wednesday&quot;;<BR>=0A&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  break=
;<BR>=0A&gt;&nbsp; &nbsp;  case 4:<BR>=0A&gt;&nbsp; &nbsp; &nbsp; &nbsp; &n=
bsp;  dow =3D &quot;Thursday&quot;;<BR>=0A&gt;&nbsp; &nbsp; &nbsp; &nbsp; &=
nbsp;  break;<BR>=0A&gt;&nbsp; &nbsp;  case 5:<BR>=0A&gt;&nbsp; &nbsp; &nbs=
p; &nbsp; &nbsp;  dow =3D &quot;Friday&quot;;<BR>=0A&gt;&nbsp; &nbsp; &nbsp=
; &nbsp; &nbsp;  break;<BR>=0A&gt;&nbsp; &nbsp;  case 6:<BR>=0A&gt;&nbsp; &=
nbsp; &nbsp; &nbsp; &nbsp;  dow =3D &quot;Saturday&quot;;<BR>=0A&gt;&nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp;  break;<BR>=0A&gt;&nbsp; &nbsp;  }<BR>=0A&gt;do=
w ;<BR>=0A&gt;]]&gt;<BR>=0A&gt;&lt;/javascript&gt;<BR>=0A&gt;&lt;/template&=
gt;<BR>=0A&gt;&lt;/category&gt;<BR>=0A&gt;<BR>=0A&gt;&lt;category&gt;<BR>=
=0A&gt;&lt;pattern&gt;CONNECT&lt;/pattern&gt;<BR>=0A&gt;&lt;template&gt;<BR=
>=0A&gt;Hello. How are you?<BR>=0A&gt;&lt;/template&gt;<BR>=0A&gt;&lt;/cate=
gory&gt;<BR>=0A&gt;&lt;/aiml&gt;<BR>=0A&gt;<BR>=0A&gt;<BR>=0A&gt;Regards,<B=
R>=0A&gt;Deepti<BR>=0A&gt;<BR>=0A&gt;<BR>=0A&gt;<BR>=0A<BR>=0A<BR>=0A<BR>=
=0A<BR>=0ARegards,<BR>=0ADeepti<BR>=0A<BR>=0A<BR>=0A<BR>=0A<BR>=0AOn Sun, 1=
3 Mar 2005 alicebot-style-request@list.alicebot.org wrote :<BR>=0A&gt;Send =
alicebot-style mailing list submissions to<BR>=0A&gt; &nbsp; &nbsp; &nbsp;a=
licebot-style@list.alicebot.org<BR>=0A&gt;<BR>=0A&gt;To subscribe or unsubs=
cribe via the World Wide Web, visit<BR>=0A&gt; &nbsp; &nbsp; &nbsp;http://l=
ist.alicebot.org/mailman/listinfo/alicebot-style<BR>=0A&gt;or, via email, s=
end a message with subject or body 'help' to<BR>=0A&gt; &nbsp; &nbsp; &nbsp=
;alicebot-style-request@list.alicebot.org<BR>=0A&gt;<BR>=0A&gt;You can reac=
h the person managing the list at<BR>=0A&gt; &nbsp; &nbsp; &nbsp;alicebot-s=
tyle-admin@list.alicebot.org<BR>=0A&gt;<BR>=0A&gt;When replying, please edi=
t your Subject line so it is more specific<BR>=0A&gt;than &quot;Re: Content=
s of alicebot-style digest...&quot;<BR>=0A&gt;<BR>=0A&gt;<BR>=0A&gt;Today's=
 Topics:<BR>=0A&gt;<BR>=0A&gt;&nbsp; &nbsp; 1. RE: Re: alicebot-style diges=
t, Vol 1 #118 - 2 msgs (Anne Kootstra)<BR>=0A&gt;<BR>=0A&gt;--__--__--<BR>=
=0A&gt;<BR>=0A&gt;Message: 1<BR>=0A&gt; From: &quot;Anne Kootstra&quot; &lt=
;anne@aiml.info&gt;<BR>=0A&gt;To: &lt;alicebot-style@list.alicebot.org&gt;<=
BR>=0A&gt;Subject: RE: [alicebot-style] Re: alicebot-style digest, Vol 1 #1=
18 - 2 msgs<BR>=0A&gt;Date: Sat, 12 Mar 2005 18:02:53 +0100<BR>=0A&gt;Reply=
-To: alicebot-style@list.alicebot.org<BR>=0A&gt;<BR>=0A&gt;<BR>=0A&gt;To st=
art off, a few pointers regarding your emails when posting on the<BR>=0A&gt=
;alicebot.org mailing lists.<BR>=0A&gt;<BR>=0A&gt;1. Do no reply on the bat=
ch email received from the mailing list. For one<BR>=0A&gt;the hidden infor=
mation will prevent it to be grouped correctly.<BR>=0A&gt;2. When posting y=
our message, make sure you describe your problem in the<BR>=0A&gt;subject l=
ine.<BR>=0A&gt;3. Please do not send any messages in HTML. Especially send =
messages that<BR>=0A&gt;require images to be downloaded from the internet. =
I like my privacy do no<BR>=0A&gt;appreciate it being compromised by someth=
ing like that.<BR>=0A&gt;<BR>=0A&gt;Regarding your problem. Could you tell =
us which AIML interpreter you're<BR>=0A&gt;using. For example: Program D, P=
rogram E, J-Alice, Pandorabots. Also which<BR>=0A&gt;output the category ge=
nerates does also give us information about what your<BR>=0A&gt;problem is =
about.<BR>=0A&gt;<BR>=0A&gt;In general I can say that the category contains=
 the server side javascript<BR>=0A&gt;tag which works best using Program D.=
 Program E has support for it, however<BR>=0A&gt;it requires additional sof=
tware and needs to be enabled. I am not aware of<BR>=0A&gt;other AIML inter=
preter/hosters that support it.<BR>=0A&gt;<BR>=0A&gt;As ever,<BR>=0A&gt;<BR=
>=0A&gt;Anne Kootstra<BR>=0A&gt;Founding Member AIML.info, Main developer P=
rogram E<BR>=0A&gt;http://www.aiml.info&nbsp; &nbsp; &nbsp;  http://sourcef=
orge.net/projects/programe<BR>=0A&gt;<BR>=0A&gt;e-mail &amp; msn messenger:=
<BR>=0A&gt;anne@aiml.info<BR>=0A&gt;<BR>=0A&gt;____________________________=
____________<BR>=0A&gt;Van: deepti damodar chhawsaria [mailto:deepti_cummin=
s@rediffmail.com]<BR>=0A&gt;Verzonden: vrijdag 11 maart 2005 9:09<BR>=0A&gt=
;Aan: alicebot-style@list.alicebot.org<BR>=0A&gt;Onderwerp: [alicebot-style=
] Re: alicebot-style digest, Vol 1 #118 - 2 msgs<BR>=0A&gt;<BR>=0A&gt;Hi!<B=
R>=0A&gt;<BR>=0A&gt;In the code below:<BR>=0A&gt;1. 1st category does not g=
ive me the desired output.<BR>=0A&gt;2. 2nd &quot;CONNECT&quot; helps to di=
splay the text when connection is made. But even<BR>=0A&gt;this is not work=
ing.<BR>=0A&gt;<BR>=0A&gt;Can you please tell me what mistake I am doing.<B=
R>=0A&gt;<BR>=0A&gt;&lt;?xml version=3D&quot;1.0&quot; encoding=3D&quot;UTF=
-8&quot;?&gt;<BR>=0A&gt;&lt;aiml version=3D&quot;1.0&quot;&gt;<BR>=0A&gt;&l=
t;category&gt;<BR>=0A&gt;&lt;pattern&gt;WHAT IS THE DATE&lt;/pattern&gt;<BR=
>=0A&gt;&lt;template&gt;Today is &lt;javascript&gt;<BR>=0A&gt;&lt;![CDATA[<=
BR>=0A&gt;&nbsp; &nbsp;  var t =3D new Date();<BR>=0A&gt;&nbsp; &nbsp;  var=
 m =3D t.getMonth();<BR>=0A&gt;&nbsp; &nbsp;  var d =3D t.getDate();<BR>=0A=
&gt;&nbsp; &nbsp;  var dow =3D t.getDay();<BR>=0A&gt;&nbsp; &nbsp;  var y =
=3D t.getFullYear();<BR>=0A&gt;&nbsp; &nbsp;  switch (dow) {<BR>=0A&gt;&nbs=
p; &nbsp;  case 0:<BR>=0A&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  dow =3D &q=
uot;Sunday&quot;;<BR>=0A&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  break;<BR>=
=0A&gt;&nbsp; &nbsp;  case 1:<BR>=0A&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
 dow =3D &quot;Monday&quot;;<BR>=0A&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  =
break;<BR>=0A&gt;&nbsp; &nbsp;  case 2:<BR>=0A&gt;&nbsp; &nbsp; &nbsp; &nbs=
p; &nbsp;  dow =3D &quot;Tuesday&quot;;<BR>=0A&gt;&nbsp; &nbsp; &nbsp; &nbs=
p; &nbsp;  break;<BR>=0A&gt;&nbsp; &nbsp;  case 3:<BR>=0A&gt;&nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp;  dow =3D &quot;Wednesday&quot;;<BR>=0A&gt;&nbsp; &nbsp=
; &nbsp; &nbsp; &nbsp;  break;<BR>=0A&gt;&nbsp; &nbsp;  case 4:<BR>=0A&gt;&=
nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  dow =3D &quot;Thursday&quot;;<BR>=0A&gt;=
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  break;<BR>=0A&gt;&nbsp; &nbsp;  case 5:=
<BR>=0A&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  dow =3D &quot;Friday&quot;;<=
BR>=0A&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  break;<BR>=0A&gt;&nbsp; &nbsp=
;  case 6:<BR>=0A&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  dow =3D &quot;Satu=
rday&quot;;<BR>=0A&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  break;<BR>=0A&gt;=
&nbsp; &nbsp;  }<BR>=0A&gt;dow ;<BR>=0A&gt;]]&gt;<BR>=0A&gt;&lt;/javascript=
&gt;<BR>=0A&gt;&lt;/template&gt;<BR>=0A&gt;&lt;/category&gt;<BR>=0A&gt;<BR>=
=0A&gt;&lt;category&gt;<BR>=0A&gt;&lt;pattern&gt;CONNECT&lt;/pattern&gt;<BR=
>=0A&gt;&lt;template&gt;<BR>=0A&gt;Hello. How are you?<BR>=0A&gt;&lt;/templ=
ate&gt;<BR>=0A&gt;&lt;/category&gt;<BR>=0A&gt;&lt;/aiml&gt;<BR>=0A&gt;<BR>=
=0A&gt;<BR>=0A&gt;Regards,<BR>=0A&gt;Deepti<BR>=0A&gt;<BR>=0A&gt;<BR>=0A&gt=
;<BR>=0A&gt;<BR>=0A&gt;<BR>=0A&gt;<BR>=0A&gt;--__--__--<BR>=0A&gt;<BR>=0A&g=
t;_______________________________________________<BR>=0A&gt;alicebot-style =
mailing list<BR>=0A&gt;alicebot-style@list.alicebot.org<BR>=0A&gt;http://li=
st.alicebot.org/mailman/listinfo/alicebot-style<BR>=0A&gt;<BR>=0A&gt;<BR>=
=0A&gt;End of alicebot-style Digest<BR>=0A=0A</P>=0A<br><br>=0A<A target=3D=
"_blank" HREF=3D"http://clients.rediff.com/signature/track_sig.asp"><IMG SR=
C=3D"http://ads.rediff.com/RealMedia/ads/adstream_nx.cgi/www.rediffmail.com=
/inbox.htm@Bottom" BORDER=3D0 VSPACE=3D0 HSPACE=3D0></a>=0A
--Next_1110785059---0-203.199.83.245-16106--