Liking cljdoc? Tell your friends :D

dk.simongray.micropub

Micropub entries and actions as data, and a client that discovers an endpoint and sends it actions and queries.

An entry is microformats2 JSON as microformats-clj parses it: a map of its :type, e.g. ["h-entry"], and its :properties, a map of keywords to vectors of values. An action is a Micropub request in the same shape, as the server namespace reads it, e.g.

{:action  :update
 :url     "https://simon.grays.blog/posts/2026/hello"
 :replace {:content ["Hello again"]}
 :delete  [:location]}

The code follows the W3C Recommendation of 23 May 2017 at https://www.w3.org/TR/micropub/ and cites its sections.

Micropub entries and actions as data, and a client that discovers an
endpoint and sends it actions and queries.

An entry is microformats2 JSON as microformats-clj parses it: a map of
its :type, e.g. ["h-entry"], and its :properties, a map of keywords to
vectors of values. An action is a Micropub request in the same shape, as
the server namespace reads it, e.g.

    {:action  :update
     :url     "https://simon.grays.blog/posts/2026/hello"
     :replace {:content ["Hello again"]}
     :delete  [:location]}

The code follows the W3C Recommendation of 23 May 2017 at
https://www.w3.org/TR/micropub/ and cites its sections.
raw docstring

dk.simongray.micropub.server

The Micropub endpoint and the media endpoint as Ring handlers. They check the access token, read the request and pass it to your functions, which store the posts and the files.

The code follows the W3C Recommendation of 23 May 2017 at https://www.w3.org/TR/micropub/ and cites its sections. The handlers check access tokens with indieauth-clj, in the token store of a server in the same process or at the introspection endpoint of one elsewhere.

The Micropub endpoint and the media endpoint as Ring handlers. They
check the access token, read the request and pass it to your functions,
which store the posts and the files.

The code follows the W3C Recommendation of 23 May 2017 at
https://www.w3.org/TR/micropub/ and cites its sections. The handlers
check access tokens with indieauth-clj, in the token store of a server
in the same process or at the introspection endpoint of one elsewhere.
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close