Re: How to include weather
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 34511
interpreted = N
texte = 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.aspOn 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/
Associated Messages, from the most recent to the oldest:
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.aspOn 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/
Dale
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:
taxTotal (1997)
Tax Moratorium Expiring (2001)
Robert Minor duplicate mail (1997)
Storing Data (2002)
Free Code Snippet: DHTL News Ticker for WebDNA (2003)
ZIP Codes (2003)
WebDNA on MacTel (Intel) (2006)
TPC Connect (1999)
setlineitem quantity to zero? (2000)
Time Tracking (2003)
[cart] not being interpreted inside [founditems] (1997)
Renumbering/changing sort order of lineitems (2004)
Extract my page name (2006)
WebCat2b15MacPlugin - showing [math] (1997)
[WebDNA] Help me install (WebDNA 7 fastcgi install on Lion 10.7.3) (2012)
Re:Help name our technology! (1997)
Counting files (1998)
Search all Fields in a db (1997)
international time (1997)
PIXO support (1997)