- France
- https://tilde.town/~lucidiot/
- Joined on
2019-11-16
title
is only useful for type="rss"
outlines, where it's supposed to be the <title>
of the RSS feed, so this can be omitted from other outlines
Couldn't those two jq
calls be merged into a { data: map(select(.feed != null)) }
, or maybe the filtering can be done in recsel
directly?
Perhaps the index page could help with the static webring mode by having a HTML/Gophermap/Gemtext generator where you select yourself and it makes the hardcoded links. Surely more JavaScript is the solution for the no-JS case!
Xidel supports this: xidel 'https://tilde.town/~lucidiot/itsb/' --follow '//a[img[@alt="rss"]]/@href' --extract /rss/channel/title
retrieves the contents…
Another tool to experiment with: Xidel, which provides XQuery/JSONiq instead of jq scripts. This sounds simpler and more powerful than jq, since Xidel can…