If anyone's really stuck on this, it's pretty simple.
1) Go to weather.com
2) Do a search for the city you're looking for (eg, London, England)
3) Once you get to it's forecast page, click on the "printable forecast"
link under the "10 Day forecast" heading (lower left).
4) Look at the URL - this is the page you want to get.  In London's case,
it's:
http://www.weather.com/weather/local/UKXX0085

BTW, my thanks to Robert - your example got me interested in CFHTTP, and in
about 5 minutes, I managed to throw together a short routine that extracts
the weather for Vancouver, BC from www.theweathernetwork.com.  It's a bit
more complicated, since I'm stripping out the ad banner, and left and right
menu bars, but it's still basically only 4 lines of code.

I've only been working with CF for about 2 months, and I keep being amazed
at how simple things are...

Dirk


> -----Original Message-----
> From: John McCosker [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 07, 2002 12:20 PM
> To: CF-Talk
> Subject: RE: Intranet apps
> 
> 
> >><cfset attributes.zipcode = "32714">
> 
> What if its the UK, or somewhere else that the US?
> 
> -----Original Message-----
> From: Robert Everland [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 07, 2002 8:05 PM
> To: CF-Talk
> Subject: RE: Intranet apps
> 
> 
> Weather
> <cfset attributes.zipcode = "32714">
> 
> <CFHTTP
> URL="http://www.weather.com/weather/tendayprint/#Attributes.ZipCode#";
>         METHOD="GET"
>         PORT="80"
>         RESOLVEURL="true">
>               
> <cfset OutPut = Replace(CFHTTP.FileContent, "HREF=""/",
> "HREF=""http://www.weather.com/";, "ALL")>   
> 
> 
> <CFOUTPUT>#OutPut#</CFOUTPUT>
> 
> Robert Everland III
> Dixon Ticonderoga
> Web Developer Extraordinaire
> 
> -----Original Message-----
> From: Bruce Holm [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 07, 2002 3:00 PM
> To: CF-Talk
> Subject: Re: Intranet apps
> 
> 
> I was looking for a conference room signup app only.  This would be a
> corporate wide, web browser accessible application.  Outlook requires 
> LDA
> P I
> believe and our company does not plan to run or support it. 
> (Don't ask 
> wh
> y)
> 
> For weather I'm aware of AccuWeather data feed in XML format but not 
> sure
> what they would charge.  I was hoping for a free app I could 
> integrate 
> in
> to
> the home page that shows current weather conditions for a local city, 
> lik
> e
> MyExite or MyLycos offers.
> 
> 
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Thursday, March 07, 2002 11:37 AM
> Subject: RE: Intranet apps
> 
> 
> > here's a few ideas:
> >
> > Conference room scheduler:  Do you use Outlook?  If so, make the
> > conference
> > room a person, and have people "invite" the conference room to
> > meetings.
> > Give an admin rights to handle the conference rooms schedule.  Make 
> the
> > schedule visible to all.
> >
> > There are a few sites that have data feeds of info that you can 
> legally
> > post
> > on your own site.  You want to look at www.moreover.com.  
> You can use
> > <cfhttp> to get the info.
> >
> > Kathryn Butterly
> > Web Developer
> > Washington Mutual Finance
> > 813 632-4490
> > [EMAIL PROTECTED]
> >
> >
> > -----Original Message-----
> > From: Bruce Holm [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, March 07, 2002 2:30 PM
> > To: CF-Talk
> > Subject: Intranet apps
> >
> >
> > Does anyone know of a source for applications that can be integrated
> > into an Intranet?
> >
> > I'm looking for:
> >
> > * a conference room scheduler application
> >
> > * a weather application to display local weather conditions in real
> > time
> > in the corner of the Intranet home page
> >
> > * a stock ticker application that can be configured to only display 
> our
> >
> > company stock price movement (delayed quotes is fine) 
> during the day.
> >
> > Any help would be appreciated.
> >
> > -------------------------------------------------
> > Bruce Holm - Web Programmer
> > Lattice Semiconductor Corp.
> > [EMAIL PROTECTED]
> > -------------------------------------------------
> >
> >
> >
> > 
> 
> 
> 
______________________________________________________________________
Why Share?
  Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to