Tiddler Wiki - Usermgmt, Hiding, Translations

84 views
Skip to first unread message

Vinzent

unread,
Sep 2, 2015, 11:47:56 AM9/2/15
to TiddlyWiki
Hello,

upfront: I love the idea of tiddlers and how it is implemented - Amazing work! Thank you for that great implementation.

We are considering using tiddler as well, but don't find a solution to the follwing yet:

  1. Lokalisation: How can we translate "Tiddlers" e.g. if we want to host a tiddlyWiki page and serve it to users in different languages. Can we somehow link it with po-translation software e.g. gettext, or weblate? 
    We did find all kinds of information on how to translate keys (e.g. http://tiddlywiki.com/editions/translators/), but not the content itself ...

  2. Usermgmt: How can we set the general access to read only (so that the user will not even "see" the option of changing a Tiddler) depending on the user role? 
    We already have a REST-API login system, but we are not sure on how to e.g. show our users the "read only" page and e.g. our "editors" the tiddlyWiki admin page.

  3. Hiding tiddlers: how can we make some tiddlers only available to admins? So a user could not access them at all - e.g all system tiddlers.

  4. API: where do we find a list of all the different methods(), properties, attributes in TiddlyWiki? As we might want to add a new plugin similar to https://github.com/emkayonline/tw5visjs
    And: Anyone knows if there is a REST Interface to programmatically access a TiddlyWiki?


Thanks for your help,

Vinz

Danielo Rodríguez

unread,
Sep 2, 2015, 12:56:57 PM9/2/15
to TiddlyWiki
There is no such REST. Tiddlywiki is a single page offline application, how do you expect it to have a rest API?

Apart from that, I think you have asked for all the main tiddlywiki's shortcomings.

There is no API list, you have to "dig" on the project's repo. You can check tiddlywiki.com/dev but it holds about half of the information.

What you have described sounds more like tiddlySpace rather than TiddlyWiki alone.

Mat

unread,
Sep 2, 2015, 3:35:55 PM9/2/15
to TiddlyWiki
Lokalisation: How can we translate "Tiddlers" e.g. if we want to host a tiddlyWiki page and serve it to users in different languages. Can we somehow link it with po-translation software e.g. gettext, or weblate?  
We did find all kinds of information on how to translate keys (e.g. http://tiddlywiki.com/editions/translators/), but not the content itself ...
 
Without knowing much about this area, I'd think a nodejs tiddlywiki would be more manageable to have specific tiddlers manipulated with external software. Or maybe this piece to reference tiddlers via _canonical_uri is a possible route. (...or maybe I'm completely off).


Usermgmt: How can we set the general access to read only (so that the user will not even "see" the option of changing a Tiddler) depending on the user role? 
We already have a REST-API login system, but we are not sure on how to e.g. show our users the "read only" page and e.g. our "editors" the tiddlyWiki admin page.

This basic idea, that shows or hides the sidebar based on url/domain, and should be easily changed to show/hide stuff based on any other criteria such as particular user names or group names. For my TWaddle site I use one on-line page for my authoring etc and then upload a "filtered" version to the public site. This is based on a solution from Jeremy described/linked to here that filters the saving.
 

Hiding tiddlers: how can we make some tiddlers only available to admins? So a user could not access them at all - e.g all system tiddlers.

(see prev. question)


<:-)
Reply all
Reply to author
Forward
0 new messages