This is another nice tweak for your WordPress, with Publish The Feed later, you can schedule it and make it more easy to your reader. or do you have another plan?
I got this tips from WP Engineer, Like we all know WordPress works with a special query, which acts differently depending on the user rights. It is always saved in the variable $where and differently assembled. That means, you can extend it.
If you look at the possibilities of mySQL, there is a function timestampdiff(). I extend the query of WordPress with this function. Note to query the feed before (is_feed()), if not it will be also happening for the classical publishing of posts in your blog.
The following example publish the post 15 minutes later in your feed:
Open your functions.php theme and write this code
/**
* puplish the content in the feed later
* $where ist default-var in WordPress (wp-includes/query.php)
* This function an a SQL-syntax
*/
function publish_later_on_feed($where) {
global $wpdb;
if ( is_feed() ) {
// timestamp in WP-format
$now = gmdate('Y-m-d H:i:s');
// value for wait; + device
$wait = '5'; // integer
// http://dev.mysql.com/doc/refman/5.0/en/date-and-time-functions.html#function_timestampdiff
$device = 'MINUTE'; //MINUTE, HOUR, DAY, WEEK, MONTH, YEAR
// add SQL-sytax to default $where
$where .= " AND TIMESTAMPDIFF($device, $wpdb->posts.post_date_gmt, '$now') > $wait ";
}
return $where;
}
add_filter('posts_where', 'publish_later_on_feed');
Or you can use Plugins version



Pingback: designfloat.com
Pingback: How To Display External RSS Feeds # WordPress Tricks & Tips
Pingback: Post Thumbnail on RSS Feed | Silver Blog
Pingback: Post Thumbnail on RSS Feed | Unlock IMEI Cellphones