« Return to Thread: Newbie and a first question
hello Wolden :)
to send a question to the bot, you can use an escaped url like this :http://www.pandorabots.com/pandora/talk-xml?botid=id_of_your_bot&input=escaped_sentence_to_send&custid=or use POST form
the answer will be an xml document
containing :
<result status="0" botid="the_id_of_your_bot" custid="the_id_given_to_the_person_who_is_sending_message">
<input>original sentence</input>
<that>bot answer</that>
</result>
the : "the_id_given_to_the_person_who_is_sending_message" is usefull to keep track of the conversation (in my sl c# bot, im assigning this value to the avatar uuid key in a saved xml file)
here is a code to test in lsl if you need
http://www.sparticarroll.com/Pandora+Chatbot.ashx
regards2009/2/5 vdn <vdn@...>
Hi
I'm new here and noob in AIML but not in web languages as Xhtml or Php.
Spend two days trying to test and understand how to catch the value of
the bot response in order to build a Php script doing this : till the
response to the question is not 'foo' do this. If 'foo' do that (change
iframe content to hide bot interface)... That means I have to know for
each answer if 'foo' or not.
Tried different solutions (curl_setopt) but nothing seem to work.
Any idea or solution? Any help welcome.
Thanks
Wolden Avro
_______________________________________________
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: Newbie and a first question
| Free embeddable forum powered by Nabble | Forum Help |