I am new to pmwiki. What is a simple function for counting the number of
comments used on a page and then displaying the result anywhere on the page?

For example, if I have markup like this, the function would display the
result that there are three comments in the the markup.
---------------------------------------------------------------------------------------
(:title PMWiki Programming Example 1:)
!Counting comments

!!The comments go here
There is a block of comments here that are not displayed. There are three
comments.
(:comment This is comment1:)
(:comment This is comment2:)
(:comment This is comment3:)

!!The results go here
The function should find three comments.
---------------------------------------------------------------------------------------

Thanks,
Mark, Seattle
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to