tiddlywebplugins.mysql2MySQL-based store for TiddlyWeb | |
Download |
tiddlywebplugins.mysql2 Ranking & Summary
Advertisement
- License:
- Other/Proprietary Li...
- Publisher Name:
- Chris Dent
- Publisher web site:
- http://search.cpan.org/~cdent/Kwiki-Test-0.03/lib/Kwiki/Test.pm
tiddlywebplugins.mysql2 Tags
tiddlywebplugins.mysql2 Description
MySQL-based store for TiddlyWeb tiddlywebplugins.mysql2 is a plugin for TiddlyWeb subclassing tiddlywebplugins.sqlalchemy2 with MySQL specifics.The main additions here are two:* Provide a reasonable search interface using mysql's fulltext.* Provide an index_query method to allow the plugin to be used as an 'indexer' for filters and determine_bag_for_tiddler.NOTES:It's import to set some mysql my.cnf variables otherwise searches will likely fail.ft_min_word_len = 3ft_stopword_file = ''You will need to create a database. I use one called 'tiddlyweb', and add the following to tiddlywebconfig.py: 'server_store': , 'indexer': 'tiddlywebplugins.mysql',If you want to use the fulltext indexing capability you will need to create the fulltext index: CREATE FULLTEXT INDEX tiddlytext ON text(text);Thanks to Adrian Hosey for help over some SQL humps. Requirements: · Python
tiddlywebplugins.mysql2 Related Software