opengraph - Adding Open Graph tags to Sitefinity Blog with Custom Blog Provider -


we trying add open graph meta tags our blog, hosted in sitefinity. best place handle this?

  • in definition of page, in "title , properties" in section "html add head"... can add grab title , summary?
  • is there can in each of blogs?
  • can in template page? (not preference)

if use external sitefinity template blog widget details view, can add custom code behind using sitefinity blogs api metadata need, , add head in prerender method.

you can instance of viewed blog post code behind following code:

var manager = blogsmanager.getmanager(); var post = manager.getitemfromurl(typeof(blogpost), itemurl, out redirecturl) blogpost; 

i hope helpful!


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -