List Info

Thread: Re: Trying to activate weather andoremoticonsplug-in




Re: Trying to activate weather andoremoticonsplug-in
user name
2007-09-20 11:24:05

Dave,

I'm pretty new to blogging in general and blojsom in particular, but have been playing with the Weather plug-in in my test blog. I was seeing the same symptoms you described and,  after adding debug code,  I found that the plug-in is retrieving the weather info, but after the page has been displayed to the user. Once I cleared the cache and re-displayed the page I began see the weather info.

Hope this helps,
Randy



"Margossian, David B&quot; <MARGOSDpolaroid.com>
Sent by: blojsom-users-bounceslists.sourceforge.net

09/20/2007 11:06 AM
Please respond to
blojsom-userslists.sourceforge.net

To
<blojsom-userslists.sourceforge.net>
cc
Subject
Re: [Blojsom-users] Trying to activate weather andoremoticonsplug-in





Dan, I added the lines you provided, but no improvement.
 
My page showed:  At it is  (just the literals with no values).
 
Current test code looks like this. &nbsp;And, I tried with and with the "!&quot; as I wasn't sure it should or shouldn't be there.
 
Dave
 
          &nbsp;                     &nbsp;   <div id="weather2&quot;>
                    &nbsp;              <h5>Weather2</h5&gt;
                    &nbsp;                 At $BLOJSOM_WEATHER_INFORMATION.getLocation() it is $BLOJSOM_WEATHER_INFORMATION.getFahrenheit().
                    &nbsp;               </div&gt;
                    &nbsp;              <div id="weather";>
                    &nbsp;              <h4>$!BLOJSOM_WEATHER_INFORMATION</h4&gt;
                    &nbsp;              <h4> Just a blank line. Okay, not so blank </h4>;
                    &nbsp;              <h4>#DisplayWeatherForecast($BLOJSOM_WEATHER_INFORMATION)</h4>
                    &nbsp;              </div>



From: blojsom-users-bounceslists.sourceforge.net [mailto:blojsom-users-bounceslists.sourceforge.net] On Behalf Of Dan McGinn-Combs
Sent:
Thursday, September 20, 2007 11:27 AM
To:
blojsom-userslists.sourceforge.net
Subject:
Re: [Blojsom-users] Trying to activate weather andoremoticonsplug-in


Oy, I had similar problems.
I found that (for whatever reason) the full blown (no pun intended) information was not properly populated. So I created a custom page as follows.
<div id="weather";>
<;h5>Weather</h5&gt;
 At $!BLOJSOM_WEATHER_INFORMATION.getLocation() it is $!BLOJSOM_WEATHER_INFORMATION.getFahrenheit().
</div>

When I did that... I got (mostly) the location and the temp. That is all I cared about anyway. Give this a go and see if it works for you.

thanks,
Dan

On 9/20/07, Margossian, David B <polaroid.com>MARGOSDpolaroid.com> wrote:
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;   <div id="weather";>
                    &nbsp;              <h4>$BLOJSOM_WEATHER_INFORMATION</h4>;
                    &nbsp;              <h4> Just a blank line. Okay, not so blank </h4>;
                    &nbsp;              <h4>#DisplayWeatherForecast($BLOJSOM_WEATHER_INFORMATION)</h4>
                    &nbsp;              </div>

 
After deploying, my page definitely shows my attempt, but fails to show any values.  
 
Question? How do I know that the plug-in is trying or not to even reach the National Weather Service?  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?  
 


--
Dan McGinn-Combs, Security+, GSEC, CISSP

gmail.com>dgcombsgmail.com
Home: +1 770 487 6321
Mobile: +1 678 994 4040
Peachtree City, Georgia USA
-------------------------------------------------------------------------
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
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-users

Re: Trying to activate weather andoremoticonsplug-in
country flaguser name
United States
2007-09-20 11:34:39
Thanks for the thought, but clearing cache did not help.&nbsp; Always willing to try anything that makes sense.
 
So, I am still uncertain or unclear how to make this work --  Dave


From: blojsom-users-bounceslists.sourceforge.net [mailto:blojsom-users-bounceslists.sourceforge.net] On Behalf Of Randy.Nolenkohls.com
Sent: Thursday, September 20, 2007 12:24 PM
To: blojsom-userslists.sourceforge.net
Subject: Re: [Blojsom-users] Trying to activate weather andoremoticonsplug-in


Dave,

I'm pretty new to blogging in general and blojsom in particular, but have been playing with the Weather plug-in in my test blog. I was seeing the same symptoms you described and,  after adding debug code,  I found that the plug-in is retrieving the weather info, but after the page has been displayed to the user. Once I cleared the cache and re-displayed the page I began see the weather info.

Hope this helps,
Randy

[1-2]

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