Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

I need help

2 views
Skip to first unread message

Al

unread,
Nov 20, 2002, 12:49:03 AM11/20/02
to
Hello.

I am trying to locate a piece of website that allows me to:

1) Capture a specific HTML page every 10 minutes, then;
2) Convert it to Text, then;
3) Send it to an email address.

Anyone know of such a site?

Cheers,

Alex

Slippery Sam

unread,
Nov 20, 2002, 1:41:11 AM11/20/02
to

Just out of interest, why would you want to do that?

Sam


Slippery Sam

unread,
Nov 20, 2002, 1:54:27 AM11/20/02
to

bronzed_bodies#at#yahoo.com.au

unread,
Nov 20, 2002, 2:10:55 AM11/20/02
to

So that he can receive the contents of a webpage via email every ten
minutes.

Been slipping and hitting that head of yours a little too often, it
would seem.

bronzed_bodies#at#yahoo.com.au

unread,
Nov 20, 2002, 2:10:56 AM11/20/02
to

No, but if you've got a permanent connection (e.g. ADSL), you could
simply schedule a batch file/script to run a series of small
command-line programs to do this every ten minutes.

You'd want a command line HTTP transfer program, to save the page to a
file.
Then an HTML "cleaner" program to remove the HTML tags.
Then a command-line email program (Blat for Windows, sendmail for
*nix) to mail the file.

Otherwise you could even write a web-based script to do it quite
easily (it would be a dozen lines in something like PHP).

If you're having trouble tracking down programs to do it, just let me
know and I'll find something.

Slippery Sam

unread,
Nov 20, 2002, 2:44:45 AM11/20/02
to
Bronzed Bodies (bronzed_bodies#at#yahoo.com.au) wrote:
>>> Anyone know of such a site?
>>
>> Just out of interest, why would you want to do that?
>
> So that he can receive the contents of a webpage via email every ten
> minutes.

And why does he want to do that, sir?

Sam


forrestd

unread,
Nov 20, 2002, 3:34:09 AM11/20/02
to
I've developed a number of these scripts. If you have a Windows machine and
IE it can be achieved using a simple script running off your machine. Email
me if you want a sample script.


"Al" <pobox...@yahoo.com.au> wrote in message
news:3b7e5b59.02111...@posting.google.com...

bronzed_bodies#at#yahoo.com.au

unread,
Nov 20, 2002, 5:51:46 AM11/20/02
to

So that every ten minutes he can read the contents of a webpage via
email.

gregh

unread,
Nov 20, 2002, 6:37:33 AM11/20/02
to

"forrestd" <duncan...@optushome.com.au> wrote in message
news:3ddb48e3$0$22327$afc3...@news.optusnet.com.au...

> I've developed a number of these scripts. If you have a Windows machine
and
> IE it can be achieved using a simple script running off your machine.
Email
> me if you want a sample script.
>

Why cant you just post it in here?


--
Friar Tuck was always the butt of Spoonerism Jokes from the Merry Men!


forrestd

unread,
Nov 20, 2002, 7:48:46 AM11/20/02
to
ok, here you go,

you will probably need the lastest ServerXMLHTTP component from microsoft
(free download) or perhaps that comes with IE6 thesedays, not sure.

Following is a simple vbs function to download a web page, of course if you
want to parse the contents that involves more coding.. also if you want to
email it somewhere, try the aspemail component (free too, i think).

' -------------------------------------------------------------------

Function getXML(sURL, sTargetFile)
'
' get article
'
Dim objXML, xml, oStream

Set objXML = CreateObject("MSXML2.ServerXMLHTTP")

'login..
objXML.Open "GET", sURL, False
objXML.Send

Set oStream = CreateObject("ADODB.Stream")
oStream.Type = 1 ' binary
oStream.Mode = 3 ' read/write
oStream.open
oStream.Write objXML.responseBody
oStream.SaveToFile sTargetFile, 2 'overwrite
oStream.Close

'clean up
Set oStream = Nothing

End Function

' -------------------------------------------------------------------

"gregh" <postmaster@[127.0.0.1]> wrote in message
news:4uKC9.30417$Sr6.8...@ozemail.com.au...

Al

unread,
Nov 20, 2002, 9:18:08 PM11/20/02
to
Hello.

> ok, here you go,
...et al.

Thanks for all your help.

Best advice this side of Hong Kong!

Al.

0 new messages