Version Description
Download this release
Release Info
| Developer | joostdevalk |
| Plugin | |
| Version | 3.0.5 |
| Comparing to | |
| See all releases | |
Code changes from version 3.0.4 to 3.0.5
- images/identica.png +0 -0
- readme.txt +2 -1
- sociable.php +10 -5
- yoast-posts.php +13 -10
images/identica.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.7.1
|
| 7 |
-
|
| 8 |
|
| 9 |
Automatically add links on your posts, pages and RSS feed to your favorite social bookmarking sites.
|
| 10 |
|
|
@@ -19,6 +19,7 @@ More info:
|
|
| 19 |
|
| 20 |
**Changelog**
|
| 21 |
|
|
|
|
| 22 |
* 3.0.4 Added Netvibes
|
| 23 |
* 3.0.3 Security enhancements, thx to Mark Jaquith
|
| 24 |
* 3.0.2 Fixed CSS bug introduced in 3.0
|
| 4 |
Tags: social, bookmark, bookmarks, bookmarking, social bookmarking, social bookmarks
|
| 5 |
Requires at least: 2.2
|
| 6 |
Tested up to: 2.7.1
|
| 7 |
+
Stable tag: 3.0.5
|
| 8 |
|
| 9 |
Automatically add links on your posts, pages and RSS feed to your favorite social bookmarking sites.
|
| 10 |
|
| 19 |
|
| 20 |
**Changelog**
|
| 21 |
|
| 22 |
+
* 3.0.5 Added Identi.ca and fixed a bug in Yoast Posts widget
|
| 23 |
* 3.0.4 Added Netvibes
|
| 24 |
* 3.0.3 Security enhancements, thx to Mark Jaquith
|
| 25 |
* 3.0.2 Fixed CSS bug introduced in 3.0
|
sociable.php
CHANGED
|
@@ -3,12 +3,12 @@
|
|
| 3 |
Plugin Name: Sociable
|
| 4 |
Plugin URI: http://yoast.com/wordpress/sociable/
|
| 5 |
Description: Automatically add links on your posts, pages and RSS feed to your favorite social bookmarking sites. Go to <a href="options-general.php?page=Sociable">Settings -> Sociable</a> for setup.
|
| 6 |
-
Version: 3.0.
|
| 7 |
Author: Joost de Valk
|
| 8 |
Author URI: http://yoast.com/
|
| 9 |
|
| 10 |
Copyright 2006 Peter Harkins (ph@malaprop.org)
|
| 11 |
-
Copyright 2008 Joost de Valk (joost@
|
| 12 |
|
| 13 |
This program is free software; you can redistribute it and/or modify
|
| 14 |
it under the terms of the GNU General Public License as published by
|
|
@@ -233,6 +233,11 @@ $sociable_known_sites = Array(
|
|
| 233 |
'url' => 'http://www.hemidemi.com/user_bookmark/new?title=TITLE&url=PERMALINK',
|
| 234 |
),
|
| 235 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 236 |
'IndianPad' => Array(
|
| 237 |
'favicon' => 'indianpad.png',
|
| 238 |
'url' => 'http://www.indianpad.com/submit.php?url=PERMALINK',
|
|
@@ -765,9 +770,9 @@ function sociable_admin_head() {
|
|
| 765 |
echo '<script language="JavaScript" type="text/javascript" src="'.$sociablepluginpath.'jquery/jquery.js"></script>';
|
| 766 |
}
|
| 767 |
?>
|
| 768 |
-
<script
|
| 769 |
-
<script
|
| 770 |
-
<script
|
| 771 |
jQuery(document).ready(function(){
|
| 772 |
jQuery("#sociable_site_list").sortable({});
|
| 773 |
});
|
| 3 |
Plugin Name: Sociable
|
| 4 |
Plugin URI: http://yoast.com/wordpress/sociable/
|
| 5 |
Description: Automatically add links on your posts, pages and RSS feed to your favorite social bookmarking sites. Go to <a href="options-general.php?page=Sociable">Settings -> Sociable</a> for setup.
|
| 6 |
+
Version: 3.0.5
|
| 7 |
Author: Joost de Valk
|
| 8 |
Author URI: http://yoast.com/
|
| 9 |
|
| 10 |
Copyright 2006 Peter Harkins (ph@malaprop.org)
|
| 11 |
+
Copyright 2008-2009 Joost de Valk (joost@yoast.com)
|
| 12 |
|
| 13 |
This program is free software; you can redistribute it and/or modify
|
| 14 |
it under the terms of the GNU General Public License as published by
|
| 233 |
'url' => 'http://www.hemidemi.com/user_bookmark/new?title=TITLE&url=PERMALINK',
|
| 234 |
),
|
| 235 |
|
| 236 |
+
'Identi.ca' => Array(
|
| 237 |
+
'favicon' => 'identica.png',
|
| 238 |
+
'url' => 'http://identi.ca/notice/new?status_textarea=PERMALINK',
|
| 239 |
+
),
|
| 240 |
+
|
| 241 |
'IndianPad' => Array(
|
| 242 |
'favicon' => 'indianpad.png',
|
| 243 |
'url' => 'http://www.indianpad.com/submit.php?url=PERMALINK',
|
| 770 |
echo '<script language="JavaScript" type="text/javascript" src="'.$sociablepluginpath.'jquery/jquery.js"></script>';
|
| 771 |
}
|
| 772 |
?>
|
| 773 |
+
<script type="text/javascript" src="<?php echo $sociablepluginpath; ?>jquery/ui.core.js"></script>
|
| 774 |
+
<script type="text/javascript" src="<?php echo $sociablepluginpath; ?>jquery/ui.sortable.js"></script>
|
| 775 |
+
<script type="text/javascript"><!--
|
| 776 |
jQuery(document).ready(function(){
|
| 777 |
jQuery("#sociable_site_list").sortable({});
|
| 778 |
});
|
yoast-posts.php
CHANGED
|
@@ -39,16 +39,19 @@ if (!class_exists('YoastPosts')) {
|
|
| 39 |
echo $before_widget.$before_title.$widget_name.$after_title;
|
| 40 |
echo '<a href="http://yoast.com/"><img style="margin: 0 0 5px 5px;" src="http://yoast.com/images/yoast-logo-rss.png" align="right" alt="Yoast"/></a>';
|
| 41 |
include_once(ABSPATH . WPINC . '/rss.php');
|
| 42 |
-
$rss = fetch_rss('http://
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
|
|
|
|
|
|
|
|
|
| 52 |
echo $after_widget;
|
| 53 |
}
|
| 54 |
}
|
| 39 |
echo $before_widget.$before_title.$widget_name.$after_title;
|
| 40 |
echo '<a href="http://yoast.com/"><img style="margin: 0 0 5px 5px;" src="http://yoast.com/images/yoast-logo-rss.png" align="right" alt="Yoast"/></a>';
|
| 41 |
include_once(ABSPATH . WPINC . '/rss.php');
|
| 42 |
+
$rss = fetch_rss('http://feeds2.feedburner.com/joostdevalk');
|
| 43 |
+
if ($rss) {
|
| 44 |
+
$items = array_slice($rss->items, 0, 2);
|
| 45 |
+
if (empty($items))
|
| 46 |
+
echo '<li>No items</li>';
|
| 47 |
+
else {
|
| 48 |
+
foreach ( $items as $item ) { ?>
|
| 49 |
+
<a style="font-size: 14px; font-weight:bold;" href='<?php echo $item['link']; ?>' title='<?php echo $item['title']; ?>'><?php echo $item['title']; ?></a><br/>
|
| 50 |
+
<p style="font-size: 10px; color: #aaa;"><?php echo date('j F Y',strtotime($item['pubdate'])); ?></p>
|
| 51 |
+
<p><?php echo substr($item['summary'],0,strpos($item['summary'], "This is a post from")); ?></p>
|
| 52 |
+
<?php }
|
| 53 |
+
}
|
| 54 |
+
}
|
| 55 |
echo $after_widget;
|
| 56 |
}
|
| 57 |
}
|
