innoq / statuses

statuses
Apache License 2.0
13 stars 14 forks source link

Introduce Facebook OpenGraph meta tags to statuses #128

Closed aheusingfeld closed 9 years ago

aheusingfeld commented 9 years ago

See http://ogp.me/ for more details. As Twitter considers its tweets to be of og:type=article, we should probably do the same and render something like

<meta content="innoQ Statuses" name="og:site_name">
<meta content="article" name="og:type">
<meta content="Technology" property="article:section">
<meta content="de" name="og:locale">
<meta content="Status 84" name="og:title">
<meta content="https://.../users/guest/avatar/32x32" name="og:image">
<meta content="@guest something else" name="og:description">
<meta content="guest" property="article:author">
<meta content="Wed, 22 Oct 2014 23:33:19 +0200" property="article:published_time">
<meta content="/statuses/updates/84" name="og:url">
stilkov commented 9 years ago

What's the benefit?

stilkov commented 9 years ago

I am totally opposed to cluttering our HTML with this without some more discussion.

aheusingfeld commented 9 years ago

This was just a suggestion as an alternative to "scraping the HTML". I had a discussion with @mrreynolds and would also favor microdata or RDFa!