[pmwiki-users] Page Variables help - how to take one and split into two

Hans design5 at softflow.co.uk
Sun Nov 1 15:41:54 CST 2009


Sunday, November 1, 2009, 8:31:29 PM, stevecrisp at gmail.com wrote:

> I've copied this from other examples.  Are you recommending
> altering the SetProperty function to something custom?

on  second thought perhaps better not.
But why don't you use simple PageTextVariables, like

(:latitude: 50.1234:)
(:longitude: -1.23456:)

and use {$:latitude} and {$:longitude} in your
$FeedFmt['georss']['item'] array?

Why do you want to use PageVariables?

And if you need to use PageVariables, why the change to use a
(:coord..:) markup instead of two markups for latitude and longitude?
If you have a single coord markup there may be possible confusion
of what arg comes first: lat or long.

  ~Hans




More information about the pmwiki-users mailing list