diff --git a/editions/tw5.com/tiddlers/concepts/TiddlyWikiFolders.tid b/editions/tw5.com/tiddlers/concepts/TiddlyWikiFolders.tid index 813be0dbf..67f464559 100644 --- a/editions/tw5.com/tiddlers/concepts/TiddlyWikiFolders.tid +++ b/editions/tw5.com/tiddlers/concepts/TiddlyWikiFolders.tid @@ -74,7 +74,7 @@ For example: !! Content of `tiddlers` folder -All the TiddlerFiles in the `tiddlers` folder are read into the wiki at startup. Sub-folders are scanned recursively for TiddlerFiles. Newly created tiddlers are stored in TiddlerFiles directly beneath the `tiddlers` folder, unless [[configured otherwise|Customizing Tiddler File Naming]]. +All the TiddlerFiles in the `tiddlers` folder are read into the wiki at startup. Sub-folders are scanned recursively for TiddlerFiles. Newly created tiddlers are stored in TiddlerFiles directly beneath the `tiddlers` folder, unless [[configured otherwise|Customising Tiddler File Naming]]. Sub-folders within the `tiddlers` folder can also be given a `tiddlywiki.files` JSON file that overrides the default processing for that folder. The file format is illustrated with this example: diff --git a/editions/tw5.com/tiddlers/nodejs/Customizing_Tiddler_File_Naming.tid b/editions/tw5.com/tiddlers/nodejs/Customising_Tiddler_File_Naming.tid similarity index 90% rename from editions/tw5.com/tiddlers/nodejs/Customizing_Tiddler_File_Naming.tid rename to editions/tw5.com/tiddlers/nodejs/Customising_Tiddler_File_Naming.tid index fffec83bd..0b047b934 100644 --- a/editions/tw5.com/tiddlers/nodejs/Customizing_Tiddler_File_Naming.tid +++ b/editions/tw5.com/tiddlers/nodejs/Customising_Tiddler_File_Naming.tid @@ -1,12 +1,12 @@ created: 20160424181300000 modified: 20160424181300000 tags: [[TiddlyWiki on Node.js]] -title: Customizing Tiddler File Naming +title: Customising Tiddler File Naming type: text/vnd.tiddlywiki -By default, a [[TiddlyWiki on Node.js]] instance using a [[wiki folder|TiddlyWikiFolders]] will create new tiddler files by using the sanitized and disambiguated title as filename. +By default, a [[TiddlyWiki on Node.js]] instance using a [[wiki folder|TiddlyWikiFolders]] will create new tiddler files by using the sanitised and disambiguated title as filename. -This can be customized by creating a tiddler [[$:/config/FileSystemPaths]] containing one or more [[filter expressions|Filter Syntax]], each on a line of its own. Newly created tiddlers are matched to each filter in turn, and the first output of the first filter to produce any output is taken as a logical path to be used for the tiddler file. Logical paths don't include the `.tid` extension, and they always use `/` as directory separator (when generating the physical path, this is replaced by the correct separator for the platform ~TiddlyWiki is running on). If none of the filters matches, the logical path is simply the title with all occurences of `/` replaced by `_` (for backwards compatibility). +This can be customised by creating a tiddler [[$:/config/FileSystemPaths]] containing one or more [[filter expressions|Filter Syntax]], each on a line of its own. Newly created tiddlers are matched to each filter in turn, and the first output of the first filter to produce any output is taken as a logical path to be used for the tiddler file. Logical paths don't include the `.tid` extension, and they always use `/` as directory separator (when generating the physical path, this is replaced by the correct separator for the platform ~TiddlyWiki is running on). If none of the filters matches, the logical path is simply the title with all occurences of `/` replaced by `_` (for backwards compatibility). In both cases, the characters `<>:"\|?*^ ` are replaced by `_` in order to guarantee that the resulting path is legal on all supported platforms. diff --git a/editions/tw5.com/tiddlers/releasenotes/Release 5.1.12.tid b/editions/tw5.com/tiddlers/releasenotes/Release 5.1.12.tid index e3465e1f6..45ed1b9e0 100644 --- a/editions/tw5.com/tiddlers/releasenotes/Release 5.1.12.tid +++ b/editions/tw5.com/tiddlers/releasenotes/Release 5.1.12.tid @@ -86,7 +86,7 @@ Several of the official plugins available in the plugin library have been update !! Node.js Improvements -* TBD +* [[Added|https://github.com/Jermolene/TiddlyWiki5/pull/2379]] ability to [[customise the paths used for tiddler saving|Customising Tiddler File Naming]] ! Contributors @@ -94,6 +94,7 @@ Several of the official plugins available in the plugin library have been update * [[@araname|https://github.com/araname]] * [[@BramChen|https://github.com/BramChen]] +* [[@Drakor|https://github.com/Drakor]] * [[@edrex|https://github.com/edrex]] * [[@felixhayashi|https://github.com/felixhayashi]] * [[@FND|https://github.com/FND]]