Webmentions
If you don't know what Webmention is, you can learn more at https://indieweb.org/Webmention
Kirby Commentions plugin has support for Webmentions and we integrated it fully into the Zero One theme. But we must warn you that we give partial support for it. Cronjob on your server you must set up yourself.
First go to your blog -> Comments Tab -> and turn on Webmentions. Switching it on will add Webmentions endpoints https://github.com/sebastiangreger/kirby3-commentions#announcing-your-webmentions-endpoint-in-your-html-head to head section in articles.
Open your
site/config/config.php
file and# CHANGE THIS
'sgkirby.commentions.templatesWithWebmentions' => [''],
#INTO THIS
'sgkirby.commentions.templatesWithWebmentions' => ['article'],
Again in your
site/config/config.php
file find this line'sgkirby.commentions.secret' => '<YOUR-SECRET>',
And instead
<YOUR-SECRET>
add your secret key. A valid secret key must be at least 10 characters long and may NOT include any of the following: &
%
#
+
nor a space sign
.Our support doesn't cover help with your server cronjob setup.
Set up a cronjob to call the URL
https://<SITE-URL>/commentions-processqueue?token=<YOUR-SECRET>
at regular intervals (when testing this URL in a browser, it responds with either "Success" or a descriptive error message).Every time this URL is called, the queue of incoming webmentions is processed; valid webmentions are moved to the comment inbox (or directly approved, if set in the default status option), while invalid ones are silently marked as failed or deleted (depending on the failed webmentions option).
And that's it.
Last modified 2yr ago