Re: How to include weather
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 34525
interpreted = N
texte = Tried weather guys and there data is not that easy to work with.Jeff Logan>Jeff,>>How about looking at a few of the links on that site. They give a >link to http://weatherguys.com/ And on this site they offer code to >allow you to get the current conditions based on a zipcode. I >imagine you could modify it to allow your users to enter the zip >code they want.>>http://weatherguys.com/downloadweather.asp>>On Tuesday, July 11, 2000, Jeff Logan
wrote:> >What to try making this code for me old buddy?> >> >Jeff> >> >> >>I never tried this but what if you had a trigger that had a [redirec> >>ftp://weather.noaa.gov/data/summaries/weather/wa.txt] in it. Where> >>would the file download to?> >>> >>Then, you could have a [waitforfile] that would move it to the right> >>spot on your webserver and then use [include file=wa.txt] to load it.> >>> >>I have used [redirect] to a file on an ftp server before, but never> >>in a trigger.> >>> >>- Charles> >>> >> >Thanks Ken that is what I thought.> >> >> >> >Jeff Logan> >> >> >> >> >> >> >> >> >>I want to include the file at> >> >> >>ftp://weather.noaa.gov/data/summaries/weather/wa.txt> >> >> >>> >> >> >>the wa.txt in my web site how would I do this?> >> >> >> >> >> >[TCPConnect] shows an example of grabbing the text from a URL from> >> >> >another site. The example shows how to get the home page url /, but> >> >> >you can add more to your URL to get a different page.> >> >>> >> >>Except for one thing -- TCPConnect does not work with ftp url's, and> >> >>the url above is an ftp url. So unless there's a web server on this> >> >>box that can serve this page via http, TCPConnect is not going to> >> >>work for you.> >> >>> >> >>And if that is the case here, I would suggest downloading the file to> >> >>your server and including it in your page via a standard [include> >> > >file=wa.txt] tag.> >> >>> >>> >>-------------------------------------------------------------> >>This message is sent to you because you are subscribed to> >> the mailing list .> >>To unsubscribe, E-mail to: > >>To switch to the DIGEST mode, E-mail to> >>> >>Web Archive of this list is at: http://search.smithmicro.com/> >> >> >-------------------------------------------------------------> >This message is sent to you because you are subscribed to> > the mailing list .> >To unsubscribe, E-mail to: > >To switch to the DIGEST mode, E-mail to >> >Web Archive of this list is at: http://search.smithmicro.com/> >>>------------------------------------------------------------->This message is sent to you because you are subscribed to> the mailing list .>To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to >>Web Archive of this list is at: http://search.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Tried weather guys and there data is not that easy to work with.Jeff Logan>Jeff,>>How about looking at a few of the links on that site. They give a >link to http://weatherguys.com/ And on this site they offer code to >allow you to get the current conditions based on a zipcode. I >imagine you could modify it to allow your users to enter the zip >code they want.>>http://weatherguys.com/downloadweather.asp>>On Tuesday, July 11, 2000, Jeff Logan wrote:> >What to try making this code for me old buddy?> >> >Jeff> >> >> >>I never tried this but what if you had a trigger that had a [redirec> >>ftp://weather.noaa.gov/data/summaries/weather/wa.txt] in it. Where> >>would the file download to?> >>> >>Then, you could have a [waitforfile] that would move it to the right> >>spot on your webserver and then use [include file=wa.txt] to load it.> >>> >>I have used [redirect] to a file on an ftp server before, but never> >>in a trigger.> >>> >>- Charles> >>> >> >Thanks Ken that is what I thought.> >> >> >> >Jeff Logan> >> >> >> >> >> >> >> >> >>I want to include the file at> >> >> >>ftp://weather.noaa.gov/data/summaries/weather/wa.txt> >> >> >>> >> >> >>the wa.txt in my web site how would I do this?> >> >> >> >> >> >[tcpconnect] shows an example of grabbing the text from a URL from> >> >> >another site. The example shows how to get the home page url /, but> >> >> >you can add more to your URL to get a different page.> >> >>> >> >>Except for one thing -- TCPConnect does not work with ftp url's, and> >> >>the url above is an ftp url. So unless there's a web server on this> >> >>box that can serve this page via http, TCPConnect is not going to> >> >>work for you.> >> >>> >> >>And if that is the case here, I would suggest downloading the file to> >> >>your server and including it in your page via a standard [include> >> > >file=wa.txt] tag.> >> >>> >>> >>-------------------------------------------------------------> >>This message is sent to you because you are subscribed to> >> the mailing list .> >>To unsubscribe, E-mail to: > >>To switch to the DIGEST mode, E-mail to> >>> >>Web Archive of this list is at: http://search.smithmicro.com/> >> >> >-------------------------------------------------------------> >This message is sent to you because you are subscribed to> > the mailing list .> >To unsubscribe, E-mail to: > >To switch to the DIGEST mode, E-mail to >> >Web Archive of this list is at: http://search.smithmicro.com/> >>>------------------------------------------------------------->This message is sent to you because you are subscribed to> the mailing list .>To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to >>Web Archive of this list is at: http://search.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Jeff Logan
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Country & Ship-to address & other fields ? (1997)
Plugin or CGI or both (1997)
Search bug. Help (2002)
adding time (2003)
Cookies and webcat (1997)
Encyption mail was Suggestions for Topics ... (1998)
Fwd: Problems with Webcatalog Plug-in (1997)
Lookup Notfound (1998)
Where is f2? (1997)
[WebDNA] New Webdna framework ! ... (addresses some initial concerns... (2012)
[FileInfo] strangeness (1998)
searchable list archive (1997)
HEADER AND FOOTER (1997)
New Guestbook Source (1997)
Closing db's & caching templates (was: Shippingcalculations) (1997)
Pass a form (2003)
Looking for WebSTAR bomb at startup (2000)
WebDNA vs PHP (2003)
Sku numbers (1997)
Numbers and Numbers and Me (1999)