Fork me on GitHub

Watch

GitHub Core

Show your support for Zikula! Sign up at Github account and watch the Core project!




GitHub Modules

Forum Activity

Forum feed

» Visit forum | » View latest posts

weather module  Bottom

  • I'm using postnuke 7.1
    downloaded weather, pn_weather, and weather2 from this site and passions.de
    missing images and it's not pulling info from MSNBC
    AND
    the drop down menu doesn't work, gives me an error.
    This was simple to install so it's driving me a bit nuts
    see it here
    http://www.footballhangout.com/modules.php?op=modload&name=weather&file=index

    What am I doing wrong? Maybe just a link to a sure working zip file?
    appreciate the help
  • the one that pulls data from MSNBC does not always succeed, so I get broken images and -18C too, I dont think its a problem with the module though.
  • I needed a module that would let me have the forcast for a given city to display on my site.
    I couldnt find what I wanted so I wrote a perl script that grabs weather from noaa, They are free and always available.

    But I had a hard time rendering the decoded output so I went searching and found this site:
    http://www.rtccom.net/~thammer/phorecast-0.1.tgz/

    Phorecast is great it isnt graphical or a PN module but it does put the weather on your page for a given city.. I just put the script in a core/php block and it worked great!

    there is also phpwheather 2.12 that will do this for more citys and you can customize the out put as you wish. both would be a great canidate for a PN module if the right people worked on it...
  • mils,
    OK you've got me confused. Do I grab Phorecast or it isn't for postnuke so ...don't?
    I think I saw that noaa stuff in a post/article on this site. Ya had me confused there too. From my perspective(if it helps you to hear another) when you start mentioning these other formats I'm leery and paranoid I'll install that and mess up other things because it's not compatible.So in my opinion a rewrite of your post/article would probably get ya a ton of new users. My 2 cents, worth a little less
  • chAM

    the one that pulls data from MSNBC does not always succeed, so I get broken images and -18C too, I dont think its a problem with the module though.

    Nice to see didn't work so smoothly for someone else.
    what do you think it's a problem with then?
  • I think it could be with MSNBC connection. Most of the time it works fine for me.
  • The problem is that MSNBC has changed from the traditional 4 letter combination to a six letter combination to determine the city. Weather is set up to use the 4 letter. Or something like that.
  • But in this case how come it works most of the time?

    bri:

    Quote

    I'm using postnuke 7.1

    I would strongly advise you to upgrade to the latest ver BTW
  • I used PHP us weather and got something working
    links here if ya wanna see
    http://www.footballhangout.com/index.php?module=Static_Docs&func=view&f=weather.html
  • tobyc, got a link to those new codes? the one with the script is still to the 4 character ones
  • Sorry all but it isn't six but eight letter designation. And you can get them from MSNBC just follow the local weather site and find your city or the ones that you are interested in. Take a look at the link and you will find the 8 letter city code at the end of the URL.

    The URL for my hometown is http://www.msnbc.com/news/wea_front.asp?tab=&ta=y&inst=n&action=a&pos=&cty=CAXX0333 So the last eight characters CAXX0333 are the city code.

    The URL for NY, NY is http://www.msnbc.com/news/wea_front.asp?tab=&ta=y&inst=n&action=a&pos=&cty=USNY0996 So it's code would be USNY0966

This list is based on users active over the last 60 minutes.