This project is read-only.

Open Graph implementation for LinkedIn

Topics: Writing modules
Jun 7, 2013 at 10:20 PM
I started down the path of creating a module to support a few OG style tags so LinkedIn will display my choice of image when a blog post is shared. e.g.
<meta property="og:image" content="" /> 
along with the HTML namespaces in the <html> element
<html xmlns=""
I created an editor template, again optional for each of the three tags I want to implement, and they're working ok. But, what about the namespaces in the <html> element?

I found this old thread, but the solution is: overwrite document.cshtml. If a smarty pants user decides to change their theme, wouldn't they kill the namespaces? The namespaces are the tricky part, as I certainly haven't mastered how Orchard is organized.

Is there a programmatic way to hook into the generic WebViewPage from a module to add some bits? Or maybe some HTML helper I'm overlooking?