urbit/mar/html.hoon
2016-02-17 15:00:12 -08:00

19 lines
646 B
Plaintext

::
:::: /hoon/html/mar
::
/? 310
::
:::: compute
::
|_ htm/@t
::
++ grow :: convert to
|% ::
++ mime [/text/html (met 3 htm) htm] :: to %mime
++ hymn (need (poxa htm)) :: to %hymn
-- ::
++ grab |% :: convert from
++ noun @t :: clam from %noun
++ mime |=({p/mite q/octs} q.q) :: retrieve form $mime
-- --