Re: Access to public PAIR

From: Richard Rouse <rjdrouse_at_patentinformatics.com>
Date: Thu, 04 Aug 2005 09:39:01 -0700

Whoops, I forgot to send this to the listserver:

Hi Stephen,

Here's a simple perl script that can do it for you at the command line:
I set up servers to do this through my PatLAMP system
(http://patentinformatics.fdns.net/patlamp/index.php), but for all you
windows users you can do it through ActivePerl -
http://www.activestate.com/Products/ActivePerl/.

Here is the script:

#########################Simple Pair Retrieval Script
############################333
#!/usr/bin/perl
use LWP::Simple qw($ua get); #You use this to get the data

# This gets US5968782
$request =
"http://portal.uspto.gov/external/portal/!ut/p/_s.7_0_A/7_0_CH/.cmd/ad/.ar/sa.getBib/.c/6_0_69/.ce/7_0_1ET/.p/5_0_18L/.d/1?selectedTab=detailstab&isSubmitted=isSubmitted&dosnum=08978404#7_0_1ET";


$pair = get $request;

print $pair;
exit;
######################End of Script###############

Let's call this file pair.pl. Here is how you run it.

perl pair.pl > US5968782.application.data.html

Then you can open this file US5968782.application.data.html in a
regular browser. I like to parse this stuff and load it into a database.
You can automate this pretty easy too by manipulating this mess:

portal.uspto.gov/external/portal/!ut/p/_s.7_0_A/7_0_CH/.cmd/ad/.ar/sa.getBib/.c/6_0_69/.ce/7_0_1ET/.p/5_0_18L/.d/0?selectedTab=detailstab&isSubmitted=isSubmitted&dosnum=08978404#7_0_1ET

So using this technique you can build your own patent watcher tool or
whatever you need to do with this info.

Have fun.

Richard


Stephen Adams wrote:

> Further to my earlier posting, I will add the following details:
> a) I am trying to use Netscape 7.1 to access PAIR, which I think is
> related to Firefox / Mozilla which a number of people have said works
> better than IE. I get the same result with IE or Netscape.
> b) The specific problem is that the system does not respond at all. I
> can get as far as the opening page at
> <http://portal.uspto.gov/external/portal/pair>, use the drop down menu
> to specify (e.g.) a patent number, enter a number and click Submit, at
> which point absolutely nothing happens - no attempt to load, nothing.
> c) I have not compared what I find on the office PC vs. the results on
> a home dialup connection - watch this space.
> d) I am not aware of having been blacklisted by the USPTO for bulk
> downloads, and would be rather annoyed if I have been because I am not
> responsible for any bulk downloads.
> e) My antivirus is Norton 2005, coupled with Norton Personal Firewall.
> f) I will look into whether my ISP might be blocking the site, but I
> would have thought this is unlikely, as I have no problem reaching
> other public parts of the USPTO site, including the text search engine.
> Thanks for your help - any further suggestions welcomed.
> Stephen
>


Received on Mon Aug 08 2005 - 15:26:28

This archive was generated by hypermail 2.2.0 : Sat Nov 21 2009 - 07:01:10