Fisheye: Tag 1.3 refers to a dead (removed) revision in file `openacs-4/packages/acs-subsite/lib/share-bar.adp'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.3 refers to a dead (removed) revision in file `openacs-4/packages/acs-subsite/lib/share-bar.tcl'. Fisheye: No comparison available. Pass `N' to diff? Index: openacs-4/packages/ecommerce/lib/share-bar.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/lib/share-bar.adp,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/ecommerce/lib/share-bar.adp 21 Sep 2010 22:54:10 -0000 1.1 @@ -0,0 +1,18 @@ + +#acs-subsite.Share#: +TweetTweet +FacebookFacebook +StumbleUponStumbleUpon +DiggDigg +DeliciousDelicious + + +#acs-subsite.Share#: +Tweet +Facebook +StumbleUpon +Digg +Delicious + + + Index: openacs-4/packages/ecommerce/lib/share-bar.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/lib/share-bar.tcl,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/ecommerce/lib/share-bar.tcl 21 Sep 2010 22:54:10 -0000 1.1 @@ -0,0 +1,14 @@ + +if { ![info exists title] } { + set title [ad_conn instance_name] + ns_log Notice "acs-subsite/lib/share-bar: title has no value, substituting with instance_name" +} +if { ![info exists url] } { + set url [ad_return_url -qualified] +} +if { [security::secure_conn_p] } { + set icons_p 0 +} +if { ![info exists icons_p] } { + set icons_p 1 +} Index: openacs-4/www/blank-master.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/www/blank-master.tcl,v diff -u -r1.50 -r1.51 --- openacs-4/www/blank-master.tcl 19 Sep 2010 10:51:06 -0000 1.50 +++ openacs-4/www/blank-master.tcl 21 Sep 2010 22:54:10 -0000 1.51 @@ -246,20 +246,6 @@ } } -# OpenGraph protocol http://opengraphprotocol.org for social networking -# Should these use parameterized values instead? -# see packages/acs-subsite/lib/share-bar for an example of how to implement share -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