View the DQSD CVS repository here:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dqsd/
Update of /cvsroot/dqsd/dqsd/searches
In directory usw-pr-cvs1:/tmp/cvs-serv22338/searches
Added Files:
cp.xml
Log Message:
search for www.codeproject.com (a code sharing site) from Andreas Saurwein
--- NEW FILE: cp.xml ---
<search function="cp">
<name>CodeProject (CP)</name>
<description>
Search CodeProject for source code, samples and tutorials<br />
<div class="helpboxDescLabels">Switches:</div>
<table class="helpboxDescTable">
<tr>
<td>/a</td>
<td> - </td>
<td>Search for authors.</td>
</tr>
<tr>
<td>/t</td>
<td> - </td>
<td>Search in titles.</td>
</tr>
<tr>
<td>/d</td>
<td> - </td>
<td>Search in descriptions.</td>
</tr>
<tr>
<td>/k</td>
<td> - </td>
<td>Search for keywords.</td>
</tr>
</table>
<div class="helpboxDescLabels">Example:</div>
<table class="helpboxDescTable">
<tr>
<td>cp Saurwein /a</td>
</tr>
</table>
</description>
<category>Computers</category>
<link>http://www.codeproject.com/</link>
<contributor>Andreas Saurwein</contributor>
<form name="cpf" action="http://www.codeproject.com/info/search.asp"
method="get">
<input type="hidden" name="TARGET" value="" />
<input type="hidden" name="st" value="kw" />
</form>
<script><![CDATA[
function cp(q)
{
var args = parseArgs(q, "a, t, d, k");
if( nullArgs("cp", q) )
return false;
else if( args.switches.length == 1 )
{
switch( args.switches[0].name )
{
case "a": document.cpf.st.value = "au"; break;
case "t": document.cpf.st.value = "tt"; break;
case "d": document.cpf.st.value = "ds"; break;
case "k": document.cpf.st.value = "kw"; break;
}
document.cpf.TARGET.value = args.q;
submitForm(cpf);
}
else if( args.switches.length > 1 )
nullArgs("cp","?");
else
{
document.cpf.st.value = "kw"
document.cpf.TARGET.value = args.q;
submitForm(cpf);
}
}
]]></script>
</search>
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
DQSD-CVS mailing list
https://lists.sourceforge.net/lists/listinfo/dqsd-cvs
DQSD CVS repository:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dqsd/