The problem with this is twofold:
1. it's a relatively slow process to (compared to running an editor on my server), and
2. it uses the html "form" editor, which is fine for posts but not a programmer's editor by any means.
I write code for a living and trying to do anything other than trivial edits in the form editor is just scary.
My question-- is there an effective way to edit templates without using the template editing system in the admin control panel, given that I have access to the machine, mysql, etc.
Ideally, I'd like a flow something like this:
1. extract template by id/name from the database with a script, e.g. xf-checkout -t template2 member_view > tmp_member_view.txt
2. emacs tmp_member_view.txt
3. re-insert modified code into the database with a script, e.g. xf-checkin -t template 2 member_view < tmp_member_view.txt
I could probably reverse engineer enough to make it work, but I'd rather leverage a solution that is known to work.