[openstreetmap-website] add details in description meta tag; and add og:description and twitter:description (#1066)

Paul Norman notifications at github.com
Tue Oct 6 23:45:14 UTC 2015


`og:image` is a required property. Given we don't have a way to generate an image specific to the graph object, for the same reasons as #739, what could we do here?

There is the `og:locale` property, so we can do `<meta property="og:locale" content="en_GB" />` It also allows for `og:locale:alternate`, to specify alternate locales which are available, but doesn't talk about how to retrieve those alternate locales.

https://developers.facebook.com/docs/opengraph/guides/internationalization#bestpractices discusses OG localization in the context of Facebook, and a `X-Facebook-Locale` header is used.

> and add og:description and twitter:description

I can't find a reference to `twitter:description` on the twitter graph docs - could you provide a link to documentation?
-----

@mikelmaron Could you provide what you think the open graph properties would be for a few example objects?

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/1066#issuecomment-146035789
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20151006/95e5ba50/attachment.html>


More information about the rails-dev mailing list