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
Just out of interest, why would you want to do that?
Sam
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.
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.
And why does he want to do that, sir?
Sam
"Al" <pobox...@yahoo.com.au> wrote in message
news:3b7e5b59.02111...@posting.google.com...
So that every ten minutes he can read the contents of a webpage via
email.
Why cant you just post it in here?
--
Friar Tuck was always the butt of Spoonerism Jokes from the Merry Men!
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...
> ok, here you go,
...et al.
Thanks for all your help.
Best advice this side of Hong Kong!
Al.