So, I just stumbled upon "sameAs" for a type of schema.org that allows you to link your social profiles. My problem is that my url and logo are in one place (header) and social links are in another (footer).
<div class="container custom-top" itemscope itemtype="http://schema.org/Organization"> <a class="custom-logo" itemprop="url" href="/"> <img itemprop="logo" alt="sitename" height="40" src="/assets/img/logo-main.png" width="161"> </a> </div>
My social links are in a completely different place:
<ul class="list-inline"> <li> <a href="https://www.facebook.com/site" data-window="external" data-placement="top" rel="tooltip" title="Facebook"></a> <a href="https://twitter.com/site" data-window="external" data-placement="top" rel="tooltip" title="Twitter"></a> <a href="https://plus.google.com/site" data-window="external" data-placement="top" rel="tooltip publisher" title="Google+"></a> </li> </ul>
In an ideal world, this would be something like this, where everything is a child of the itemtype, but because of my design, this is simply not possible.
<span itemscope itemtype="http://schema.org/Organization"> <a itemprop="url" href="/"> <img itemprop="logo" src="/assets/img/logo-main.png" </a> <a itemprop="sameAs" href="http://www.facebook.com/your-company">FB</a> <a itemprop="sameAs" href="http://www.twitter.com/YourCompany">Twitter</a> </span>
So, is there anyway to get around this outside the premises of just one and the same place? I read about itemref and linking items together, but can't get it working when testing with the Google Structured Data Testing Tool.
Please do not tell me to leave the div open and substantially cover the entire page with the type of organization. I hope there will be a clean path around this. Schema.org cannot expect everything to be well grouped on every web page.
source share