Yet Another Related Posts Plugin (YARPP) - Version 3.2.2

Version Description

  • Now ignores soft hyphens in keyword construction
  • Minor fix for "cross-relate posts and pages" option and more accurate related_*() results across post types
  • Localization updates:
    • Updated de_DE German localization files
    • Fixed an encoding issue in the pt_PT Portuguese localization files
    • Added es_ES Spanish localization by Rene (yarpp-es at mitcho dot com) of WordPress Webshop
    • Added ge_KA Georgian by Kasia Ciszewski (yarpp-ge at mitcho dot com) of Find My Hosting
    • Added Czech (cs_CZ) overused words list by berniecz
Download this release

Release Info

Developer mitchoyoshitaka
Plugin Icon 128x128 Yet Another Related Posts Plugin (YARPP)
Version 3.2.2
Comparing to
See all releases

Code changes from version 3.2.2b1 to 3.2.2

Files changed (3) hide show
  1. includes.php +1 -1
  2. readme.txt +11 -6
  3. yarpp.php +2 -2
includes.php CHANGED
@@ -276,7 +276,7 @@ function yarpp_default($content) {
276
  $type = array('post','page');
277
 
278
  if (yarpp_get_option('auto_display') and is_single())
279
- return $content.yarpp_related($type,array(),false,false,'website');
280
  else
281
  return $content;
282
  }
276
  $type = array('post','page');
277
 
278
  if (yarpp_get_option('auto_display') and is_single())
279
+ return $content . yarpp_related($type,array(),false,false,'website');
280
  else
281
  return $content;
282
  }
readme.txt CHANGED
@@ -3,11 +3,11 @@ Contributors: mitchoyoshitaka
3
  Author: mitcho (Michael Yoshitaka Erlewine)
4
  Author URI: http://mitcho.com/
5
  Plugin URI: http://mitcho.com/code/yarpp/
6
- Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=66G4DATK4999L&item_name=mitcho%2ecom%2fcode%3a%20donate%20to%20Michael%20Yoshitaka%20Erlewine&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=US&charset=UTF%2d8
7
  Tags: related, posts, post, pages, page, RSS, feed, feeds
8
  Requires at least: 3.0
9
  Tested up to: 3.1
10
- Stable tag: 3.2.1
11
 
12
  Display a list of related entries on your site and feeds based on a unique algorithm. Templating allows customization of the display.
13
 
@@ -17,14 +17,14 @@ Yet Another Related Posts Plugin (YARPP) gives you a list of posts and/or pages
17
 
18
  1. **An advanced and versatile algorithm**: Using a customizable algorithm considering post titles, content, tags, and categories, YARPP calculates a "match score" for each pair of posts on your blog. You choose the threshold limit for relevance and you get more related posts if there are more related posts and less if there are less.
19
  2. **Templating**: **New in 3.0!** The [YARPP templating system](http://mitcho.com/blog/projects/yarpp-3-templates/) puts you in charge of how your posts are displayed.
20
- 3. **Caching**: **Improved in 3.1!** YARPP organically caches the related posts data as your site is visited, greatly improving performance.
21
  4. **Related posts in RSS feeds**: Display related posts in your RSS and Atom feeds with custom display options.
22
  5. **Disallowing certain tags or categories**: You can choose certain tags or categories as disallowed, meaning any page or post with such tags or categories will not be served up by the plugin.
23
  6. **Related posts and pages**: Puts you in control of pulling up related posts, pages, or both.
24
 
25
- This plugin requires that your database run on MySQL 4.1 or greater.
26
 
27
- **Other plugins by mitcho**: [HookPress](http://wordpress.org/extend/plugins/hookpress/), [Allow LaTeX Uploads](http://wordpress.org/extend/plugins/allow-latex-uploads/), [Taxonomy Metadata](http://wordpress.org/extend/plugins/taxonomy-metadata/), [Plugin Beta Tester](http://wordpress.org/extend/plugins/plugin-beta-tester/), [Distinct Preview](http://wordpress.org/extend/plugins/distinct-preview/), [Markdown for WordPress and bbPress](http://wordpress.org/extend/plugins/markdown-for-wordpress-and-bbpress/), [WP-Smartdate](http://wordpress.org/extend/plugins/wp-smartdate/).
28
 
29
  = A note on support (June 2010) =
30
 
@@ -189,7 +189,8 @@ If you are a bilingual speaker of English and another language and an avid user
189
  * Now [ignores soft hyphens](http://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-french-overused-words) in keyword construction
190
  * Minor fix for "cross-relate posts and pages" option and more accurate `related_*()` results across post types
191
  * Localization updates:
192
- * Fixed `pt_PT` Portuguese localization files, updated `de_DE` German localization
 
193
  * Added `es_ES` Spanish localization by Rene (yarpp-es at mitcho dot com) of [WordPress Webshop](http://wpwebshop.com)
194
  * Added `ge_KA` Georgian by Kasia Ciszewski (yarpp-ge at mitcho dot com) of [Find My Hosting](www.findmyhosting.com)
195
  * Added Czech (`cs_CZ`) overused words list [by berniecz](http://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-french-overused-words)
@@ -443,3 +444,7 @@ If you are a bilingual speaker of English and another language and an avid user
443
  * Bugfix: 1.0 assumed you had Markdown installed
444
  = 1.0 =
445
  * Initial upload
 
 
 
 
3
  Author: mitcho (Michael Yoshitaka Erlewine)
4
  Author URI: http://mitcho.com/
5
  Plugin URI: http://mitcho.com/code/yarpp/
6
+ Donate link: http://tinyurl.com/donatetomitcho
7
  Tags: related, posts, post, pages, page, RSS, feed, feeds
8
  Requires at least: 3.0
9
  Tested up to: 3.1
10
+ Stable tag: 3.2.2
11
 
12
  Display a list of related entries on your site and feeds based on a unique algorithm. Templating allows customization of the display.
13
 
17
 
18
  1. **An advanced and versatile algorithm**: Using a customizable algorithm considering post titles, content, tags, and categories, YARPP calculates a "match score" for each pair of posts on your blog. You choose the threshold limit for relevance and you get more related posts if there are more related posts and less if there are less.
19
  2. **Templating**: **New in 3.0!** The [YARPP templating system](http://mitcho.com/blog/projects/yarpp-3-templates/) puts you in charge of how your posts are displayed.
20
+ 3. **Caching**: **Improved in 3.2!** YARPP organically caches the related posts data as your site is visited, greatly improving performance.
21
  4. **Related posts in RSS feeds**: Display related posts in your RSS and Atom feeds with custom display options.
22
  5. **Disallowing certain tags or categories**: You can choose certain tags or categories as disallowed, meaning any page or post with such tags or categories will not be served up by the plugin.
23
  6. **Related posts and pages**: Puts you in control of pulling up related posts, pages, or both.
24
 
25
+ This plugin requires PHP 5 and MySQL 4.1 or greater.
26
 
27
+ **See [other plugins by mitcho](http://profiles.wordpress.org/users/mitchoyoshitaka/)**.
28
 
29
  = A note on support (June 2010) =
30
 
189
  * Now [ignores soft hyphens](http://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-french-overused-words) in keyword construction
190
  * Minor fix for "cross-relate posts and pages" option and more accurate `related_*()` results across post types
191
  * Localization updates:
192
+ * Updated `de_DE` German localization files
193
+ * Fixed an encoding issue in the `pt_PT` Portuguese localization files
194
  * Added `es_ES` Spanish localization by Rene (yarpp-es at mitcho dot com) of [WordPress Webshop](http://wpwebshop.com)
195
  * Added `ge_KA` Georgian by Kasia Ciszewski (yarpp-ge at mitcho dot com) of [Find My Hosting](www.findmyhosting.com)
196
  * Added Czech (`cs_CZ`) overused words list [by berniecz](http://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-french-overused-words)
444
  * Bugfix: 1.0 assumed you had Markdown installed
445
  = 1.0 =
446
  * Initial upload
447
+
448
+ == Upgrade Notice ==
449
+ = 3.2.2 =
450
+ Requires PHP 5.
yarpp.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Yet Another Related Posts Plugin
4
  Plugin URI: http://mitcho.com/code/yarpp/
5
  Description: Returns a list of related entries based on a unique algorithm for display on your blog and RSS feeds. A templating feature allows customization of the display.
6
- Version: 3.2.2b1
7
  Author: mitcho (Michael Yoshitaka Erlewine)
8
  Author URI: http://mitcho.com/
9
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=66G4DATK4999L&item_name=mitcho%2ecom%2fcode%3a%20donate%20to%20Michael%20Yoshitaka%20Erlewine&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=US&charset=UTF%2d8
@@ -13,7 +13,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=66G4D
13
  if (isset($_REQUEST['yarpp_debug']))
14
  $yarpp_debug = true;
15
 
16
- define('YARPP_VERSION','3.2.2b1');
17
  define('YARPP_DIR',dirname(__FILE__));
18
  // 3.2.1: safer new version checking
19
  add_action('wp_ajax_yarpp_version_json', 'yarpp_version_json');
3
  Plugin Name: Yet Another Related Posts Plugin
4
  Plugin URI: http://mitcho.com/code/yarpp/
5
  Description: Returns a list of related entries based on a unique algorithm for display on your blog and RSS feeds. A templating feature allows customization of the display.
6
+ Version: 3.2.2
7
  Author: mitcho (Michael Yoshitaka Erlewine)
8
  Author URI: http://mitcho.com/
9
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=66G4DATK4999L&item_name=mitcho%2ecom%2fcode%3a%20donate%20to%20Michael%20Yoshitaka%20Erlewine&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=US&charset=UTF%2d8
13
  if (isset($_REQUEST['yarpp_debug']))
14
  $yarpp_debug = true;
15
 
16
+ define('YARPP_VERSION','3.2.2');
17
  define('YARPP_DIR',dirname(__FILE__));
18
  // 3.2.1: safer new version checking
19
  add_action('wp_ajax_yarpp_version_json', 'yarpp_version_json');