Sociable - Version 2.8.2

Version Description

Download this release

Release Info

Developer joostdevalk
Plugin Icon wp plugin Sociable
Version 2.8.2
Comparing to
See all releases

Code changes from version 2.8.1 to 2.8.2

Files changed (3) hide show
  1. images/linkedin.png +0 -0
  2. readme.txt +2 -1
  3. sociable.php +9 -2
images/linkedin.png ADDED
Binary file
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://yoast.com/donate/
4
  Tags: social, bookmark, bookmarks, bookmarking, social bookmarking, social bookmarks
5
  Requires at least: 2.2
6
  Tested up to: 2.5.1
7
- stable tag: 2.8.1
8
 
9
  Automatically add links on your posts to popular social bookmarking sites.
10
 
@@ -19,6 +19,7 @@ More info:
19
 
20
  **Changelog**
21
 
 
22
  * 2.8.1 Fixed some small issues and made sure tagline shows up again
23
  * 2.8 Added option to show bookmark icons in feed, added Ratimarks, fixed xhtml compliance, fixed blue dot bug
24
  * 2.6.9 Fixed WP 2.6 compatibility
4
  Tags: social, bookmark, bookmarks, bookmarking, social bookmarking, social bookmarks
5
  Requires at least: 2.2
6
  Tested up to: 2.5.1
7
+ stable tag: 2.8.2
8
 
9
  Automatically add links on your posts to popular social bookmarking sites.
10
 
19
 
20
  **Changelog**
21
 
22
+ * 2.8.2 Now adds icons to feeds with excerpts too, added LinkedIn
23
  * 2.8.1 Fixed some small issues and made sure tagline shows up again
24
  * 2.8 Added option to show bookmark icons in feed, added Ratimarks, fixed xhtml compliance, fixed blue dot bug
25
  * 2.6.9 Fixed WP 2.6 compatibility
sociable.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Sociable
4
  Plugin URI: http://yoast.com/wordpress/sociable/
5
  Description: Automatically add links on your posts to popular <a href="http://www.maxpower.ca/bookmarking">social bookmarking sites</a>. Go to Options -> Sociable for setup.
6
- Version: 2.8.1
7
  Author: Joost de Valk
8
  Author URI: http://yoast.com/
9
 
@@ -269,6 +269,11 @@ $sociable_known_sites = Array(
269
  'url' => 'http://www.linkagogo.com/go/AddNoPopup?url=PERMALINK&amp;title=TITLE',
270
  ),
271
 
 
 
 
 
 
272
  'Linkter' => Array(
273
  'favicon' => 'linkter.png',
274
  'url' => 'http://www.linkter.hu/index.php?action=suggest_link&amp;url=PERMALINK&amp;title=TITLE',
@@ -567,6 +572,7 @@ $sociable_files = Array(
567
  'images/laaikit.png',
568
  'images/linkagogo.png',
569
  'images/linkarena.gif',
 
570
  'images/linkter.png',
571
  'images/linkter.png',
572
  'images/live.png',
@@ -692,6 +698,7 @@ $sociable_contitionals = get_option('sociable_conditionals');
692
  if (is_array($sociable_contitionals) and in_array(true, $sociable_contitionals)) {
693
  add_filter('the_content', 'sociable_display_hook');
694
  add_filter('the_excerpt', 'sociable_display_hook');
 
695
 
696
  function sociable_display_hook($content='') {
697
  $conditionals = get_option('sociable_conditionals');
@@ -705,7 +712,7 @@ if (is_array($sociable_contitionals) and in_array(true, $sociable_contitionals))
705
  } elseif ((is_feed() and $conditionals['is_feed'])) {
706
  $sociable_html = sociable_html();
707
  $sociable_html = strip_tags($sociable_html,"<a><img>");
708
- $sociable_html = str_replace('<a rel="nofollow" title="Print this article!"><img src="http://www.css3.info/wp-content/plugins/sociable//images/printer.png" title="Print this article!" alt="Print this article!" class="sociable-hovers" /></a>','',$sociable_html);
709
  $content .= $sociable_html . "<br/><br/>";
710
  }
711
  return $content;
3
  Plugin Name: Sociable
4
  Plugin URI: http://yoast.com/wordpress/sociable/
5
  Description: Automatically add links on your posts to popular <a href="http://www.maxpower.ca/bookmarking">social bookmarking sites</a>. Go to Options -> Sociable for setup.
6
+ Version: 2.8.2
7
  Author: Joost de Valk
8
  Author URI: http://yoast.com/
9
 
269
  'url' => 'http://www.linkagogo.com/go/AddNoPopup?url=PERMALINK&amp;title=TITLE',
270
  ),
271
 
272
+ 'LinkedIn' => Array(
273
+ 'favicon' => 'linkedin.png',
274
+ 'url' => 'http://www.linkedin.com/shareArticle?mini=true&url=PERMALINK&title=TITLE',
275
+ ),
276
+
277
  'Linkter' => Array(
278
  'favicon' => 'linkter.png',
279
  'url' => 'http://www.linkter.hu/index.php?action=suggest_link&amp;url=PERMALINK&amp;title=TITLE',
572
  'images/laaikit.png',
573
  'images/linkagogo.png',
574
  'images/linkarena.gif',
575
+ 'images/linkedin.png',
576
  'images/linkter.png',
577
  'images/linkter.png',
578
  'images/live.png',
698
  if (is_array($sociable_contitionals) and in_array(true, $sociable_contitionals)) {
699
  add_filter('the_content', 'sociable_display_hook');
700
  add_filter('the_excerpt', 'sociable_display_hook');
701
+ add_filter('the_excerpt_rss', 'sociable_display_hook');
702
 
703
  function sociable_display_hook($content='') {
704
  $conditionals = get_option('sociable_conditionals');
712
  } elseif ((is_feed() and $conditionals['is_feed'])) {
713
  $sociable_html = sociable_html();
714
  $sociable_html = strip_tags($sociable_html,"<a><img>");
715
+ $sociable_html = str_replace('<a rel="nofollow" title="Print this article!"><img src="'.$imagepath.'printer.png" title="Print this article!" alt="Print this article!" class="sociable-hovers" /></a>','',$sociable_html);
716
  $content .= $sociable_html . "<br/><br/>";
717
  }
718
  return $content;