The search form on the Chapters/Indigo site has been updated, so I've
updated the DQSD search (attached). BTW, I don't have any objections to
changing the name of this search since it is actually a word. Maybe
"chapt" would be more appropriate?
Sarah
--
Sarah Sweeney
Web Developer/Programmer
http://sarah.designshift.com/
<search function="chap">
<name>Chapters/Indigo</name>
<category>Shopping</category>
<contributor>Sarah Sweeney</contributor>
<link>http://www.chapters.indigo.ca/Search.asp</link>
<email>[EMAIL PROTECTED]</email>
<description>
Search books, music, videos, DVDs, and gifts at Chapters.Indigo.ca. Switches:<br/>
<table class="helpboxDescTable">
<tr><td>/books</td><td> - </td><td>Books</td></tr>
<tr><td>/music</td><td> - </td><td>Music</td></tr>
<tr><td>/dvd</td><td> - </td><td>DVDs</td></tr>
<tr><td>/video</td><td> - </td><td>VHS Videos</td></tr>
<tr><td>/gifts</td><td> - </td><td>Gifts</td></tr>
</table>
<div class="helpboxDescLabels">Examples:</div>
<table class="helpboxDescTable">
<tr><td>chap ender's game</td></tr>
<tr><td>chap the matrix /dvd</td></tr>
</table>
</description>
<form name="chapf"
method="get"
action="http://www.chapters.indigo.ca/search.asp">
<input type="hidden" name="Lang" value="en" />
<input type="hidden" name="mscssid" value="" />
<input type="hidden" name="WSID" value="" />
<input type="hidden" name="Ntt" value="" />
<input type="hidden" name="Section" value="books" />
</form>
<script><![CDATA[
function chap(q)
{
if( nullArgs("chap", q) )
return;
var args = parseArgs(q, "books, music, dvd, video, gifts, all");
if ( args.switches.length > 0 )
{
switch( args.switches[0].name )
{
case "books":
document.chapf.Section.value = "Books";
break;
case "music":
document.chapf.Section.value = "Music";
break;
case "dvd":
document.chapf.Section.value = "DVD";
break;
case "video":
document.chapf.Section.value = "Video";
break;
case "gifts":
document.chapf.Section.value = "Gifts";
break;
case "all":
document.chapf.Section.value = "Books,Video,DVD,Gifts";
break;
default:
document.chapf.Section.value = "Books";
break;
}
}
document.chapf.Ntt.value = args.q;
submitForm(chapf);
}
]]></script>
<copyright>
The following applies if this file is included and distributed with Dave's Quick Search Deskbar:
Copyright (c) 2002 David Bau; Distributed under the terms of the GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
</copyright>
<created_by>
This search file was initially created on 05/18/04 at 10:55:49
by Dave's Quick Search Deskbar Search Wizard version 1.2,
Copyright (c) 2002 Glenn Carr; Distributed under the terms of the GNU General Public License, Version 2
</created_by>
</search>