Improving format conversion with KML/MapsMe support.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2021-09-04 14:27:49 -05:00
parent d76aacfc81
commit dad204f542
1 changed files with 11 additions and 0 deletions

View File

@ -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