List Info

Thread: Re: Setting Blojsom 3 Weather Plugin Station Code




Re: Setting Blojsom 3 Weather Plugin Station Code
country flaguser name
United States
2007-05-22 09:54:33
As for what properties are set: Probably not without writing
a plugin to
give you that information.

As for what properties can be set: That's also an
interesting idea for a
plugin. It could fire off an event to "ask" the
other plugins for what
properties can be set and possibly a (dare I even say,
localized)
description for each property.

On 5/22/07 10:32 AM, "Dalton, Michael D. (KSC)"
<michael.d.daltonnasa.gov>
wrote:

> Duhhh....
> 
> That makes sense.  Thanks.
> 
> Any way to get a list of all property values that are
set?  Or to know
> what properties can be set?
> 
> Michael Dalton 
> 
> -----Original Message-----
> From: blojsom-users-bounceslists.sourceforge.net
> [mailto:blojsom-users-bounceslists.sourceforge.net] On
Behalf Of David
> Czarnecki
> Sent: Tuesday, May 22, 2007 10:22 AM
> To: blojsom-users
> Subject: Re: [Blojsom-users] Setting Blojsom 3 Weather
Plugin Station
> Code
> 
> Just set a blog property, weather-station-code, to the
correct value.
> You can do this from the blog properties administration
screen at the
> bottom of the page. Look for the "Set
property" portion. I guess it
> could use its own administration plugin, but that's for
another day 
> This should get you up and running.
> 
> 
> On 5/22/07 10:03 AM, "Dalton, Michael D.
(KSC)"
> <michael.d.daltonnasa.gov>
> wrote:
> 
>> I can't figure out how to set the Weather Station
Code for Blojsom
> 3.2.
>> 
>> I've read the Blojsom 2 pages on this plugin but
there doesn't appear
>> to be any equivalent way to set the station code
for Blojsom 3.  The
>> Blojsom 2 technique does not appear to work.
>> 
>> The plugin works if you manually set the station
code in the Weather
>> plugin class directly but I'd rather it be set as a
property.
>> 
>> Any ideas?
>> 
>> Here is my display entry in asual-column.vm:
>> 
>> <h5>Weather:
$!BLOJSOM_WEATHER_INFORMATION.getStationCode()</h5>
>> <ul><li>
>>
&nbsp;$!BLOJSOM_WEATHER_INFORMATION.getFahrenheit()
&nbsp; &nbsp;
>> $!BLOJSOM_WEATHER_INFORMATION.getCelcius()
&nbsp; &nbsp;
>> Vis:$!BLOJSOM_WEATHER_INFORMATION.getVisibility()
Miles<br/>
>> $!BLOJSOM_WEATHER_INFORMATION.getWind()<br/>
>>
$!BLOJSOM_WEATHER_INFORMATION.getLocation()<br/>
>> <a
href="$!BLOJSOM_WEATHER_INFORMATION.getHistoryUrl()&quo
t;
> class="rounded"
>>
rel="new"><span>History</span></
a> <a
>>
href="$!BLOJSOM_WEATHER_INFORMATION.getProviderUrl()&qu
ot; class="rounded"
>>
rel="new"><span>XML</span></a>
;<br/>
>> </li></ul>
>> 
>> The above code works!!!!
>> 
>> Thanks,
>> 
>> Michael Dalton
>> 
>>
------------------------------------------------------------
----------
>> --- This SF.net email is sponsored by DB2 Express
Download DB2 Express
> 
>> C - the FREE version of DB2 express and take
control of your XML. No
>> limits. Just data. Click to get it now.
>> http://sourcefor
ge.net/powerbar/db2/
>> _______________________________________________
>> Blojsom-users mailing list
>> Blojsom-userslists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
> 
> --
> David Czarnecki
> 
> http://www.blojsom.com/b
log/ | http://blojsom.sf.net
> 
> 
> 
>
------------------------------------------------------------
------------
> -
> This SF.net email is sponsored by DB2 Express Download
DB2 Express C -
> the FREE version of DB2 express and take control of
your XML. No limits.
> Just data. Click to get it now.
> http://sourcefor
ge.net/powerbar/db2/
> _______________________________________________
> Blojsom-users mailing list
> Blojsom-userslists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
> 
>
------------------------------------------------------------
-------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2
express and take
> control of your XML. No limits. Just data. Click to get
it now.
> http://sourcefor
ge.net/powerbar/db2/
> _______________________________________________
> Blojsom-users mailing list
> Blojsom-userslists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers

-- 
David Czarnecki

http://www.blojsom.com/b
log/ | http://blojsom.sf.net



------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers

[1]

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