[pmwiki-users] Re: audiences revisited or revised ???

chr at home.se chr at home.se
Fri Aug 5 17:58:47 CDT 2005


On Sat, 6 Aug 2005, V.Krishn wrote:

> On Saturday 06 August 2005 02:11, you wrote:
> > KIS4 the Author:
> >
> >    (:target basic4author,basic4admin :)
> > ...and then let the Markup() decide how to display that.
> >
> > I tried it with (:audiences, but it's both longer and not document centric.
> >
> > Also, I greatly prefer paired user/level because if you don't, you
> > may not be able to do docs like:
> >
> >    (:target advanced4author,basic4admin :)
> >
> Pros of using directives:
> 1. We do not have to worry about the internal structure, i.e span/div or 
> table. The directive would take care of all it.
> 2. Later just by changing the directive code the structure can be changed.
> 3. The structure would be tamper-proof.
> 
> Suggestions/comments??

I like it (but then I've suggested it). However, I'd prefer something
other than (:target ...:) because we'd be blocking a name that others
might want to use for custom markup.  Did you see my suggestion of calling
it (:pmwiki-doc ...:)?  

/C

-- 
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr






More information about the pmwiki-users mailing list