« Return to Thread: Passing name with talk-xml?

Re: Passing name with talk-xml?

by Dr. Rich Wallace :: Rate this Message:

Reply to Author | View in Thread

Use a category like

<category>
<pattern>MY NAME IS *</pattern>
<template>Nice to meet you, <set name="name"><star/></set>.
</template>
</category>



> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
>   <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
> </head>
> <body bgcolor="#ffffff" text="#000000">
> OK... but then how do I save the name on the server side?  People are
> talking to my bot through an external program which is sending input to
> the bot via the API... so I'm not sure how to save their names.<br>
> <br>
> Dr. Rich Wallace wrote:
> <blockquote
>  cite="mid:52505.127.0.0.1.1201717807.squirrel@..."
>  type="cite">
>   <pre wrap="">Hi Lee, all of the predicates e.g. <get
> name="name"/>, <set
> name="name">Joe</set> are saved on the server-side.  You should
> only need
> to post the customer id custid.
> Rich
>
>   </pre>
>   <blockquote type="cite">
>     <pre wrap="">Hi, I'm using the talk-xml API to interact with my
> Pandorabot, and I was
> wondering how one would pass it the name of the person chatting, so it
> can be used in conversation.  As of now, anything that normally includes
> the name (such as "I'm glad you liked it, Nancy") just comes back blank.
>
> I tried tacking on "&name=Nancy" to the end of the calling URL but it
> doesn't have any effect.  Anyone know how to do this?
> _______________________________________________
> This is the pandorabots-general mailing list
> To Post, reply to <a class="moz-txt-link-abbreviated"
> href="mailto:pandorabots-general@...">pandorabots-general@...</a>
> Unsubscribe and change preferences at
> <a class="moz-txt-link-freetext"
> href="http://list.pandorabots.com/mailman/listinfo/pandorabots-general">http://list.pandorabots.com/mailman/listinfo/pandorabots-general</a>
> Learn netiquette at <a class="moz-txt-link-freetext"
> href="http://www.dtcc.edu/cs/rfc1855.html">http://www.dtcc.edu/cs/rfc1855.html</a>
> Learn to read at <a class="moz-txt-link-freetext"
> href="http://www.literacy.org/">http://www.literacy.org/</a>
>
>     </pre>
>   </blockquote>
>   <pre wrap=""><!---->
> _______________________________________________
> This is the pandorabots-general mailing list
> To Post, reply to <a class="moz-txt-link-abbreviated"
> href="mailto:pandorabots-general@...">pandorabots-general@...</a>
> Unsubscribe and change preferences at <a class="moz-txt-link-freetext"
> href="http://list.pandorabots.com/mailman/listinfo/pandorabots-general">http://list.pandorabots.com/mailman/listinfo/pandorabots-general</a>
> Learn netiquette at <a class="moz-txt-link-freetext"
> href="http://www.dtcc.edu/cs/rfc1855.html">http://www.dtcc.edu/cs/rfc1855.html</a>
> Learn to read at <a class="moz-txt-link-freetext"
> href="http://www.literacy.org/">http://www.literacy.org/</a>
>
>   </pre>
> </blockquote>
> <br>
> </body>
> </html>
> _______________________________________________
> This is the pandorabots-general mailing list
> To Post, reply to pandorabots-general@...
> Unsubscribe and change preferences at
> http://list.pandorabots.com/mailman/listinfo/pandorabots-general
> Learn netiquette at http://www.dtcc.edu/cs/rfc1855.html
> Learn to read at http://www.literacy.org/

_______________________________________________
This is the pandorabots-general mailing list
To Post, reply to pandorabots-general@...
Unsubscribe and change preferences at http://list.pandorabots.com/mailman/listinfo/pandorabots-general
Learn netiquette at http://www.dtcc.edu/cs/rfc1855.html
Learn to read at http://www.literacy.org/

 « Return to Thread: Passing name with talk-xml?