RSS Includes Pages - Version 1.4

Version Description

  • Tweaked SQL that looks for updated posts / pages.
Download this release

Release Info

Developer Marios Alexandrou
Plugin Icon 128x128 RSS Includes Pages
Version 1.4
Comparing to
See all releases

Code changes from version 1.3 to 1.4

Files changed (2) hide show
  1. readme.txt +12 -6
  2. rss-includes-pages.php +2 -2
readme.txt CHANGED
@@ -1,9 +1,11 @@
1
  === RSS Includes Pages ===
2
- Contributors: marios-alexandrou
3
  Tags: rss, feed, feeds, pages
4
  Requires at least: 2.5
5
- Tested up to: 3.2.1
6
- Stable tag: 1.3
 
 
7
 
8
  Modifies RSS feeds so that they include pages and not just posts.
9
 
@@ -26,11 +28,11 @@ Yes. The modifications to the feed are done at a low level and other plugins sho
26
 
27
  = I just activated the plugin, why don't I see pages in my feed? =
28
 
29
- If you're using Feedburner you'll have to wait until your updated feed is picked up by Feedburner. This isn't immediate so give it a few hours.
30
 
31
  = I just posted a page, why don't I see it in my feed? =
32
 
33
- If you're using Feedburner you'll have to wait until your updated feed is picked up by Feedburner. This isn't immediate so give it a few hours.
34
 
35
  = Where are the settings? =
36
 
@@ -60,4 +62,8 @@ http://wordpress.org/extend/plugins/real-time-find-and-replace/
60
  * FAQ updates and confirming plugin works with WordPress 2.9.2.
61
 
62
  = 1.3 =
63
- * Confirm that plugin works fine with WordPress 3.2.1.
 
 
 
 
1
  === RSS Includes Pages ===
2
+ Contributors: Marios Alexandrou
3
  Tags: rss, feed, feeds, pages
4
  Requires at least: 2.5
5
+ Tested up to: 3.4
6
+ Stable tag: 1.4
7
+ License: GPLv2 or later
8
+ License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
10
  Modifies RSS feeds so that they include pages and not just posts.
11
 
28
 
29
  = I just activated the plugin, why don't I see pages in my feed? =
30
 
31
+ If you're using Feedburner you'll have to wait until your updated feed is picked up by Feedburner. This isn't immediate so give it a few hours. Also, WordPress caches feeds and doesn't rebuild it on the fly.
32
 
33
  = I just posted a page, why don't I see it in my feed? =
34
 
35
+ If you're using Feedburner you'll have to wait until your updated feed is picked up by Feedburner. This isn't immediate so give it a few hours. Also, WordPress caches feeds and doesn't rebuild it on the fly.
36
 
37
  = Where are the settings? =
38
 
62
  * FAQ updates and confirming plugin works with WordPress 2.9.2.
63
 
64
  = 1.3 =
65
+ * Confirmed that plugin works fine with WordPress 3.2.1.
66
+
67
+ = 1.4 =
68
+
69
+ * Tweaked SQL that looks for updated posts / pages.
rss-includes-pages.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  Plugin Name: RSS Includes Pages
4
- Version: 1.3
5
  Plugin URI: http://infolific.com/technology/software-worth-using/include-pages-in-wordpress-rss-feeds/
6
  Description: Include pages (not just posts) in RSS feeds. Particularly useful to those that use WordPress as a CMS.
7
  Author: Marios Alexandrou
@@ -43,7 +43,7 @@ function ma_get_lastpostmodified($lastpostmodified, $timezone){
43
 
44
  //queires taken from wp-includes/post.php modified to include pages
45
  $lastpostmodified = $wpdb->get_var("SELECT post_modified_gmt FROM $wpdb->posts WHERE post_status = 'publish' AND (post_type = 'post' OR post_type = 'page') ORDER BY post_modified_gmt DESC LIMIT 1");
46
- $lastpostdate = $wpdb->get_var("SELECT post_date_gmt FROM $wpdb->posts WHERE post_status = 'publish' AND (post_type = 'post' OR 'page') ORDER BY post_date_gmt DESC LIMIT 1");
47
  if ( $lastpostdate > $lastpostmodified ) {
48
  $lastpostmodified = $lastpostdate;
49
  }
1
  <?php
2
  /*
3
  Plugin Name: RSS Includes Pages
4
+ Version: 1.4
5
  Plugin URI: http://infolific.com/technology/software-worth-using/include-pages-in-wordpress-rss-feeds/
6
  Description: Include pages (not just posts) in RSS feeds. Particularly useful to those that use WordPress as a CMS.
7
  Author: Marios Alexandrou
43
 
44
  //queires taken from wp-includes/post.php modified to include pages
45
  $lastpostmodified = $wpdb->get_var("SELECT post_modified_gmt FROM $wpdb->posts WHERE post_status = 'publish' AND (post_type = 'post' OR post_type = 'page') ORDER BY post_modified_gmt DESC LIMIT 1");
46
+ $lastpostdate = $wpdb->get_var("SELECT post_date_gmt FROM $wpdb->posts WHERE post_status = 'publish' AND (post_type = 'post' OR post_type = 'page') ORDER BY post_date_gmt DESC LIMIT 1");
47
  if ( $lastpostdate > $lastpostmodified ) {
48
  $lastpostmodified = $lastpostdate;
49
  }