Creating nitter user parsing as tiddler.

This commit is contained in:
ruidajo 2022-05-25 16:23:15 -05:00
parent e9d8745818
commit cb8bdbbaee

View File

@ -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"/><br/><$transclude field="profile-bio"/>'.