Index: openacs-4/www/blank-master.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/www/blank-master.tcl,v diff -u -r1.48 -r1.49 --- openacs-4/www/blank-master.tcl 12 Jul 2009 01:12:33 -0000 1.48 +++ openacs-4/www/blank-master.tcl 19 Sep 2010 10:23:50 -0000 1.49 @@ -246,6 +246,19 @@ } } +# OpenGraph protocol http://opengraphprotocol.org for social networking +# Should these use parameterized values instead? +template::head::defaults_meta -name "og:title" -content $doc(title) +template::head::defaults_meta -name "og:type" -content "website" +template::head::defaults_meta -name "og:url" -content [ad_return_url -qualified] +template::head::defaults_meta -name "og:image" -content "[ad_url]/favicon.ico" +if { [info exists ::template::head::metas(,description)] } { + template::head::defaults_meta -name "og:description" -content "[lindex $::template::head::metas(,description) 3]" +} +template::head::defaults_meta -name "og:site_name" -content [ad_system_name] + + + template::head::prepare_multirows set event_handlers [template::get_body_event_handlers] # Retrieve headers and footers