shrub/mar/x-collections-snip.hoon

22 lines
499 B
Plaintext
Raw Normal View History

/? 310
|_ [hed=marl tal=marl]
2018-08-23 23:45:39 +03:00
++ grow
|%
++ mime
=< mime
|%
++ elem ;div:(h1:"*{hed}" div:"*{tal}") :: convert to %elem
++ hymn ;html:(head:title:"snip" body:"+{elem}") :: convert to %hymn
++ html (crip (en-xml:^html hymn)) :: convert to %html
++ mime [/text/html (as-octs:mimes:^html html)] :: convert to %mime
--
++ collections-snip [hed tal]
2018-08-23 23:45:39 +03:00
--
::
++ grab
2018-08-23 23:45:39 +03:00
|%
+$ noun [marl marl]
--
--