I've just updated myWeather.cfc so it can go on CFC Zone. I've removed the need for the application scope as to not break encapsulation. Though be warned, if you hit the site too many times you will be banned. I've also included an example .cfm as well.
One question which was asked was by Rob (and i hope i doesnt mind me repeating here) :o)
"Can you make the CFC so that it accepts the location to do the weather lookup as an argument?"
I had a look, and i dont think it can, basically from what I can tell will not accept the location as a lookup argument mainly because the search facility on the site is for US only. Plus a search for "Portsmouth" will return four results:
Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
There are no comments for this entry.
[Add Comment]