Repository navigation
v0.4.7
Two more platforms a post can be read from without an account: Lobste.rs and Lemmy.
Added
- Lobste.rs.
check --url https://lobste.rs/s/<id>reads a story — its title, its
submitted address first and the links in its text — and/c/<id>or a#c_<id>
fragment reads one comment, never the thread above it. Read from the.jsontwin
of each page; no key, no account. A moderated comment isUNVERIFIED (blocked), a
deleted oneUNVERIFIED (unreachable), as spec §15 keeps them apart. An anchor
pointing back at the story's own discussion page is not a source and is left out. - Lemmy.
check --url https://<instance>/post/<n>and/comment/<n>read from
the/api/v3every instance serves without a login. A post's submitted address
comes first, then the markdown links in its body.removed(a moderator's doing)
isUNVERIFIED (blocked);deletedisUNVERIFIED (unreachable). A private
instance answers an anonymous reader with the same400as a missing post and
not_logged_inin the body, so the body's token decides:not_logged_inis
UNVERIFIED (blocked),couldnt_find_postisUNVERIFIED (unreachable), and a
400naming neither isUNVERIFIED (unavailable)— never a guess about the post.
Lemmy is known by its host — the
lemmy.prefix or one oflemm.ee,sh.itjust.works,beehaw.org,
programming.dev,feddit.org— never by/post/<n>alone, which is how any
blog addresses an article; a post on an instance outside that rule is read as a
page, as before, and no/api/v3request is ever sent to a host that did not say
it is Lemmy.
Changed
- The "platform not read in this version" hint, the
check --urlhelp and the README
table name all seven platforms. polite.ProviderErrorcarriescode: the one snake_case token a JSON error body's
errorfield named, when it named one, and nothing else from the body. It is what
lets the Lemmy reader tell the two facts above apart; no other caller reads it yet.