Posted By

gerhardsletten on 05/12/11


Tagged

ezpublish facebook


Versions (?)

Open Graph for ez Publish


 / Published in: eZ Publish
 

logo_fb.png should be at least 50x50px and have a maximum aspect ratio of 3:1

  1. <html xmlns="http://www.w3.org/1999/xhtml"
  2. xmlns:og="http://ogp.me/ns#"
  3. xmlns:fb="http://www.facebook.com/2008/fbml"
  4. xml:lang="{$site.http_equiv.Content-language|wash}" lang="{$site.http_equiv.Content-language|wash}">
  5. <head>
  6. ...
  7. <meta property="og:title" content="{ezini('SiteSettings','SiteName', 'site.ini')|wash}" />
  8. <meta property="og:type" content="book" />
  9. <meta property="og:url" content="http://www.foo.no{$requested_uri_string|ezroot('no')}" />
  10. <meta property="og:image" content="http://www.foo.no{'logo_fb.png'|ezimage(no)}" />
  11. </head>

Report this snippet  

You need to login to post a comment.