A plugin would be nice because it's one of those things that you just set up
once and forget about. Another option would be to use a view helper, but you
have to remember to call it for each one of your headers:
<?= $this->headerTag('I am an H1', 1) ?>
I use a plugin on my website that doesn't quite do what you're looking for
but it scans the response body for <pre> tags to add syntax highlighting. It
might be useful to help you get started on your plugin. You can take a look
at it here:
http://www.virgentech.com/code/view/id/2
--
Hector
On Fri, Feb 19, 2010 at 1:14 PM, notrub225 <[email protected]>wrote:
>
> I would like to integrate dynamic text replacement into one of my web
> sites.
> Here is an article about it on A List Apart:
> http://www.alistapart.com/articles/dynatext/
>
> Basically it will dynamically replace <H> tags with an image in the font I
> have chosen. What do you readers suggest I encapsulate this script as? I
> was
> thinking of making it a Plugin class...but how would I call it?
>
> Michael
> --
> View this message in context:
> http://n4.nabble.com/Dynamic-Text-Replacement-tp1562263p1562263.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>