In reply to:...
Got the method of parsing a page title using
DOMDocument working. Simplified things a bit from the example shared by Eli and had to use
loadHTMLFile() rather than
loadHTML() - seems okay though.
Will do some more testing and, if all looks good, update the 'Likes and Replies' plugin.