[pmwiki-users] Ben's Query for Page Variables . . .

Ben Wilson dausha at gmail.com
Tue Sep 26 09:39:59 CDT 2006


I mentioned a couple of times for the ability to retrieve page
variables. Pm asked me what I mean. Perhaps I can only analogize, as I
think the term page variable means something different from what I
mean. I am referring to the keys in the associative array that
represents a page. For example, when you read a page, its contents are
stored in an array. The source text is in $page['text']. This is what
I mean by page variable.

Perhaps I should be referring to these as page attributes, as in an
object context? Although, that invokes thoughts of
$pagename?action=attr.

What I'm asking for is a way to use custom page attributes (e.g.
foobar=123) and then retrieve this via pagelists, etc. The real motive
is for searchability. I realize this is probably already possible, but
lost in my fog of ignorance.

Although, looking at pmwiki.org/wiki/Test/PData, this request may be OBE.

-- 
Ben Wilson
"All this worldly wisdom was once the unamiable heresy of some wise man." HDT




More information about the pmwiki-users mailing list