Modifying nitter user parse as dictionary and as tiddler.
This commit is contained in:
parent
cb8bdbbaee
commit
5fdad7fa69
@ -4,6 +4,7 @@ asDictionary
|
|||||||
| tweets |
|
| tweets |
|
||||||
tweets := self messages.
|
tweets := self messages.
|
||||||
^ { 'profile-card-avatar' -> self profileImageFile fullName.
|
^ { 'profile-card-avatar' -> self profileImageFile fullName.
|
||||||
|
'profile-card-avatar-url' -> self profileImageUrl.
|
||||||
'profile-card-fullname' -> self name .
|
'profile-card-fullname' -> self name .
|
||||||
'profile-card-username' -> self userName .
|
'profile-card-username' -> self userName .
|
||||||
'profile-bio' -> self profileBio.
|
'profile-bio' -> self profileBio.
|
||||||
|
@ -10,7 +10,7 @@ asTiddler
|
|||||||
].
|
].
|
||||||
^ tiddler
|
^ tiddler
|
||||||
created;
|
created;
|
||||||
title: (tiddler customFields at: 'profile-card-fullname');
|
title: (tiddler customFields at: 'profile-card-username');
|
||||||
type: 'text/vnd.tiddlywiki';
|
type: 'text/vnd.tiddlywiki';
|
||||||
text:
|
text:
|
||||||
'@<$transclude field="profile-card-username"/><br/><$transclude field="profile-bio"/>'.
|
'<<image-card "', self profileImageUrl, '" title:', ($' asString), '<$transclude field="profile-card-fullname"/>', ($' asString), 'text:', ($' asString), '<$transclude field="profile-bio"/>', ($' asString), 'footer:', ($' asString), '@<$transclude field="profile-card-username"/>', ($' asString), 'align:"center" pos:"top">>'.
|
Loading…
Reference in New Issue
Block a user