Ai Dreams Forum

Chatbots => A.L.I.C.E (AIML) => Topic started by: cybertution on February 17, 2009, 07:19:12 am

Title: adding html,script,CDATA to web program D
Post by: cybertution on February 17, 2009, 07:19:12 am
hi i am working on web program d and also face problems in adding html and script. I tried to implement the code below and got a "error invalid argument" when I input the pattern, can anyone help me out? thanks.

Code
<category>
<pattern>WHAT IS YOUR WEBSITE</pattern>
<template>
<![CDATA[
<a target="_blank" href="http://www.whatever.com/">www.whatever.com</a>
]]>
</template>
</category>
Title: Re: adding html,script,CDATA to web program D
Post by: Freddy on February 17, 2009, 12:13:00 pm
If you don't get any response then don't forget to try over on the Ai Nexus forum.  I haven't used Program D so can be no help.  I noticed the forum software messed up the code a little so I altered your post so that it shows it verbatim.  It's often best to surround your code using the 'code' tags - it's the # button next to the quote button.
Title: Re: adding html,script,CDATA to web program D
Post by: cybertution on February 20, 2009, 07:09:47 am
Thanks for the reply, ya i have been posting questions over here and at Ai Nexus where there is active participation.