[pmwiki-users] PmWiki Clipboard extension

Dominique Faure dominique.faure at gmail.com
Fri Dec 2 14:46:48 CST 2005


2005/12/2, Patrick R. Michaud <pmichaud at pobox.com>:
> ...
> I think we could equivalently do this by adding capability to the
> (:include:) directive.  However, I think that "id=" is not a good
> choice for the argument parameter, since "id=" already has a different
> meaning in the context of HTML tags.  Something like "field=" might
> be a better choice.  Or "fields=", so we could get several items out
> at once:
>
>    (:include PageName#person fields=Name,Address:)
>
> >  (:paste RecentChanges extract=regular-expression:)
> >    Transforms content of RecentChanges, retaining all text matched by
> >    regular-expression, then pastes result.
>
> Very interesting.  Again, could be added to (:include:), but
> I think this capability falls afoul of PmWikiPhilosophy #3 until
> we see a lot of use for it.
>
Then, can't we have a kind of callback facility on (:include:) as you
designed the (:pagelist:) fmt= parameter? Everybody would be happy to
have it's own specialized include mecanism...

Regards,
Dom




More information about the pmwiki-users mailing list