line count plugin

emf <i-IT4L295iNO/[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
Hello,

I'm trying to figure out how to write a plugin that counts the number of lines 
in an entry and makes a variable ( $wc ) availiable to the templates with that 
information in it.

Unfortunately I cannot see how to do this. I can tell how to get all the lines 
from a story, but I don't know how to make something availiable to templates.

Thanks for your help,

~mindlace



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.