[Javascript] Content Retrieval

Matt Barton javascript at mattbarton.org
Wed Aug 11 03:56:37 CDT 2004


Morning.

You could use the xmlhttp activeX control to do this client-side in IE, but
whenever I've had to do this before, I've found a server-side approach much
more useful (no browser compatibility issues).  I have used curl on a *nix
platform to get the webpage and then extract the required strings - and that
worked perfectly.  But for that you'd need a *nix server - I'm not sure what
you would do if your server was a windows machine... (perhaps a server-side
implementation of xml-http???)

Do you have scope for a server-side approach, or is it a client side
solution you want?  If it's server-side, what is the platform?

Matt

----- Original Message ----- 
From: "Tim Makins" <spindrift at oceanfree.net>
To: "[JavaScript List]" <javascript at LaTech.edu>
Sent: Wednesday, August 11, 2004 9:45 AM
Subject: [Javascript] Content Retrieval


> There is a webpage on the web that has dynamic content. On this page, two
> text strings always appear in the same place. I would like to retrieve
these
> text strings and place them in a variable on my own page. Any ideas ?
>
> Tim in Ireland.
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
>
> -- 
> This email has been verified as Virus free
> Virus Protection and more available at http://www.plus.net




More information about the Javascript mailing list