Archive for September, 2007

How to deal with dates and timestamps in WordPress

Tuesday, September 25th, 2007

$post[‘post_date’] = date(‘Y-m-d H:i:s’, (!is_null($post[‘epoch’][‘issued’]) ? $post[‘epoch’][‘issued’] : $post[‘epoch’][‘modified’])); $post[‘post_modified’] = date(‘Y-m-d H:i:s’, $post[‘epoch’][‘modified’]); $post[‘post_date_gmt’] = gmdate(‘Y-m-d H:i:s’, (!is_null($post[‘epoch’][‘issued’]) ? $post[‘epoch’][‘issued’] : $post[‘epoch’][‘modified’])); $post[‘post_modified_gmt’] = gmdate(‘Y-m-d H:i:s’, $post[‘epoch’][‘modified’]); $guid = $post[‘guid’]; $result = $wpdb->get_row(” SELECT id, guid, UNIX_TIMESTAMP(post_modified) AS modified FROM $wpdb->posts WHERE guid=’$guid’ “); if (!$result) : $freshness = 2; // New content elseif […]

FeedWordPress 0.99 is hereby released; enjoy WordPress 2.2 and 2.3 compatability, bug fixes, major new features, and updates without cron

Monday, September 24th, 2007

Update 2007-11-21: FeedWordPress 0.99 is now out of date. You can download the latest release — 0.991 at the time of this writing — from the project homepage.

FeedWordPress 0.99 beta 2. Testers still wanted.

Sunday, September 16th, 2007

Update 2007-11-21: FeedWordPress 0.99b2 is now out of date. You can download the latest release — 0.991 at the time of this writing — from the project homepage.

FeedWordPress 0.99 beta 1. Testers wanted.

Friday, September 14th, 2007

Update 2007-11-21: FeedWordPress 0.99b1 is now out of date. You can download the latest release — 0.991 at the time of this writing — from the project homepage.