aarongustafson / jekyll-webmention_io

A Jekyll Plugin for rendering Webmentions via Webmention.io
https://aarongustafson.github.io/jekyll-webmention_io/
MIT License
139 stars 27 forks source link

Baduris #135

Closed fancypantalons closed 4 years ago

fancypantalons commented 4 years ago

This PR addresses issue #129 by creating a much more configurable set of behaviours for how to handle hosts/sites that reject webmentions, whether because they're unsupported, a failure occurred, the request was malformed, etc.

This PR also incorporates an additional, simple per-webmention retry limit so that individual webmentions can also be retried.

These two mechanisms can be used separately or can be combined as needed, with the host policy being evaluated first, and then the per-webmention retry limit applying afterward.

The implementation is designed to be backward compatible so any existing configuration will continue to work as expected. The new functionality is a strict superset of what was available previously.

Yes... this is a bit of a sledgehammer...