Mercurial > hg > TagInTheMiddle
changeset 9:12344c001831
note comment for future exploration
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Wed, 05 May 2010 22:18:40 -0700 |
parents | fc3491dfe374 |
children | 4c9acbfaa2d2 |
files | taginthemiddle/model.py |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/taginthemiddle/model.py +++ b/taginthemiddle/model.py @@ -3,16 +3,20 @@ - a list of resources they're applied to - a time they're applied - for multi-user tags, the author should be passed (fudge for now) for now just assume auth is on and that anyone authenticated may tag e.g. a tags file foo = /bar:1273023556 /fleem/baz:1273023556 etc cats = /cats:1273023556 /blog/mycat:1273023556 + +Ideally, the form of tags would be something like a table + +Tag | URL | Author | Date [seconds since epoch] """ import os import time class Tags(object): """file (e.g. .ini) based tagging scheme"""