mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-28 02:50:27 +00:00
Merge branch 'tiddlywiki-com'
This commit is contained in:
commit
7f5a5dbe09
@ -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.
|
@ -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
|
@ -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]]
|
||||
|
@ -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/]] }}} />
|
||||
```
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user