Re: Link check problem.

2001-06-06 Thread Bruno Veldeman
Bruno. - Original Message - From: "Chris Lott" <[EMAIL PROTECTED]> To: "'Bruno Veldeman'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, June 06, 2001 8:45 PM Subject: RE: Li

RE: Link check problem.

2001-06-06 Thread Chris Lott
> As I only want to know if the page is available for browsing, > what are the > result codes I should look for. 1)Explanation of response codes here: http://kbs.cs.tu-berlin.de/~jutta/ht/responses.html 2)The problem is that you need to set the user agent in your code so that it masquerades as

Re: Link check problem.

2001-06-06 Thread Pete Emerson
Bruno, I used CGI and LWP::Simple to get ESPN's AL East baseball standings table and then rewrite that table into a format that I wanted. You can see it at http://jasper.cs.yale.edu if you're curious (insert shameless plug for the Red Sox here). But that sort of thing might help you to grab th

Re: Link check problem.

2001-06-06 Thread Bruno Veldeman
Hi, back on the same thing as before: See Orig msg below. As I only want to know if the page is available for browsing, what are the result codes I should look for. and another question: If I want to read the page title and meta tags, how do I get the content, I looked into HTTP:: But got los

Re: Link check problem.

2001-06-06 Thread Timothy Kimball
Bruno Veldeman wrote: : I am doing a sub for checking if a URL is active or not. : ... : If I try it on http://www.grn.es it works ($response->code = 200) : But with http://encarta.msn.es it returns 0. ($response->code = 500) Response code 500 means an internal error on the server. Your code is