Liking cljdoc? Tell your friends :D

dk.simongray.podcast.feed.guid

The identity of feeds and episodes: a feed by its podcast:guid, or the one that the UUIDv5 scheme of podcast:guid derives from its URL, and an episode by its guid, on both platforms.

The identity of feeds and episodes: a feed by its podcast:guid, or the
one that the UUIDv5 scheme of podcast:guid derives from its URL, and an
episode by its guid, on both platforms.
raw docstring

episode-idclj/s

(episode-id feed url item)

The id of item in the feed at url: [key item-guid], with the key of feed-key.

The id of `item` in the `feed` at `url`: [key item-guid], with the key
of feed-key.
sourceraw docstring

feed-guidclj/s

(feed-guid feed url)

The identity that feed gives itself at url: its podcast:guid when that's a UUID, or else the one that the podcast namespace derives from url.

The identity that `feed` gives itself at `url`: its podcast:guid when
that's a UUID, or else the one that the podcast namespace derives from
`url`.
sourceraw docstring

feed-keyclj/s

(feed-key feed url)

The key that a library keeps feed under, as with-key gives it, or else its feed-guid at url.

The key is settled at the first fetch and stays, while the feed-guid changes with a new podcast:guid, or with the URL of a feed that has none.

The key that a library keeps `feed` under, as with-key gives it, or
else its feed-guid at `url`.

The key is settled at the first fetch and stays, while the feed-guid
changes with a new podcast:guid, or with the URL of a feed that has
none.
sourceraw docstring

format-episode-idclj/s

(format-episode-id [feed-guid item-guid :as id])

The episode id as one string, e.g. for a route, a key or a native bridge, or nil when it isn't a pair of strings. Each part is percent-encoded and they're joined by a colon, so any guid round-trips, e.g. 917393e3-…:https%3A%2F%2Fexample.com%2Fep%201.

The episode `id` as one string, e.g. for a route, a key or a native
bridge, or nil when it isn't a pair of strings. Each part is
percent-encoded and they're joined by a colon, so any guid round-trips,
e.g. 917393e3-…:https%3A%2F%2Fexample.com%2Fep%201.
sourceraw docstring

from-urlclj/s

(from-url url)

The podcast:guid of a feed at url whose author didn't declare one.

The podcast:guid of a feed at `url` whose author didn't declare one.
sourceraw docstring

guid-nameclj/s

(guid-name url)

The feed url as the podcast namespace seeds a podcast:guid with, which is without its scheme and trailing slashes.

The feed `url` as the podcast namespace seeds a podcast:guid with, which
is without its scheme and trailing slashes.
sourceraw docstring

guid?clj/s

(guid? s)

Whether s looks like a UUID, and so like a podcast:guid.

Whether `s` looks like a UUID, and so like a podcast:guid.
sourceraw docstring

item-guidclj/s

(item-guid item)

The identity of item: its guid, or else its enclosure URL, as Apple's A Podcaster's Guide to RSS has it.

The identity of `item`: its guid, or else its enclosure URL, as Apple's
A Podcaster's Guide to RSS has it.
sourceraw docstring

parse-episode-idclj/s

(parse-episode-id s)

The episode id that format-episode-id gives the string s for, or nil when s is no such string.

The episode id that format-episode-id gives the string `s` for, or nil
when `s` is no such string.
sourceraw docstring

uuid-v5clj/s

(uuid-v5 ns name)

The name-based UUID (RFC 9562, section 5.5) of the string name in the UUID namespace ns, as a lower-case string.

The name-based UUID (RFC 9562, section 5.5) of the string `name` in the
UUID namespace `ns`, as a lower-case string.
sourceraw docstring

with-keyclj/s

(with-key feed k)

The feed with k in its metadata as the key that a library keeps it under, which episode-id takes over what the feed says now.

The `feed` with `k` in its metadata as the key that a library keeps it
under, which episode-id takes over what the feed says now.
sourceraw 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