This PR changes the behavior of NonOpenGraphPropertiesFactory so that the title can be found even if the page doesn't write its <title> within its <head>. To be specific, one of the following elements will be used as the page title (if more than one is found, the earliest in this list is used:)
Closes #38.
This PR changes the behavior of
NonOpenGraphPropertiesFactory
so that thetitle
can be found even if the page doesn't write its<title>
within its<head>
. To be specific, one of the following elements will be used as the page title (if more than one is found, the earliest in this list is used:)<meta property='title' ...>
<meta property='og:title' ...>
<title>
within<head>
<title>
within<body>
<h1>
element within the page