mirror of
https://github.com/urbit/shrub.git
synced 2024-12-12 10:29:01 +03:00
18 lines
394 B
Plaintext
18 lines
394 B
Plaintext
:: Display twitter feed
|
|
::
|
|
:::: /hoon/feed/twit/gen
|
|
::
|
|
/- twitter
|
|
!:
|
|
:::: ~fyr
|
|
::
|
|
:- %say
|
|
|= $: {now/@da eny/@uvI bek/beak}
|
|
{{who/iden $~} typ/?($home $user)}
|
|
==
|
|
=+ pax=/(scot %p p.bek)/twit/(scot %da now)/[typ]/[who]
|
|
:- %tang
|
|
%+ turn (flop .^((list post:twitter) %gx pax))
|
|
|= post:twitter ^- tank
|
|
rose+[": " `~]^~[leaf+"{<now>} @{(trip who)}" leaf+(trip txt)]
|