1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-26 18:10:27 +00:00
TiddlyWiki5/editions/tw5tiddlyweb/tiddlers/TiddlyWiki5 for TiddlyWeb.tid

37 lines
1.1 KiB
Plaintext

title: TiddlyWiki5 for TiddlyWeb
Experimenting with ~TiddlyWeb integration for ~TiddlyWiki5. Features:
* Loads skinny tiddlers from entire recipe at startup/login
* Subsequently syncs changes back to the server
* Polls for changes from the server
To do:
* Use of `if-match` header
* Deleting tiddlers
* Routing newly created tiddlers to TiddlyWeb
To try it out, create a new space, include the space `tw5tiddlyweb`, and then visit `<myspace>.tiddlyspace.com/tw5`.
----
Current [[login status|$:/plugins/tiddlyweb/IsLoggedIn]]: {{$:/plugins/tiddlyweb/IsLoggedIn}}
Current [[username|$:/plugins/tiddlyweb/UserName]]: {{$:/plugins/tiddlyweb/UserName}}
----
<$reveal state="$:/plugins/tiddlyweb/IsLoggedIn" type="nomatch" text="yes">
Log in to ~TiddlyWeb: <$button message="tw-login" class="btn btn-info">Login</$button>
</$reveal>
<$reveal state="$:/plugins/tiddlyweb/IsLoggedIn" type="match" text="yes">
Log out of ~TiddlyWeb: <$button message="tw-logout" class="btn btn-warning">Logout</$button>
</$reveal>
----
All tiddlers:
<$list type="all" template="TiddlerListTemplate"/>