beatonma/django-wm

Feature request: Add webmention type

Closed this issue · 0 comments

The webmention implementation on my current site allows me to specify the type of webmention, so I can group them on a post, this post for example, showing the webmentions sorted into likes/favourites, reposts/retweets, and comments.

The comment functionality is handled by QuotableMixin, but it would be good to have some optional flags to extend this to cover the other scenarios.

I'm imagining a type field on QuotableMixin that could either be a dictionary of options, or just a charfield, and then some logic in process_incoming_webmention to identify the type.

This would be especially useful when using something like Bridgy.

Happy to take a run at a PR if this is something you'd be interested in adding?