1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-09-11 07:16:08 +00:00

Update TiddlyWeb support

Lots of changes:
* Make the built-in server support recipes and bags, albeit there's
just one of each, called "default"
* Correctly parse returned Etag to get bag of freshly PUT tiddlers
* URI encoding for tiddler titles, so that tiddlers with slashes and so
on work OK
This commit is contained in:
Jeremy Ruston
2013-03-12 19:18:56 +00:00
parent 7e57c422dc
commit 71ecb022ef
3 changed files with 56 additions and 28 deletions

View File

@@ -4,6 +4,6 @@ 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'/>`">
-->`<div`<$fields exclude='text revision bag' template=' $name$="$encoded_value$"'></$fields>` revision="`<$info type='changecount'/>`" bag="default">
<pre>`<$view field="text" format="htmlencoded" />`</pre>
</div>`