willnorris / webmention

Go library and CLI for assisting in sending webmentions.
https://pkg.go.dev/willnorris.com/go/webmention
BSD 3-Clause "New" or "Revised" License
50 stars 5 forks source link

better filtering of discovered links #3

Open willnorris opened 10 years ago

willnorris commented 10 years ago
nekr0z commented 3 years ago

In static-webmentions (that uses this library under the hood) I am filtering out the links to the page itself, and also give a user two filter options:

These suit my own needs just fine, but I heard from at least one user that he extensively uses the option to save the targets and the sources for the webmentions that are planned to be sent to a JSON file (and later send them with a separate command) and uses jq with complex regexps to filter out the webmentions he doesn't want to send. I guess there just isn't a way to satisfy everybody. ;)