1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-18 11:29:55 +00:00

Add new clientserver edition

Runs an instance of TW5 on the server and another in the browser
This commit is contained in:
Jeremy Ruston 2013-03-10 19:28:58 +00:00
parent ab8fc26ba1
commit bf2fb9cdad
7 changed files with 35 additions and 1 deletions

View File

@ -0,0 +1,4 @@
title: HelloThere
Experimental clientserver edition of TiddlyWiki5.

View File

@ -0,0 +1,6 @@
{
"plugins": [
"tiddlywiki/tiddlyweb"
],
"parentWiki": "../tw5.com"
}

View File

@ -0,0 +1,7 @@
title: $:/DefaultTiddlers
HelloThere
[[TiddlyWiki5 Editions]]
Demos
Improvements
Docs

View File

@ -0,0 +1,4 @@
title: SiteSubtitle
modifier: JeremyRuston
a reusable non-linear personal web notebook

View File

@ -0,0 +1,4 @@
title: SiteTitle
modifier: JeremyRuston
TiddlyWiki5

View File

@ -0,0 +1,9 @@
title: $:/core/templates/html-div-tiddler
<!--
This template is used for saving tiddlers as an HTML DIV tag with attributes representing the tiddler fields. This version includes the tiddler changecount as the field `revision`.
-->`<div`<$fields exclude='text revision' template=' $name$="$encoded_value$"'></$fields>` revision="`<$info type='changecount'/>`">
<pre>`<$view field="text" format="htmlencoded" />`</pre>
</div>`

View File

@ -3,7 +3,7 @@
# serve TiddlyWiki5 over HTTP
node ./tiddlywiki.js \
editions/tw5.com \
editions/clientserver \
--verbose \
--server 8080 $:/core/templates/tiddlywiki5.template.html text/plain text/html \
|| exit 1