We customize See The Export Process in order to produce microformats in our generated HTML and to send Webmentions & POSSE requests:
This section will broadly sketch the customizations; subsequent sections will detail implementing each aspect.
In order to emit See Microformats, we’re going to need to get our
fingers into the process of transcoding Org Mode to HTML; this entails
defining our own backend(s) and setting the
:publishing-function
for each project (see see Where & How to Author Microformats).
In order to support IndieAuth, we’ll need to generate a PGP keypair and/or setup accounts with one or more social media sites (see see Supporting IndieAuth).
In order to note webmentions made on each post, we’ll need to define new link types, so that we can indicate that we’d like to mention another post by authoring Org Mode such as:
as you can see [[mention:https://cool-site.org/cool-post.html][here]]...
In the export function for such link types, we’ll note the webmentions
in the page’s informational property list; then, in the project
:final-output
filter we can extract all of that page’s mentions
and add them to the site’s list (see see Supporting Webmentions.
POSSE is handled in the page template– since at this point the Org Mode document has been parsed, we can simply access them as properties and add them to the site’s list of POSSE requests.
In the foregoing, we’ve mentioned site-wide lists of webmentions made & POSSE requests. These lists reside in indie-org-state-v2. See See Publication Environments & State for details.