[pmwiki-users] Changing the way a link is created?

Chris Cox ccox at endlessnow.com
Thu Sep 17 16:39:07 CDT 2009


On Thu, 2009-09-17 at 21:54 +0100, Sergio Lopes wrote:
> Hi,
> 
> I've been trying to see how I can add Google Analytics to pmwiki, and
> though adding the header/footer javascript is easy enough, using the
> download tracking functions is looking like a problem.
> 
> Is there any way I can tell pmwiki a list of attributes to place on
> the links? If not, if I wanted to change pmwiki so that the link
> processing will be able to understand a given tag and replace it with
> the attributes I send.
> 
> Something like adding support to the link tag and making pmwiki
> understand it, e.g.: [[url ATTRS | link text]].
> 
> I don't know if making a custom markup will do the trick, I tried to
> create one but I couldn't see how to make pmwiki replace a tag inside
> an existing markup.
> 
> If anyone could shed some light into this subject I would be grateful.

Possible alternatives... use a wiki style and/or CSS.





More information about the pmwiki-users mailing list