sign in | join about | help | sitemap
Connecting Tech Pros Worldwide
Chops's Avatar

Text lookup in remote url ?


Question posted by: Chops (Guest) on July 19th, 2005 06:34 AM
Hi All.

This has got me stumped

Is there a way that we can search a remote web page for a specific line of
text?
We can check if a specific URL exist using the "MSXML2.ServerXMLHTTP" object
witch works just fine, but is there anyway we can search the page for text
using this same object.

Thanks for the help

Joe


3 Answers Posted
Ken Schaefer's Avatar
Guest - n/a Posts
#2: Re: Text lookup in remote url ?

You can use that component to issue a GET request for the page, and analyse
the response (ie search through the text that's returned, presumably between
the <body></body> tags)

Cheers
Ken

"Chops" <chops@icon.co.za> wrote in message
news:3f0d09ea$0$227@hades.is.co.za...
: Hi All.
:
: This has got me stumped
:
: Is there a way that we can search a remote web page for a specific line of
: text?
: We can check if a specific URL exist using the "MSXML2.ServerXMLHTTP"
object
: witch works just fine, but is there anyway we can search the page for text
: using this same object.
:
: Thanks for the help
:
: Joe
:
:


Chops's Avatar
Guest - n/a Posts
#3: Re: Text lookup in remote url ?

Thanks Ken

Do you know of anywhere i can get an example bit of code?


Regards

Joe


"Chops" <chops@icon.co.za> wrote in message
news:3f0d09ea$0$227@hades.is.co.za...[color=blue]
> Hi All.
>
> This has got me stumped
>
> Is there a way that we can search a remote web page for a specific line of
> text?
> We can check if a specific URL exist using the "MSXML2.ServerXMLHTTP"[/color]
object[color=blue]
> witch works just fine, but is there anyway we can search the page for text
> using this same object.
>
> Thanks for the help
>
> Joe
>
>[/color]


Ken Schaefer's Avatar
Guest - n/a Posts
#4: Re: Text lookup in remote url ?

Try google.com

(eg use ServerXMLHTTP withASP)

Cheers
Ken

"Chops" <chops@icon.co.za> wrote in message
news:3f0d29d2$0$230@hades.is.co.za...
: Thanks Ken
:
: Do you know of anywhere i can get an example bit of code?
:
:
: Regards
:
: Joe
:
:
: "Chops" <chops@icon.co.za> wrote in message
: news:3f0d09ea$0$227@hades.is.co.za...
: > Hi All.
: >
: > This has got me stumped
: >
: > Is there a way that we can search a remote web page for a specific line
of
: > text?
: > We can check if a specific URL exist using the "MSXML2.ServerXMLHTTP"
: object
: > witch works just fine, but is there anyway we can search the page for
text
: > using this same object.
: >
: > Thanks for the help
: >
: > Joe
: >
: >
:
:


 
Not the answer you were looking for? Post your question . . .
196,998 members ready to help you find a solution.
Join Bytes.com

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 196,998 network members.
Post your question now . . .
It's fast and it's free

Popular Articles

Top Community Contributors