[pandorabots-general] Pandorabots and JavaScript

ceki kela jbx028 at hotmail.com
Sat Feb 24 01:25:19 PST 2007


Hi,

I tested your category. It works fine in training mode but unfortunately, 
when i call this category through the api, i receive the source code of the 
javascript.
Anyway, i will try to integrate a javascript wrapper into my dot.net project 
(something like rhino for java).

Thanks again. I think that i have now a real solution.

Johnny




>From: Websafe Studio <websafestudio at yahoo.com>
>Reply-To: pandorabots-general at list.pandorabots.com
>To: Pandorabots General Mailing List    
><pandorabots-general at list.pandorabots.com>
>Subject: [pandorabots-general] Pandorabots and JavaScript
>Date: Fri, 23 Feb 2007 13:29:56 -0800 (PST)
>
>Hi Johnny/ceki kela:
>
>Here's a very simple Pandorabots category using JavaScript. It works fine 
>in my
>Pandorabot. Perhaps it will be of some help.
>
><category>
><pattern>WHAT DAY IS IT</pattern>
><template>
><script type="text/javascript">
>var d=new Date()
>var weekday=new
>Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
>document.write("Today is " + weekday[d.getDay()] + ".")
></script>
></template></category>
>
>
>
>____________________________________________________________________________________
>Do you Yahoo!?
>Everyone is raving about the all-new Yahoo! Mail beta.
>http://new.mail.yahoo.com
>_______________________________________________
>This is the pandorabots-general mailing list
>To Post, reply to pandorabots-general at list.pandorabots.com
>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/

_________________________________________________________________
Avec Windows Live OneCare éliminez tous les virus de votre PC ! 
http://www.windowslive.fr/liveonecare/default.asp



More information about the pandorabots-general mailing list