A way to include Discourse posts in Wordpress search results? Any clever ideas?

I started a new thread with a solution I came up with here: