wordpress-opengraph
wordpress-opengraph copied to clipboard
add support for array values
we currently only support a single value for a given property, however OGP allows for multiple values. This becomes particularly more complicated when properties are grouped based on proximity.
For example (taking the example from the OGP site):
<meta property="og:image" content="http://example.com/rock.jpg" /> <meta property="og:image:width" content="300" /> <meta property="og:image:height" content="300" /> <meta property="og:image" content="http://example.com/rock2.jpg" /> <meta property="og:image" content="http://example.com/rock3.jpg" /> <meta property="og:image:height" content="1000" />means there are 3 images on this page, the first image is 300x300, the middle one has unspecified dimensions, and the last one is 1000px tall.