Well of course ripping copyrighted material from the BBC would be illegal
;), but academically speaking, 

grab the page using CFHTTP, then look for the patterns in the HTML that
represent the data within their page that you want, then get that relevant
using normal string functions (Find, FindNoCase, Left, Right, Mid etc) or
you can be nifty and use Regular Expressions for greater accuracy (REFind,
REFindNoCase etc etc)

Regular Expressions are quite complex though, and to the first time user
appear quite horrific. Don't worry though, once you get into them you'll
find that they're as powerful as they are ugly to behold.

I suggest reading Uncle Ben's chapter on them in his advanced book.

-------------------------------------------------------
Rich Wild
Senior Web Designer

-------------------------------------------------------
e-mango.com ltd                      Tel: 01202 587 400
Lansdowne Place                      Fax: 01202 587 401
17 Holdenhurst Road
Bournemouth                   Mailto:[EMAIL PROTECTED]
BH8 8EW, UK                      http://www.e-mango.com
-------------------------------------------------------
This message may contain information which is legally
privileged and/or confidential.  If you are not the
intended recipient, you are hereby notified that any
unauthorised disclosure, copying, distribution or use
of this information is strictly prohibited. Such
notification notwithstanding, any comments, opinions,
information or conclusions expressed in this message
are those of the originator, not of e-mango.com ltd,
unless otherwise explicitly and independently indicated
by an authorised representative of e-mango.com ltd.
-------------------------------------------------------




> -----Original Message-----
> From: Nick Betts [mailto:[EMAIL PROTECTED]]
> Sent: 16 February 2001 13:48
> To: CF-Talk
> Subject: RE: weather feeds
> 
> 
> Sorry, pardon my ignorance, some RegEx?
> Can you explain further Rich.
> 
> -----Original Message-----
> From: Rich Wild [mailto:[EMAIL PROTECTED]]
> Sent: 16 February 2001 13:38
> To: CF-Talk
> Subject: RE: weather feeds
> 
> 
> > Does any one know of any good UK weather feeds..the cheaper the
> > better...FREE would be good!
> 
> Yeah, CFHTTP grab the BBC weather page and do some RegEx on it...
> 
> ooo, did I say that out loud? ;)
> 
> -------------------------------------------------------
> Rich Wild
> Senior Web Designer
> 
> -------------------------------------------------------
> e-mango.com ltd                      Tel: 01202 587 400
> Lansdowne Place                      Fax: 01202 587 401
> 17 Holdenhurst Road
> Bournemouth                   Mailto:[EMAIL PROTECTED]
> BH8 8EW, UK                      http://www.e-mango.com
> -------------------------------------------------------
> This message may contain information which is legally
> privileged and/or confidential.  If you are not the
> intended recipient, you are hereby notified that any
> unauthorised disclosure, copying, distribution or use
> of this information is strictly prohibited. Such
> notification notwithstanding, any comments, opinions,
> information or conclusions expressed in this message
> are those of the originator, not of e-mango.com ltd,
> unless otherwise explicitly and independently indicated
> by an authorised representative of e-mango.com ltd.
> -------------------------------------------------------
> 
> 
> 
> 
> > -----Original Message-----
> > From: Nick Betts [mailto:[EMAIL PROTECTED]]
> > Sent: 16 February 2001 13:37
> > To: CF-Talk
> > Subject: RE: weather feeds
> > 
> > 
> > Does any one know of any good UK weather feeds..the cheaper the
> > better...FREE would be good!
> > 
> > Nick Betts.
> > 
> > -----Original Message-----
> > From: Michael [mailto:[EMAIL PROTECTED]]
> > Sent: 16 February 2001 14:16
> > To: CF-Talk
> > Subject: Re: weather feeds
> > 
> > 
> > why not the weather channel its FREE,
> > 
> > 
> > 
> > My favorite 4 letters
> > 
> > 
> > 
> > 
> > 
> > <[EMAIL PROTECTED]> wrote in message
> > 59FFE563442BD411B54B00902751BB8D01766334@EXCHSERV1">news:59FFE563442BD411B54B00902751BB8D01766334@EXCHSERV1...
> > > Also look at http://www.weatherguys.com/
> > >
> > > You can insert their image generation code into your site 
> > to pull ZIP-code
> > > based images of various weather reports.
> > >
> > > --Doug
> > >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, February 08, 2001 8:18 PM
> > > To: CF-Talk
> > > Subject: RE: weather feeds
> > >
> > >
> > > If memory serves proppery, wx.com (which is CF based) 
> > provides a WDDX
> > feed.
> > > This is your best "put it in my look-and-feel" solution, 
> but I never
> > looked
> > > into the pricing of it.  There are several other options, 
> > including some
> > > custom tags that make use of the CFHTTP, but I don't know 
> the legal
> > > implications of those tags.
> > >
> > > Personally I'm using the stickers provided by wunderground.com.
> > >
> > > HTH
> > > Hatton Humphrey
> > >
> > > -----Original Message-----
> > > Hi,
> > >
> > > I need to find out how easy/hard expensive/inexpensive a 
> > weather feed
> > > for a web page is, and if there are any cf-centric solutions.
> > >
> > > TIA,
> > >
> > > Douglas Jordon
> > >
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to