1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 03:57:21 +00:00

Merge branch 'tiddlywiki-com'

This commit is contained in:
Jeremy Ruston 2019-09-03 10:12:01 +01:00
commit 7f5a5dbe09
5 changed files with 26 additions and 5 deletions

View File

@ -7,4 +7,4 @@ title: Syncadaptor
A module with ``module-type: syncadaptor`` provides functionality to get a list of tiddlers (this list is provided as ~SkinnyTiddlers, which are normal tiddlers without the text field) and to load, save and delete single tiddlers. A syncadaptor can also provide functions to login and logout so that syncadaptor modules can be used to synchronize tiddlers with a remote server.
The syncer module only uses one syncadaptor and honours a special [[system tiddler|System Tiddlers]] [[$:/config/SyncFilter]] containing a [[filter string|Tags and Filter Mechanism]]. Tiddlers matching this filter string are not synced with a syncadapter.
The syncer module only uses one syncadaptor and honours a special [[system tiddler|System Tiddlers]] [[$:/config/SyncFilter]] containing a [[filter string|Tags and Filter Mechanism]]. Tiddlers matching this filter string are not saved to the server with a syncadapter. It uses the [[WebServer API|https://tiddlywiki.com/#WebServer%20API%3A%20Get%20All%20Tiddlers]] to load modified tiddlers from the server, which returns only non-system tiddlers.

View File

@ -0,0 +1,13 @@
created: 20191029084535805
modified: 20191029084535805
tags: [[Hidden Settings]]
title: Hidden Setting: Sync Polling Interval
type: text/vnd.tiddlywiki
Specifies the interval at which [[Syncadaptor|https://tiddlywiki.com/dev/#Syncadaptor]] synchronizes tiddlers between the server and the browser.
Defaults to "60000" (60 * 1000 ms = 1 min).
Changing needs restart to take effect.
$:/config/SyncPollingInterval

View File

@ -1,10 +1,10 @@
created: 20181002131215403
modified: 20181003174025431
modified: 20190903094711346
tags: [[WebServer API]]
title: WebServer API: Get All Tiddlers
type: text/vnd.tiddlywiki
Gets an array of all raw tiddlers, excluding the ''text'' field.
Gets an array of all raw non-system tiddlers, excluding the ''text'' field.
```
GET /recipes/default/tiddlers.json
@ -19,4 +19,4 @@ Response:
* 200 OK
*> `Content-Type: application/json`
*> Body: array of tiddlers in [[TiddlyWeb JSON tiddler format]]
*> Body: array of all non-system tiddlers in [[TiddlyWeb JSON tiddler format]]

View File

@ -85,6 +85,6 @@ Filtered attribute values are indicated with triple curly braces around a [[Filt
This example shows how to add a prefix to a value:
```
<$text text={{{ [<currentTiddler>]addPrefix[$:/myprefix/]] }}}>
<$text text={{{ [<currentTiddler>addprefix[$:/myprefix/]] }}} />
```

View File

@ -363,3 +363,11 @@ Dong Zhihong, @donmor, 2019/05/29
Joshua Stubbs, @LordRatte, 2019/05/31
Robin Munn, @rmunn, 2019/06/16
Mark Kerrigan, @markkerrigan, 2019/08/24
Stefan Schuster-Teupke, @StefanSTFG, 2019/08/26
Nils-Hero Lindemann, @heronils, 2019/08/26
Mark Stegeman, @markstegeman, 2019/08/31