The Open Graph Java implementation
The Open Graph is a protocol for creating object in social graph from a web page.
Generation
new OgArticle(
new OgtDateTime(OffsetDateTime.of(2017, 3, 10, 15, 12, 0, 0, ZoneOffset.ofHours(7))),
new OgProfile("Alexey", "Nikitin", "nikialeksey"),
"android", "programming"
).html()
will produce:
<meta property="article:published_time" content="2017-03-10T15:12+07:00" />
<meta property="article:author:profile:first_name" content="Alexey" />
<meta property="article:author:profile:last_name" content="Nikitin" />
<meta property="article:author:profile:username" content="nikialeksey" />
<meta property="article:tag" content="android" />
<meta property="article:tag" content="programming" />
Parsing
TBD