View Source ActivityPubWeb.Publisher (bonfire v0.3.0-classic-beta.4)
Link to this section Summary
Functions
Determine a user inbox to use based on heuristics. These heuristics
are based on an approximation of the sharedInbox
rules in the
ActivityPub specification.
Callback implementation for ActivityPubWeb.Federator.Publisher.gather_webfinger_links/1
.
Callback implementation for ActivityPubWeb.Federator.Publisher.is_representable?/1
.
If you put the URL of the shared inbox of an ActivityPub instance in the following env variable, all public content will be pushed there via AP federation for search indexing purposes: PUSH_ALL_PUBLIC_CONTENT_TO_INSTANCE #TODO: move to adapter
Callback implementation for ActivityPubWeb.Federator.Publisher.publish/2
.
Publish a single message to a peer. Takes a struct with the following parameters set
Link to this section Functions
Determine a user inbox to use based on heuristics. These heuristics
are based on an approximation of the sharedInbox
rules in the
ActivityPub specification.
Please do not edit this function (or its children) without reading the spec, as editing the code is likely to introduce some breakage without some familiarity.
Callback implementation for ActivityPubWeb.Federator.Publisher.gather_webfinger_links/1
.
Callback implementation for ActivityPubWeb.Federator.Publisher.is_representable?/1
.
If you put the URL of the shared inbox of an ActivityPub instance in the following env variable, all public content will be pushed there via AP federation for search indexing purposes: PUSH_ALL_PUBLIC_CONTENT_TO_INSTANCE #TODO: move to adapter
Callback implementation for ActivityPubWeb.Federator.Publisher.publish/2
.
Publish a single message to a peer. Takes a struct with the following parameters set:
inbox
: the inbox to publish tojson
: the JSON message body representing the ActivityPub messageactor
: the actor which is signing the messageid
: the ActivityStreams URI of the message