2015-12-08 00:01:38 +03:00
|
|
|
:: Simple rss transformer
|
|
|
|
::
|
2016-01-30 01:41:19 +03:00
|
|
|
:::: /hoon/rss-xml/ren
|
2015-12-08 00:01:38 +03:00
|
|
|
::
|
2016-02-18 02:16:33 +03:00
|
|
|
/? 310
|
2016-11-11 02:26:50 +03:00
|
|
|
/= sum /% /&front&/|(/front/ /~[~])
|
|
|
|
/= kid /^ :(map knot knot cord)
|
|
|
|
/% /_ /front/
|
2016-02-18 02:16:33 +03:00
|
|
|
/$ |=({bem/beam *} [our=p.bem tub=(slag 1 (flop s.bem))])
|
|
|
|
!:
|
|
|
|
:::: ~fyr, ~tasfyn-partyv
|
2015-12-08 00:01:38 +03:00
|
|
|
::
|
2016-02-26 04:22:03 +03:00
|
|
|
::~& [sum=sum kid=kid]
|
2015-12-08 00:01:38 +03:00
|
|
|
:: Link from relative path
|
2016-02-26 04:22:03 +03:00
|
|
|
=+ hok=.^(hart %e /(scot %p our)/host/real)
|
2016-02-18 02:16:33 +03:00
|
|
|
=+ ref=|=(a/path (earn hok `(weld tub a) ~))
|
2016-11-11 02:26:50 +03:00
|
|
|
=/ atrs
|
|
|
|
|= a/(map cord cord)
|
|
|
|
:* title=(fall (~(get by a) %title) '')
|
|
|
|
preview=(fall (~(get by a) %preview) '')
|
|
|
|
author=(fall (~(get by a) %author) '')
|
|
|
|
date=(fall (~(get by a) %date) '')
|
|
|
|
==
|
2015-12-08 00:01:38 +03:00
|
|
|
::
|
|
|
|
%- crip %- poxo
|
|
|
|
;rss(version "2.0")
|
2016-11-11 02:26:50 +03:00
|
|
|
:: ;raw: *{(turn (wash 0^80 >% .<) |=(a/tape ;l:"{a}"))}
|
2015-12-08 00:01:38 +03:00
|
|
|
;channel
|
2016-11-11 02:26:50 +03:00
|
|
|
;* =/ a (atrs sum)
|
|
|
|
;=
|
|
|
|
;title: {(trip title.a)}
|
|
|
|
;link: {(ref /)}
|
|
|
|
;description: {(trip preview.a)}
|
|
|
|
==
|
2015-12-08 00:01:38 +03:00
|
|
|
;* %+ turn (~(tap by kid))
|
2016-11-11 02:26:50 +03:00
|
|
|
|= {nom/@t som/(map knot cord)}
|
|
|
|
=/ a (atrs som)
|
2015-12-08 00:01:38 +03:00
|
|
|
;item
|
|
|
|
;link: {(ref /[nom])}
|
2016-11-11 02:26:50 +03:00
|
|
|
;title: {(trip title.a)}
|
|
|
|
;author: {(trip author.a)}
|
|
|
|
;description: {(trip preview.a)}
|
|
|
|
;* %- drop
|
|
|
|
%+ bind (slaw %da date.a)
|
|
|
|
|= b/@da ^- manx
|
|
|
|
;date:"{(dust (yore b))}"
|
2015-12-08 00:01:38 +03:00
|
|
|
==
|
|
|
|
==
|
|
|
|
==
|