<?xml version="1.0" encoding="ISO-8859-1"?>

<aiml version="1.0">

<!-- Free software (c) 2001 ALICE AI Foundation -->
<!-- This program is open source code released under -->
<!-- the terms of the GNU General Public License -->
<!-- as published by the Free Software Foundation. -->

<meta name="author" content="Jon Baer"/>
<meta name="language" content="en"/>

<category>
<pattern>TEST GET SEARCH</pattern>
<template>
<get name="search"/>
</template>
</category>

<category>
<pattern>SEARCH FOR *</pattern>
<template>
<think><set name="search"><star/></set></think>
Which search engine would you like to use? Yahoo, Yahoo Auctions, or Ebay.
</template>
</category>

<category>
<pattern>YAHOO</pattern>
<that>WHICH SEARCH ENGINE WOULD YOU LIKE TO USE *</that>
<template>
<srai>SEARCH YAHOO FOR <get name="search"/></srai>
</template>
</category>

<category>
<pattern>YAHOO AUCTIONS</pattern>
<that>WHICH SEARCH ENGINE WOULD YOU LIKE TO USE *</that>
<template>
<srai>SEARCH YAHOO AUCTIONS FOR <get name="search"/></srai>
</template>
</category>

<category>
<pattern>EBAY</pattern>
<that>WHICH SEARCH ENGINE WOULD YOU LIKE TO USE *</that>
<template>
<srai>SEARCH EBAY FOR <get name="search"/></srai>
</template>
</category>

<category>
<pattern>SEARCH YAHOO FOR *</pattern>
<template>
<display target="target1">http://search.yahoo.com/bin/search?p=<star/></display> <srai>WEBDONE</srai>
</template>
</category>

<category>
<pattern>SEARCH YAHOO AUCTIONS FOR *</pattern>
<template>
<display target="target1">
<![CDATA[http://search.auctions.yahoo.com/search/auc?p=<star/>&alocale=0us&acc=us]]>
</display>
 <srai>WEBDONE</srai>
</template>
</category>

<category>
<pattern>SEARCH EBAY FOR *</pattern>
<template>
<display target="target1">
<![CDATA[http://search.ebay.com/search/search.dll?MfcISAPICommand=GetResult&ht=1&SortProperty=MetaEndSort&query=<star/>]]>
</display>
 <srai>WEBDONE</srai>
</template>
</category>

<category>
<pattern>WEBDONE</pattern>
<template>
There you go.
</template>
</category>

<category>
<pattern>SEARCH THE WEB FOR *</pattern>
<template>
<srai>SEARCH FOR <star/></srai>
</template>
</category>

</aiml>
