Viewing 9 replies - 1 through 9 (of 9 total)
  • Looks like no one responded to you. First of all AM means any time between 12:01 midnight and 12:00 noon. PM is the rest of the time. Do you still need help? I was getting ready to look at modifying the plugin to display the temperature in both F and C.

    Try this plugin out:

    https://www.viper007bond.com/wordpress-plugins/weathericon/

    works really nice and does everything you want. I recommend using the beta 3 version. It works really nice.

    i agree with seanrox – however use caution – that plugin makes your site not valid HTML – some people are concerned about that

    AM = Ante Meridiem
    PM = Post Meridiem

    Ante means before (as in words like ante-natal or anterior), post means after. Meridiem means midday!

    https://en.wikipedia.org/wiki/12-hour_clock

    I’ve modified the GetWeather plugin to display 24-hour time by setting a new variable. And I also added the display of temperatures in both F and C degrees. If anyone is interested, please let me know.

    WeatherIcon looks really good, but seemed to be overkill for my needs.

    ladydelaluna: with a couple of small changes to source files, I was able to get it to validate 100%. I’ve sent the code to the plugin creator so maybe it will get added into the final release.

    however use caution – that plugin makes your site not valid HTML – some people are concerned about that

    Huh? My site has always been valid XHTML and I’ve been using WeatherIcon it for like… ever. ??

    I think the problem is just the configuration you’re using (i.e. you can’t have it output in <li>‘s if you don’t wrap it in some <ul>‘s).

    I put the code on it just like you had it in the readme or wherever, VB… I took it out because it instantly made my site invalid… ??

    Well I’m sorry, but then you obviously didn’t ’cause this should make valid code (copied from the v2.x readme):

    <ul>
    <?php WeatherIcon('station=KLFK&before=<li>&after=</li>'); ?>
    </ul>

    I take making valid code very seriously:

    https://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.viper007bond.com%2Fwordpress-plugins%2F

    ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Request to mod GetWeather plugin’ is closed to new replies.