The search I created for 'TV Tome' web siteback in July of 2003 no longer works as their site was swallowed up by TV.com.'tvtm.xml' should be removedfrom the distribution and the CVS. I have created a newsearchwhich uses TV.comand Iam submitting it here for your use. Feel free to modify itto make it better.
Steve
search function=tv
nameTV.com Test/name
categoryEntertainment/category
contributorSteve Poirier/contributor
linkhttp://www.tv.com/search.php/link
description
Search TV.com for programs, people or both
div class=helpboxDescLabelsSwitches:/div
table class=helpboxDescTable
trtd/program/tdtd - /tdtdSearch by program (default)/td/tr
trtd/person/tdtd - /tdtdSearch by actor/td/tr
trtd/all/tdtd - /tdtdSearch by program and/or actor/td/tr
/table
div class=helpboxDescLabelsExamples:/div
table class=helpboxDescTable
trtdtv csi/td/tr
trtdtv bob crane /person/td/tr
trtdtv seinfeld /all/td/tr
/table
/description
form name=tvf
method=get
action=http://www.tv.com/search.php;
input type=hidden name=type value=11 /
input type=hidden name=stype value=program /
input type=hidden name=qs value= /
/form
script![CDATA[
function tv(q)
{
if( nullArgs(tv, q) )
return;
var args = parseArgs(q, program, person, all);
if ( args.switches.length 0 )
{
switch( args.switches[0].name )
{
case program:
document.tvf.stype.value = program;
break;
case person:
document.tvf.stype.value = person;
break;
case all:
document.tvf.stype.value = all;
break;
default:
document.tvf.stype.value = program;
break;
}
}
document.tvf.qs.value = args.q;
submitForm(tvf);
}
]]/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 04/05/06 at 20:53:45
by Dave's Quick Search Deskbar Search Wizard version 1.3,
Copyright (c) 2002 Glenn Carr; Distributed under the terms of the GNU General Public License, Version 2
/created_by
/search