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
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
:
:
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]
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
: >
: >
:
:
|
|
|
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.
Top Community Contributors
|