Since we haven’t had time to finish setting up code.curse.com, I pushed both our wikimarkup app, and the SphinxSearch ORM layer to Google code.
wikimarkup is a Python library (Django isn’t required) which allows you to format text based on the MediaWiki standards. Several benchmarks we did have shown this to be 2-2.5x faster than Trac’s wiki formatting.
django-sphinx is a wrapper for the Django ORM and the Sphinx full-text search engine. It allows you to easily build objects using full-text search.

7 Responses to "MediaWiki markup and SphinxSearch for Django"
Hello, I’m using your django-sphinx right now for my degree work at Univeristy of Siena, Italy. YOU ARE GREAT.
I’m trying to figure out how to have the relevance of every django-model-object that I get with search.query. I know I can order by @relevance but I need the relevance value too.
Anyway, for me django-sphinx was a lifesaver.
THX
I can’t believe I didn’t think of that. I’m going to rewrite a bit of it to extend QuerySet I think. I’ll include a custom attribute on the base object for the sphinx relevance results, and anything else that may be attached to each object.
Hi, I’m new to Django and Sphinx. Can i ask you how do i inetgrate the django-sphinx wrapper into my django application ? I have my own model file but i do not understand where do i put the codes that i downloaded from http://code.google.com/p/django-sphinx/ . Really need you advice and help. Thanks in advance.
Yea, agreed. This Sphinx ORM for Django is really poorly documented.I’ve got both Django site and search engine running on my server, but don’t know how to make them work together. Some basic noob directions would be nice. Tnx. BTW, this blog shows up on top of all “Django Sphinx” searches. Nice…
Hey David Blue-Man,
I am finding your wiki engine really impressive. I am running a site with a lot of editable text (http://videolectures.net) and am currently running a Creole wiki engine but I find it a bit lacking in functionality.
Even though I can say, I was able to easily extend the python creole engine a little bit (custom references with images, LaTeX equations, etc.) but I am nevertheless a bit dissatisfied with the current solution. I need more control for positioning, images, etc… I guess media-wiki would fit much more nicely.
On the other hand, the license on the creole processor is a bit more relaxed - I'd prefer to standardize on something I can also use in partly commercial projects.
Anyway… I would like to ask you, about the status of wikimarkup - is it ready to use, is it installed somewhere, is it being used in any production level environment, will it be maintained.
It was used for Curse.com (slightly modified, as we had a full wiki app at one point). I'm willing to maintain it, but as I don't use it myself in any production environments, I'd have to be encouraged in order to add features.
However, if there is interest, I'd gladly accept patches, or even requests.
David,
Thanks for your prompt reply. And thank You for the blog posts - they are an extremely informative an valuable resource.
Leave A Reply