What about an option that would allow you to select one or more xhtml files and copy the contents of the h1 tag into the title tag?
Code:
<title></title>
<h1>My Title</h1>
[Perform function]
Code:
<title>My Title</title>
<h1>My Title</h1>
Or would that be easier to do as a plugin? If so, maybe @Doitsu could give me some pointers on how to write plugins.
Thanks
Tim