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

The Editor editor at fast.st
Tue Sep 26 09:48:53 CDT 2006


On 9/26/06, Ben Wilson <dausha at gmail.com> wrote:
> 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

If a way were made for this to be possible (whatever these page things
are called) it might also make it possible to set them within a page.
I'm still looking for answers to the title problem when a page is
updated via a recipe.  Seems a bit buggy.

Cheers,
Caveman




More information about the pmwiki-users mailing list