[wp-hackers] Tracking changes for posts

Matt Mullenweg m at mullenweg.com
Fri Jul 2 15:30:28 UTC 2010

Could you please change your name and email, and if you're going to use 
something so confusing at least capitalize the P correctly.

On 7/1/2010 6:23 PM, Wordpress Developer wrote:
> I'm developing for a platform that pushes out posts to other systems on
> publish. I'd like to be able to inform these systems when there is an update
> to the original item, be it a new excerpt, title, or whatever.
> In an ideal world I'd be able to do this through something like pubsubhubbub
> but the Wordpress plugin is hooked to a publish event vs. the
> transition_post_status hook, which is what I'm looking to use.
> So right now I'm scoping out creating a DB table that will track posts
> changes such that I can create an RSS feed of items those outside systems
> should update.
> Does anyone have some advice as to the best way to go about tracking changes
> for posts? I imagine I look for $post->post_type == "revision" -- but then
> what? Is there an elegant way to narrow down to the morsels of info that got
> updated?
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

Matt Mullenweg
http://ma.tt | http://wordpress.org | http://automattic.com

More information about the wp-hackers mailing list