Plans to release webmentions?

Thanks to Recommendations, Ghost is accepting most/all Webmentions and storing them in the mentions table of the database, but there doesn’t appear to be anyway to get them out (unless I’m missing something). Seems a terrible waste. Especially because, if you try to implement webmentions yourself, services will discover the endpoint and send webmentions to it, cutting you off from the mentions you’re receiving. You can work around it editing your theme files and putting an actual, usable endpoint above {{ghost_head}}, but it’s a bummer you can’t just add it via code injection since that comes after.

Are there any plans to open webmentions up? Having access to them in the templates would be great but I’d even be happy with being able to make a custom JSON route if I could filter them down with query params or something per post/type/whatever. :slight_smile:

1 Like

This sounds like something that should have been in the recent ghost_head update!

2 Likes

Hey Cathy!

That PR is awesome (and timely haha)! Great work. Looking at it, though, it seems like the webmentions endpoint is added all the time (except in the AMP context)? It’s early so I might be reading the code wrong (I can do that no matter the time of day really) and haven’t tested myself yet though. :wink:

I’m also not sure if your “should have been” means “that PR does it” or if it’s a “dang I missed one” kind of thing. :sweat_smile:

Though, I do wonder now if the Ghost folks would be open to a PR regarding properly exposing the webmentions in some way… :thinking:

1 Like

I meant ‘oh, dang, I missed one!’ :)

Well, actually it was in the first draft but didn’t make the final cut, because I didn’t have a use case for it. It sounds like you do…

2 Likes