2019-07-12 01:07:05 +03:00
|
|
|
/- publish
|
2019-07-11 21:32:30 +03:00
|
|
|
!:
|
2019-07-12 01:07:05 +03:00
|
|
|
|_ com=comment:publish
|
2019-07-11 21:32:30 +03:00
|
|
|
::
|
|
|
|
::
|
|
|
|
++ grow
|
|
|
|
|%
|
|
|
|
++ mime
|
2019-07-12 01:07:05 +03:00
|
|
|
:- /text/x-publish-comments
|
2019-07-11 21:32:30 +03:00
|
|
|
(as-octs:mimes:html (of-wain:format txt))
|
|
|
|
++ txt
|
|
|
|
^- wain
|
|
|
|
:* (cat 3 'creator: ' (scot %p creator.info.com))
|
|
|
|
(cat 3 'collection: ' collection.info.com)
|
|
|
|
(cat 3 'post: ' post.info.com)
|
|
|
|
(cat 3 'date-created: ' (scot %da date-created.info.com))
|
|
|
|
(cat 3 'last-modified: ' (scot %da last-modified.info.com))
|
|
|
|
'-----'
|
|
|
|
(to-wain:format body.com)
|
|
|
|
==
|
|
|
|
--
|
|
|
|
++ grab
|
|
|
|
|%
|
|
|
|
++ mime
|
|
|
|
|= [mite:eyre p=octs:eyre]
|
|
|
|
(txt (to-wain:format q.p))
|
|
|
|
++ txt
|
|
|
|
|= txs=(pole @t)
|
2019-07-12 01:07:05 +03:00
|
|
|
^- comment:publish
|
2019-07-11 21:32:30 +03:00
|
|
|
:: TODO: putting ~ instead of * breaks this but shouldn't
|
|
|
|
::
|
|
|
|
?> ?= $: creator=@t
|
|
|
|
collection=@t
|
|
|
|
post=@t
|
|
|
|
date-created=@t
|
|
|
|
last-modified=@t
|
|
|
|
line=@t
|
|
|
|
body=*
|
|
|
|
==
|
|
|
|
txs
|
|
|
|
:_ (of-wain:format (wain body.txs))
|
|
|
|
::
|
|
|
|
:* %+ rash creator.txs
|
|
|
|
;~(pfix (jest 'creator: ~') fed:ag)
|
|
|
|
::
|
2020-01-04 00:06:42 +03:00
|
|
|
%+ rash collection.txs
|
2019-07-11 21:32:30 +03:00
|
|
|
;~(pfix (jest 'collection: ') (cook crip (star next)))
|
|
|
|
::
|
2020-01-04 00:06:42 +03:00
|
|
|
%+ rash post.txs
|
2019-07-11 21:32:30 +03:00
|
|
|
;~(pfix (jest 'post: ') (cook crip (star next)))
|
|
|
|
::
|
|
|
|
%+ rash date-created.txs
|
|
|
|
;~ pfix
|
|
|
|
(jest 'date-created: ~')
|
|
|
|
(cook year when:so)
|
|
|
|
==
|
|
|
|
::
|
|
|
|
%+ rash last-modified.txs
|
|
|
|
;~ pfix
|
|
|
|
(jest 'last-modified: ~')
|
|
|
|
(cook year when:so)
|
|
|
|
==
|
|
|
|
::
|
|
|
|
==
|
2019-07-12 01:07:05 +03:00
|
|
|
++ noun comment:publish
|
2019-07-11 21:32:30 +03:00
|
|
|
--
|
|
|
|
++ grad %mime
|
|
|
|
--
|