Author Archive

FeedWordPress 0.992: author remapping and URI bug fix

Monday, February 4th, 2008

Update 2008-11-06: FeedWordPress 0.992 is now out of date. You can download the latest release — 2008.1105 at the time of this writing — from the project homepage.

FeedWordPress 0.991: bug fixes, reorganization, minor features added — and MU compatability

Thursday, November 22nd, 2007

Update 2008-11-06: FeedWordPress 0.991 is now out of date. You can download the latest release — 2008.1105 at the time of this writing — from the project homepage. */15 * * * * curl –silent http://www.zyx.com/blog/?update_feedwordpress=1

Humanized History for WordPress 2007.10.08

Monday, October 8th, 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 […]