Follow

I really needed something like `jq`, but for XML (i.e. XPath). A quick look at the Debian repos told me they provide `xmlstarlet`, and it's exactly that.

E.g., to extract all URLs from an Internet Archive collection RSS feed:

`xmlstarlet sel -t -v "/rss/channel/item/enclosure/@url" collection.rss`

· · Web · 1 · 0 · 1

For some reason, I keep thinking that the Mastodon web client renders Markdown in toots, and I keep getting disappointed.

Sign in to participate in the conversation
Mathstodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!