List Info

Thread: Re: Trying to activate weather and or emoticonsplug-in




Re: Trying to activate weather and or emoticonsplug-in
user name
2007-09-19 19:07:21
David B,

Can you display $BLOJSOM_WEATHER_INFORMATION before passing it to #DisplayWeatherForecast macro?
I'm guessing that you're not getting the expected value from that variable, which could be caused by a problem with the plugin installation.

Are you getting any error in the log file?

On 9/13/07, Margossian, David B < MARGOSDpolaroid.com">MARGOSDpolaroid.com> wrote:
Okay,
 Using the Wike ( http://wiki.blojsom.com/wiki/display/blojsom3/Weather+Plugin&nbsp;) as my instructions.
 
I've validated that the code in blojsom-plugins.xml is correct.
Using flavor=admin, I've gone to Plugins-Mappings and added weather to the end of the html chain.
I've&nbsp; set the properties in Weblog Settings | Properties | Set Property to
 - weather--station-code set to kbos (which I got from the weather channel look-up link).
My web.xml did not have an entry for the update timer, so I left it alone and went with the 60 minute default poll.
I then modified my header template (learning test) and added this entry
<h5&gt; #DisplayWeatherForecast($BLOJSOM_WEATHER_INFORMATION) </h5>;
Re-packaged my jar file, ftp'ld to app server and re-deployed.
 
When I access my blog, I get this instead of any actual weather.

Temperature:  $weatherInfo.getFahrenheit() / $weatherInfo.getCelcius()

Visibility:  $weatherInfo.getVisibility()

Qind:  $weatherInfo.getWind()

Detailed Weather History

Thoughts?  Or places to look?
 


From: blojsom-users-bounceslists.sourceforge.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">blojsom-users-bounceslists.sourceforge.net [mailto: blojsom-users-bounceslists.sourceforge.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">blojsom-users-bounceslists.sourceforge.net] On Behalf Of Dan McGinn-Combs
Sent: Wednesday, September 12, 2007 1:58 PM
To: blojsom-userslists.sourceforge.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">blojsom-userslists.sourceforge.net
Subject: Re: [Blojsom-users] Trying to activate weather and or emoticonsplug-in

uh... what problems are you seeing with the weather plugin (he said with some trepidation)?

Dan

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Blojsom-users mailing list
lists.sourceforge.net"> Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-users


Re: Trying to activate weather and oremoticonsplug-in
country flaguser name
United States
2007-09-20 10:11:08
Cliffano,
I wasn't sure how to display, (as you requested).  I placed this code in my asual-column.vm file to try.
 
 &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; <div id="weather">
&nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp;  <h4&gt;$BLOJSOM_WEATHER_INFORMATION<;/h4>
&nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp;  <h4&gt; Just a blank line. Okay, not so blank </h4&gt;
 &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp; <h4&gt;#DisplayWeatherForecast($BLOJSOM_WEATHER_INFORMATION)</h4>
 &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; </div>
 
After deploying, my page definitely shows my attempt, but fails to show any values.&nbsp;
 
Question? How do I know that the plug-in is trying or not to even reach the National Weather Service?&nbsp; Any debug or troubleshooting tips to prove that is occurring. Based, on my firewall and proxy logs, I don't see my application server reaching out to the net for the information? 
 
Dave


From: blojsom-users-bounceslists.sourceforge.net [mailto:blojsom-users-bounceslists.sourceforge.net] On Behalf Of Cliffano Subagio
Sent: Wednesday, September 19, 2007 8:07 PM
To: blojsom-userslists.sourceforge.net
Subject: Re: [Blojsom-users] Trying to activate weather and oremoticonsplug-in

David B,

Can you display $BLOJSOM_WEATHER_INFORMATION before passing it to #DisplayWeatherForecast macro?
I'm guessing that you're not getting the expected value from that variable, which could be caused by a problem with the plugin installation.

Are you getting any error in the log file?
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )