[pmwiki-users] How do I do a custom markup that return pmwiki links
Chris Cox
ccox at airmail.net
Wed Jun 29 19:29:10 CDT 2005
Chris Cox wrote:
> I have a program (/usr/local/bin/cjc) that outputs links like:
>
> [[Link1|Link1 Name]] \\
> [[Link2|Link2 Name]] \\
> ...etc..
>
> Markup('cjc','directive',
> "/\\(:cjc:\\)/e",
> "cjcLinks()");
>
> function cjcLinks() {
> return system("/usr/local/bin/cjc");
> }
>
> Is there a way to get pmwiki to interpret the results
> output from cjcLinks? Right not it just displays them
> raw as if the results need to be in HTML format.
>
Never mind... system doesn't allow you to capture its
output. I changed it to use back-ticks instead.
Duh.
More information about the pmwiki-users
mailing list