After searching to no avail for a while, I finally broke down and wrote my own version of a django application capable of hosting numerous blogs on one site. You really wouldn’t think it would be this hard. Hosting multiple blogs is not difficult. But perhaps that’s why there’s no project for it. Either way, I also had to mercilessly hack on codekoala’s wonderful django-articles project, as I really did not want to have to reinvent all his wonderful post management code.
What that means, of course, is that multiblogs depends pretty heavily on my fork of the articles application. But it was worth it to not have to repeat myself. It also means that, as with most projects that require multiple blogs, you get the articles app for free, for some sort of canonical blog, or news posting mechanism.
The long and the short of multiblogs is that, beyond simply giving you the ability to have many blogs, you can also group them. My motivation here was to allow a school to have a “student” blog section and other sections for after school programs or teachers. Thus, the blog set “student voices” would be sequestered under it’s own url, very clearly separating it from any other blogs on the site.
Of course, if all you want are multiple blogs, you can use the MULTIBLOGS_WITHOUT_SETS setting set to false to achive that. Multiblogs will then rip all the set-related urls and models out of the app. Cool.
So pickup a copy of the project at github and remember to use my forked version of django-articles.
—
Discuss this post on Twitter with #onec-dj-mb