Différences entre versions de « RSVP »
De Mi caja de notas
| Ligne 1 : | Ligne 1 : | ||
| − | [[ | + | === [[micro.blog]] [[RSVP]] shortcode === |
| + | |||
| + | {{boîte déroulante | ||
| + | |titre = studying RSVP to attend [[HBC]] Homebrew Website Club Europe/London July 13th, 2022</ref> | ||
| + | |contenu = | ||
| + | https://github.com/microdotblog/plugin-rsvp by [[Manton Reece]]<ref>To be studied ([[GoHugo]])</ref> | ||
| + | |||
| + | Adds a Hugo shortcode for sending an IndieWeb [[RSVP]]. | ||
| + | |||
| + | To RSVP to an event, find the URL for the event and then use the shortcode in a blog post like this: | ||
| + | |||
| + | I'm going to this! {{< rsvp href="https://events.indieweb.org/2022/07/homebrew-website-club-europe-london-IWgOdewq7dpL" >}} | ||
| + | |||
| + | It will create a link to the event with the appropriate Microformats reply markup. [[Micro.blog]] will notice the post and send a Webmention for it. | ||
| + | |||
| + | To keep it simple, Micro.blog links the event URL with the calendar emoji, so the above post will look like this: | ||
| + | |||
| + | I'm going to this! 📅 | ||
| + | |||
| + | You use your own text instead of the emoji with a text parameter: | ||
| + | |||
| + | {{< rsvp href="https://events.indieweb.org/2022/07/homebrew-website-club-europe-london-IWgOdewq7dpL" text="Micro Camp 2022" >}} | ||
| + | |||
| + | }} | ||
| + | |||
{{iwc}} | {{iwc}} | ||
Version du 4 juillet 2022 à 07:54
micro.blog RSVP shortcode
https://github.com/microdotblog/plugin-rsvp by Manton Reece[1]
Adds a Hugo shortcode for sending an IndieWeb RSVP.
To RSVP to an event, find the URL for the event and then use the shortcode in a blog post like this:
I'm going to this! {{< rsvp href="https://events.indieweb.org/2022/07/homebrew-website-club-europe-london-IWgOdewq7dpL" >}}
It will create a link to the event with the appropriate Microformats reply markup. Micro.blog will notice the post and send a Webmention for it.
To keep it simple, Micro.blog links the event URL with the calendar emoji, so the above post will look like this:
I'm going to this! 📅
You use your own text instead of the emoji with a text parameter:
{{< rsvp href="https://events.indieweb.org/2022/07/homebrew-website-club-europe-london-IWgOdewq7dpL" text="Micro Camp 2022" >}}
[Échec de la récupération du modèle pour https://indieweb.org/RSVP?action=render : HTTP 0]
<footer>source iwc:RSVP</footer>
<footer>