urbit/gen/twit/twitter-feed.hoon

23 lines
462 B
Plaintext
Raw Normal View History

:: Display twitter feed
::
:::: /hook/core/twitter-feed/app
::
/+ sh-utils
!:
::
:::: ~fyr
::
2015-12-15 03:45:52 +03:00
|_ {hide $~}
++ stat {id+@u who+@ta now+@da txt+@t}
++ rens
2015-09-12 03:24:51 +03:00
:- %say
|=(stat rose/[": " `~]^~[leaf/"{<now>} @{(trip who)}" leaf/(trip txt)])
2015-12-15 03:45:52 +03:00
++ peer _`.
++ poke--args
2015-12-15 03:45:52 +03:00
|= {ost+bone his+ship who+span $~}
%.(+< (add-subs [[our /twit] our /user/[who]] ,_`+>.$))
::
++ posh-twit-feed
2015-12-15 03:45:52 +03:00
(args-into-gate . |+(a=(list stat) tang/(turn a rens)))
--