21278 Posts in 5728 Topics by 2599 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 225 Views |
-
Snippets in SS

12 September 2012 at 9:22am
Dear fellow SS users. I have tuned the metatags over and over again and nothing seams to work. I can't get the LinkedIn share widget filled with information about the right page. The only thing LinkedIn gets, is the name of the domain. Does anybody knows what goos wrong? Here is the code:
$MetaTags
<meta property="og:title" content="$Title" />
<meta property="og:url" content="http://www.realimpact.nl" />
<meta property="og:image" content="http://www.realimpact.nl/assets/logolinked.png" />
<meta property="og:description" content="<% if MetaDescription %>$MetaDescription<% else %>$Title<% control GetHomePage %>$MetaDescription<% end_control %><% end_if %>"/>If you want to try it real time: www.realimpact.nl
BTW, the facebook domain gets the og's right...
-
Re: Snippets in SS

12 September 2012 at 5:53pm
I doubt this is specifically a SilverStripe thing. Perhaps you need to include the OG prefix to your page for it to be valid.
<html prefix="og: http://ogp.me/ns#">
-
Re: Snippets in SS

12 September 2012 at 6:15pm
Thanks for your reply and helpfull tip. Tried that, won't do. You're right about that it is not an SS thing but it would be nice if the tagging (snippets/og) would be included in the platform. I think you can give more value to the users if important things like that would be working from basis.
| 225 Views | ||
|
Page:
1
|
Go to Top |


