View Source LastCrusader.Webmentions.Sender (Last Crusader v0.11.0)

Schedules webmentions to be send

It first checks of the origin exists before sending webmentions. It will retry this check every minute until it reaches the configured number of tries.

Summary

Functions

Finds syndication links (from bridy to twitter) in a list of Webmentions responses

Schedules webmentions to be send with 1 minute wait between every try (default is 15 times)

Sends Webmentions to every link

Types

url()

@type url() :: String.t()

Functions

find_syndication_links(webmention_response, syndication_links \\ [])

Finds syndication links (from bridy to twitter) in a list of Webmentions responses

schedule_webmentions(origin, nb_max_tries \\ 15)

@spec schedule_webmentions(url(), pos_integer()) :: {:ok, non_neg_integer()}

Schedules webmentions to be send with 1 minute wait between every try (default is 15 times)

send_webmentions(origin)

Sends Webmentions to every link