[pmwiki-users] Page attributes

Henrik Bechmann henrik at bechmannsoftware.com
Wed Feb 1 11:22:03 CST 2006


Patrick,

I just wanted to throw a couple of ideas on the table, in terms of 
formal attributes of pages:

1. A Page Alias, so that if an administrator wanted a different 
presentation name for a page than the storage name, an alias could be 
defined. The way the alias would work is that it would take on the 
storage name of the page if the alias name itself was blank. It would be 
set in the environment as $PageAlias or some such. There might be issues 
of course in terms of interchangeability with $Name in certain other 
functions, but these could perhaps be handled by looking up the storage 
name of the page whenever an alias might be used (such as a search 
parameter).

2. A Description as an attribute of the page, so that search results, 
tables of contents, and such could present the description of the page 
with or instead of the page name (or alias). It would be set in the 
environment as $PageDescription or some such.

Both could be entered in fields on the edit form for a page.

Both of these would promote looser coupling between the interface and 
storage names. I currently find I am over-committed to storage names in 
presenting information to the user.

Of course there may already be some features in PmWiki that deal with 
this, it is such a rich environment. If so, I would be glad to hear from 
anyone about them.

FWIW.

Thanks, and

All the best,

- Henrik

-- 

Henrik Bechmann
www.osscommons.ca
www.bechmannsoftware.com
Webmaster, www.dufferinpark.ca





More information about the pmwiki-users mailing list