Finally having realised that javascript is case
sensitive, I've managed to sort out my search
(although the coding is still a bit clunky)...
Attached is a new search patus.xml which replaces Phil
Albert's three searches pat.xml, patno.xml and
patapp.xml. This one also includes query filtering to
remove extraneous text which frequently mucks up
people's searches on patent application serial number
and publication number for published applications and
granted patents.
As far as I am aware, Phil is happy with the new
search (although your confirmation to the mailing list
would be appreciated, Phil).
James
___
Yahoo! Messenger - Communicate instantly...Ping
your friends today! Download Messenger Now
http://uk.messenger.yahoo.com/download/index.htmlsearch function=patus
nameUS Patent Search/name
categoryLegal/category
contributorJames Robertson/contributor
linkhttp://www.uspto.gov/patft/index.html/link
description
Search granted US patents and published US patent applications
div class=helpboxDescLabelsSwitches:/div
table class=helpboxDescTable
trtd/an/tdtd - application serial no/tdtd/td/tr
trtd/app/tdtd - published application/tdtd/td/tr
trtd/pn/tdtd - publication no/tdtd/td/tr
/table
Defaults to searching granted patents unless the /app switch is used
div class=helpboxDescLabelsExamples:/div
table class=helpboxDescTable
trtdpatus implement/td/tr
trtdpatus sharp implement/td/tr
trtdpatus IN/Fred AND whistle/td/tr
trtdpatus 6123456 /pn/td/tr
trtdpatus US 6,123,456 /pn/td/tr
trtdpatus 20030006772 /app /pn/td/tr
trtdpatus 09/108,452 /an/td/tr
trtdpatus 108452 /an /app/td/tr
/table
/description
//This is for a boolean search on published patent applications
//strQuery = DN/ + strQuery gives a search on patent application publication no
form name=patusf_0 ACTION=http://appft1.uspto.gov/netacgi/nph-Parser; METHOD=GET
INPUT TYPE=HIDDEN NAME=Query VALUE= /
INPUT TYPE=HIDDEN NAME=Sect1 VALUE=PTO2 /
INPUT TYPE=HIDDEN NAME=Sect2 VALUE=HITOFF /
INPUT TYPE=HIDDEN NAME=u VALUE=/netahtml/PTO/search-adv.html /
INPUT TYPE=HIDDEN NAME=r VALUE=0 /
INPUT TYPE=HIDDEN NAME=p VALUE=1 /
INPUT TYPE=HIDDEN NAME=f VALUE=S /
INPUT TYPE=HIDDEN NAME=l VALUE=50 /
INPUT TYPE=HIDDEN NAME=d VALUE=PG01 /
/form
//This is for a boolean search on granted patents
//strQuery = PN/ + strQuery gives a search on patent no
form name=patusf_1 ACTION=http://164.195.100.11/netacgi/nph-Parser; METHOD=GET
INPUT TYPE=HIDDEN NAME=Query VALUE= /
INPUT TYPE=HIDDEN NAME=Sect1 VALUE=PTO2 /
INPUT TYPE=HIDDEN NAME=Sect2 VALUE=HITOFF /
INPUT TYPE=HIDDEN NAME=u VALUE=/netahtml/search-adv.htm /
INPUT TYPE=HIDDEN NAME=r VALUE=0 /
INPUT TYPE=HIDDEN NAME=p VALUE=1 /
INPUT TYPE=HIDDEN NAME=f VALUE=S /
INPUT TYPE=HIDDEN NAME=l VALUE=50 /
INPUT TYPE=HIDDEN NAME=d VALUE=pall /
/form
script![CDATA[
function patus(q) {
if( nullArgs(patus, q) ) {
return false
}
var args = parseArgs(q, an, app, pn);
var strForm = patusf_1;
var booPN = 0;
var strQuery = args.q;
if( q == ) {
openSearchWindow(http://www.uspto.gov/patft/index.html;)
} else {
if ( args.switches.length 0 ) {
for( var j=0; jargs.switches.length; j++ ) {
switch( args.switches[j].name ) {
case an:
for (var i=0, t='', valid=0123456789; istrQuery.length; i++) {
if (valid.indexOf(strQuery.charAt(i)) != -1) {
t += strQuery.charAt(i)
}
}
strQuery = t ;
strQuery = strQuery.substring(strQuery.length-6,strQuery.length) ;
strQuery = APN/ + strQuery ;
booPN = 0 ;
break;
case app:
strForm = patusf_0;
break;
case pn:
for (var i=0, t='', valid=0123456789; istrQuery.length; i++) {
if (valid.indexOf(strQuery.charAt(i)) != -1) {
t += strQuery.charAt(i)
}
}
strQuery = t;
booPN = 1;
break;
default:
break;
}
}
}
//if we're searching on Publication Number then set the search string according to whether it's a search of granted patents or published applications
if (booPN == 1) {
if (strForm == patusf_0) {
strQuery = DN/ + strQuery;
} else {
strQuery = PN/ + strQuery;
}
}
if (strForm == patusf_0) {
var myform =