Is there any way of generating the title tag of a page from the content of an H1 tag on my wordpress page? I've got some dynamically generated content pulled in via an external XML feed and and at the moment, as the page isn't physically generated via the wordpress admin system and is just using a template, the page title is just staying the same regardless of the content.
However, I was just wondering whether it would be possible in php, to grab the content of an H1 on a page and generate the title tag from that?
Any tips / advice would be greatly appreciated :)
Thanks
