[pmwiki-users] pmwiki-2.2.0-beta2 released ({$:var} markup)

Kathryn Andersen kat_lists at katspace.homelinux.org
Tue Sep 26 02:35:47 CDT 2006


On Mon, Sep 25, 2006 at 04:03:02PM -0500, Patrick R. Michaud wrote:
> I've just released pmwiki-2.2.0-beta2, now available from:
> 
>     http://www.pmwiki.org/pub/pmwiki/pmwiki-2.2.0-beta2.tgz
>     http://www.pmwiki.org/pub/pmwiki/pmwiki-2.2.0-beta2.zip
>     svn://pmwiki.org/pmwiki/tags/latest
> 
> This release adds the long-awaited support for page text variables
> and the {$:var} markup.  
> 
> Essentially {$:var} can be used to extract values from pages 
> containing any of the following markups:
> 
>     var: value              # line beginning with "var:"
>     :var: value             # definition list form
>     (:var: value:)          # directive form
> 
> The directive form is special in that it doesn't display anything
> in the generated output, and it can accept multi-line values.
 
There's something not quite right with the directive form when the
variable name is in CamelCase.  The page text variable is set okay, but
the directive isn't hidden from display.  See the bottom of
http://www.pmwiki.org/wiki/Test/PData for an example.

Kathryn Andersen
-- 
 _--_|\     | Kathryn Andersen	<http://www.katspace.com>
/      \    | 
\_.--.*/    | GenFicCrit mailing list <http://www.katspace.com/gen_fic_crit/>
      v     | 
------------| Melbourne -> Victoria -> Australia -> Southern Hemisphere
Maranatha!  |	-> Earth -> Sol -> Milky Way Galaxy -> Universe




More information about the pmwiki-users mailing list