diff --git a/Socialmetrica.package/NitterUser.class/instance/asTiddler.st b/Socialmetrica.package/NitterUser.class/instance/asTiddler.st new file mode 100644 index 0000000..bb7d609 --- /dev/null +++ b/Socialmetrica.package/NitterUser.class/instance/asTiddler.st @@ -0,0 +1,16 @@ +accessing +asTiddler + + | tempDict tiddler | + tiddler := Tiddler new. + tiddler customFields. + tempDict := self asDictionary. + tempDict keysAndValuesDo: [ :key :value | + tiddler customFields at: key put: value + ]. + ^ tiddler + created; + title: (tiddler customFields at: 'profile-card-fullname'); + type: 'text/vnd.tiddlywiki'; + text: + '@<$transclude field="profile-card-username"/>
<$transclude field="profile-bio"/>'. \ No newline at end of file