Query Results on Multiple Pages

Query Results on Multiple Pages

am 11.07.2006 00:01:22 von spencell

Hello,

I'm trying to write a script to send a query to the patent and
trademark office webpage and capture the URL's pointing to the patents
identified. The problem is that the results appear on more than one
page (like Google lists its results on multiple pages). How do I write
a script that will access the other pages?

Flynfast

Re: Query Results on Multiple Pages

am 11.07.2006 11:59:41 von Andy

On 10 Jul 2006, at 23:01, flynfast wrote:
> I'm trying to write a script to send a query to the patent and
> trademark office webpage and capture the URL's pointing to the patents
> identified. The problem is that the results appear on more than one
> page (like Google lists its results on multiple pages). How do I
> write
> a script that will access the other pages?

Find the link to the next page in the source and fetch it. Repeat.

--
Andy Armstrong, hexten.net

Re: Query Results on Multiple Pages

am 11.07.2006 20:04:16 von jjl

On Mon, 10 Jul 2006, flynfast wrote:

> I'm trying to write a script to send a query to the patent and
> trademark office webpage and capture the URL's pointing to the patents
> identified. The problem is that the results appear on more than one
> page (like Google lists its results on multiple pages). How do I write
> a script that will access the other pages?

I hereby wager 50 British pence that you'll find that on CPAN. Have you
looked for a patent search module there?

(the winner must collect his/her winnings in person ;-)


John