[pmwiki-users] CountGlyphs recipe doesn't work

Ben Wilson dausha at gmail.com
Thu May 18 18:31:09 CDT 2006


Fixed it. In the script "countglyphs.php" make the following changes:

Line 21: Markup('glyphs', '<{$var}',
Line 24: Markup('words', '<{$var}',

You will notice the angle brackets in your version are reversed. I
have posted this correction to the cookbook. Download it again.

Ben

On 5/18/06, Audun Myhra Bergwitz <bergwitz at gmail.com> wrote:
> I'd like to have this recipe working. Parts of the wiki is used as the
> desk for our magazine and a quick and easy way to see how many
> characters and words there are in a single article would be really nice.
>
> My comment on the recipe page:
> "It seems like this script doesn't work. It might be that it counts
> glyphs and words, but it doesn't show it anywhere. Even in the example
> above it doesn't show anything. Tried in both in IE and Firefox to make
> sure that it wasn't a browser-specific problem."
>
> Yep, it doesn't even work on the page:
> <http://www.pmwiki.org/wiki/Cookbook/CountGlyphs>
>
> Anyone who could care to look into this?
>
> Mvh
> Audun Myhra Bergwitz
> <http://vreng.no>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://host.pmichaud.com/mailman/listinfo/pmwiki-users
>


-- 
Ben Wilson
" Mundus vult decipi, ergo decipiatur"




More information about the pmwiki-users mailing list