Can plugins that filter post contents work on posts from Word 2007?

I am testing blogging from Word 2007, so we can support users who wish to do so. Everything works fine, and as expected except the plugins that we use that add filters to the_content (eg wordpress-table-of-contents) do not process the posts from Word.

If you open the posts in WordPress & save everything works fine, even if you do not change anything, but we want to be able to avoid this.

Read More

For information, the site I’m most concerned about here is an MU site (running WP 3.0.1), but non-MU sites are affected in exactly the same way.

So is there a way to have these plugins process posts that come from Word that doesn’t involve interacting with the WordPress admin panel?

Related posts

Leave a Reply

2 comments

  1. I’m not 100% sure, but I believe the content_save_pre filter runs for posts created via XML-RPC (not just the admin area). You can use this filter to strip out all of Word’s excess HTML (using kses for example).