Not sure I can answer all at once (family is calling me to dinner),
but I'll start chipping away...
On Sun, Sep 16, 2012 at 9:49 AM, EJelome <
eje...@gmail.com> wrote:
> 3. HTML Minification:
> Where can I modify the buffer (sorry not sure for the term) where I can
> use Regex to remove spaces, tabs, and newlines of the HTML page currently
> viewed.
It doesn't look like there is a good hook for this (someone PLEASE
correct me if I'm wrong!)--you'll probably have to do some surgery on
Blogofile itself.
In 0.7, I think you'd be looking at what's happening inside
blogofile.writer.Writer when materialize_template is called.
In pre-0.8, I think you want to add something to
blogofile.template.Template in the write method.
It would probably be really cool to make a hook that multiple plugins
could attach to; I could see doing CSS and Javascript minification
too!
--
Mike Pirnat
mpi...@gmail.com
http://mike.pirnat.com/