Conversation #o2bcfia
Recent tws in this reply to #o2bcfia
@eldersnake What are you using to render your twtxt.txt on https://www.andrewjvpowell.com/twts/ ? It is #picoblog by @hxii or just the Atom feed ?
#o2bcfia
@eldersnake What are you using to render your twtxt.txt on https://www.andrewjvpowell.com/twts/ ? It is #picoblog by @hxii or just the Atom feed ?
(#o2bcfia) @darch @eldersnake I guess a better idea would be to just convert the twtxt
file to Markdown
via an awk
script and then run the whole output through smu
?
@eldersnake (#o2bcfia) Ah, I understand, I would probably convert the whole twxt
to Markdown
in one go via awk
if possible and rerun through another awk
to add wrapper div
s but probably those would be better represented as li
s so no need for the wrapping part.
@adi @eldersnake (#o2bcfia) https://pastebin.com/UtGXjG9k. You have the date in the “$1” variable. tail -r
is BSD specific, you could use tac
or awk
also I believe for reversing the lines.
(#o2bcfia) @adi @eldersnake Just run ./twtmd < ./twtxt.txt | smu > t.html
(#o2bcfia) @eldersnake You can run date
inside awk
http://onetipperday.sterding.com/2015/08/use-getline-to-capture-system-command.html
(#o2bcfia) @eldersnake Can effortlessness be more or less? 😛
@eldersnake (#o2bcfia) It wasn’t a technical question, it was philosophical regarding effortlessness. By definition an action is effortless no more no less.
(#o2bcfia) @adi @eldersnake Agree with latest N.
@adi @eldersnake (#o2bcfia) As for real pagination a combination of head
and tail
I guess?