From dad204f54289123582fc69d48fc2727121d9899e Mon Sep 17 00:00:00 2001 From: Offray Luna Date: Sat, 4 Sep 2021 14:27:49 -0500 Subject: [PATCH] Improving format conversion with KML/MapsMe support. --- repository/TiddlyWiki/Tiddler.class.st | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/repository/TiddlyWiki/Tiddler.class.st b/repository/TiddlyWiki/Tiddler.class.st index 58bd064..ef8beca 100644 --- a/repository/TiddlyWiki/Tiddler.class.st +++ b/repository/TiddlyWiki/Tiddler.class.st @@ -40,6 +40,12 @@ Tiddler >> asDictionary [ at: 'created' put: self created asString; at: 'tags' put: self tags; at: 'type' put: self type; + at: 'creator' put: self creator; + at: 'modifier' put: self modifier; + at: 'modified' put: self modified; + at: 'bag' put: self bag; + at: 'revision' put: self revision; + at: 'customFields' put: self customFields; yourself. ] @@ -54,6 +60,11 @@ Tiddler >> asJsonTempFile [ ] +{ #category : 'accessing' } +Tiddler >> asKmlWithTemplate: aTemplate [ + ^ aTemplate asMustacheTemplate value: self asDictionary +] + { #category : 'accessing' } Tiddler >> bag [ ^ bag