TWiki + Automatic MT-Search = WeblogWithWiki
I just discovered and integrated MTSearch into DecafbadWiki by using a TWiki include to pull in a search constructed with the current wiki topic's name. It took all of 15 minutes, including the time to login and download MTSearch to my server. This, along with my MTXmlRpcFilterPlugin, completes a simple but effective automatic loop between blog and wiki. I think this pretty much satisfies my original goal of a WeblogWithWiki.
That was so much easier than I'd thought it would be. One of those things I kept thinking "Wouldn't it be nice if?" but kept procrastinating because I thought it'd be so much harder.
I'm still amazed that ItJustWorks.
shortname=ooobho
Archived Comments
I installed MT-Search, which is pretty much just unpacking it and copying a few things around.
I made an alternate template for search results, which I stripped down to nothing but an unordered list. This basically entailed copying the default.tmpl in the search_templates directory and deleting most of the file.
I added this toward the bottom of my view.tmpl in TWiki:
---++ Related weblog entries %INCLUDE{"http://www.decafbad.com/mt/mt-search.cgi?Template=wikiblog&search=%TOPIC%"}%
It was really easy to get going for me. I'm using MT with MySQL, so I'm not sure if the old non-MySQL installs would have a different experience installing MT-Search, but I doubt it.
Hope that helps :)
Anyway great hack!! Thanks!
I could be completely wrong though
[[http://www.10500bc.org/mt/mt-search.cgi?Template=wikiblog&search=%TOPIC%][Search Blog For More Entries]]