Doing so for non-personal use violates the Terms of Service contract:
----http://www.weather.com/legal/
The site contains copyrighted material, trademarks and other proprietary
information, including, without limitation, text, software, photos, video,
graphics, music and sound, and the contents of the site are copyrighted
under the United States copyright laws. You may not modify, publish,
transmit, display, participate in the transfer or sale, create derivative
works, or in any way exploit, any of the content, in whole or in part. You
may download one copy of any copyrighted material for your personal,
non-commercial home use only. Except as otherwise expressly permitted under
copyright law, no copying, redistribution, retransmission, publication or
commercial exploitation of downloaded material will be permitted without the
express written permission of TWC and the copyright owner.
----
However you can use CFHTTP to get the HTML source, then use Regular
Expressions to get the digits between
<B>Temp:</B></FONT></TD>
<TD WIDTH=5><IMG WIDTH=5 HEIGHT=1
SRC="http://image.weather.com/pics/blank.gif" ALT=""></TD>
<TD WIDTH=90><FONT FACE="Arial, Helvetica, Chicago, Sans Serif"
SIZE=2>
and
°F</FONT></TD>
-S
___________________________________________
Sean Brown <[EMAIL PROTECTED]>
http://www.westcar.com/
"Either way you get your dog back"
-Anonymous
___________________________________________
-----Original Message-----
From: Computer Simplistics Suppoer [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 08, 2000 11:41 PM
To: [EMAIL PROTECTED]
Subject: Re: CFHTTP
Well, I am having a bear of a time with this. All I simply want to do is
grab a little weather info off their page, but can't find a way to do it. I
have looked at the previous custom tags in the gallery, but none seem to do
what I want. The major problem is that the info on their site is not
separated by any special character, so I can't set the start and end points
for the grab from the CFHTTP very easily. Anyone see an easy way to grab say
just the temp off this page?
http://www.weather.com/weather/us/zips/91350.html
I just want whatever digits which are between the phrase "Temp:" and the
degree sign. The problem is that there is a whole crapload of code in the
source between those two strings. Any help?
Scott Berry
--
Computer Simplistics Support
"Simple Solutions for a Complex World"
http://www.c-s.net
661-296-4315
----- Original Message -----
From: "Leong Yew" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 08, 2000 8:15 PM
Subject: RE: CFHTTP
> I believe it's the file in its entirety. If you want to get rid of the
stuff
> nested in the <head></head> tags there's a custom tag in the Allaire
gallery
> that parses this for you.
>
> -----Original Message-----
> From: Computer Simplistics Suppoer [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 09, 2000 12:16 PM
> To: [EMAIL PROTECTED]
> Subject: CFHTTP
>
>
> I am using CFHTTP to write a little grabber to get info from the
weather.com
> site. Does CFHTTP read the source or viewable text? In other words, if I
> refrence the CFHTTP.FileContent variable am I working with only the
viewable
> text from that page or the actual source code?
>
> Scott Berry
> --
> Computer Simplistics Support
> "Simple Solutions for a Complex World"
> http://www.c-s.net
> 661-296-4315
>
>
>
>
> --------------------------------------------------------------------------
--
> --
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
>
> --------------------------------------------------------------------------
----
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>
----------------------------------------------------------------------------
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.