github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

tiddlyweb / tiddlyweb-plugins

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 5
    • 1
  • Source
  • Commits
  • Network (1)
  • Issues (2)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (4)
    • encoding
    • master ✓
    • sql2
    • sqlmods
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Plugins for TiddlyWeb — Read more

  cancel

http://tiddlyweb.peermore.com/

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Handle the case in magicuser where the bag does not exist. 
Chris Dent (author)
Mon Feb 08 11:53:21 -0800 2010
commit  b3fa897c407a2b9b4cff7ca54f31daeafc315c65
tree    068dbc7332ed2993b58c2d8d20564fc45749d562
parent  fde62e1dde3a4584c8a53439432ff638488416f4
tiddlyweb-plugins / mappingsqlstore
name age
history
message
..
file COPYRIGHT Loading commit data...
file MANIFEST.in
file Makefile
file README
file mangler.py
file setup.py
file table.sql
directory test/
file tiddlywebconfig.py
directory tiddlywebplugins/
mappingsqlstore/README
mappingsql is TiddlyWeb StorageInterface implementation
that maps an RDBMS table as a bag, with each row representing
a tiddler.

It has many limitations (on purpose):

* It is READ ONLY
* It only supports one bag.
* It has no support for recipes.
* It has no support revisions.
* It has limited support for search.

You tell tiddlywebconfig.py what database you want to look
at, what table you want to map, and what bag name you want
that table to think of itself as. The column name 'id'
is mapped to tiddler.title unless overridden by the
configuration setting of 'mappingsql.id_column'. Any column
names that map to Tiddler attributes are applied. Otherwise,
columns are mapped into tiddler.fields.

Search support is used primarily with MySQL and its full text
indexing system. You may turn on this support with 
'mappingsql.full_text' set to True.

This is experimental alpha software, reading and understanding
the code is recommending before using. There is additional information
in the module docstring.

TODO:

* Make mapping of columns to tiddler attributes optional.
* Cast column data to unicode with flair.

This work was created by Chris Dent <cdent@peermore.com>
for Peermore Limited, working for Yellowcar Limited, under
the auspices of the wiki-data project of Avox.

It is license under the BSD license.
See COPYRIGHT for more information.
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server