Skip to the main content
mkfifo.com

/bin/atom

The builtin atom of mkfifo.com: it changes a feed of JSON Feed 1.1 into an Atom feed. In a body of XML, its output goes in as it is.

Use it from the web

Its address is https://mkfifo.com//bin/atom, with two slashes. Send a POST: the body is the input, and the query gives the words, between & and with percent-encoding. The answer is the output, as the command of a shell writes it. An error gives 422 and the error.

printf '%s' '{"title": "Notes", "home_page_url": "https://mkfifo.com/notes", "items": [{"id": "https://mkfifo.com/notes/a", "title": "A note", "date_published": "2026-10-08T19:17:00Z"}]}' | curl --data-binary @- 'https://mkfifo.com//bin/atom'

The answer (200):

<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<id>https://mkfifo.com/notes</id>
<title>Notes</title>
<link rel="alternate" href="https://mkfifo.com/notes"/>
<updated>2026-10-08T19:17:00Z</updated>
<entry>
<id>https://mkfifo.com/notes/a</id>
<title>A note</title>
<published>2026-10-08T19:17:00Z</published>
<updated>2026-10-08T19:17:00Z</updated>
</entry>
</feed>

Use it in an envelope

A pipe gives a value to it, as to a FIFO: $body | /bin/atom. An egress envelope can send to it, To: /bin/atom, and Reply-To gives its answer to a FIFO. These give no words: use the builtin itself for words, as in $body | jq .id.

A builtin here has no FIFO as its home: no code of totp and no sealed key of a FIFO opens in it. Each run counts in the limits of its Request.