public static String findTitleFromXhtml(Resource resource)
Retrieves whatever it finds between <title>...</title> or <h1-7>...</h1-7>.
The first match is returned, even if it is a blank string.
If it finds nothing null is returned.
Parameters:
resource -
Returns:
whatever it finds in the resource between <title>...</title> or <h1-7>...</h1-7>.