Follow

Now wondering how to best implement this. My list of syndication links is generated automatically (after [automatic] syndication to, e.g., Mastodon was successful), yet in this case, the link should be there _before_ the webmention is sent (and, preferably, updated afterward).

> You can then update your post with that URL so that your post always links to the IndieNews permalink instead of the IndieNews home page.

news.indieweb.org/how-to-submi

(jan.boddez.net/notes/97d226960)

Thinking of a really simple plugin. Meta box with a checkbox (much like Share on Mastodon). If checked, POST to IndieWeb News *a minute or so after* publication, and store the response (or rather, the value of its Location header) in a custom field. Then when the cache expires and the page is next rendered, it would show the updated link (the one in the custom field).

The checkbox would set a `_share_on_indieweb_news` meta field that my theme would pick up, showing the syndication link on the front end. Then, after the mention is sent (this bit is already implemented), all I need to do is update its value.

Turned out not so simple (I already had automatic webmentions working, but only if the target URL is *part of the post content*. In this case, I’d rather have the list of syndication URLs generated on the front end, by a custom theme function, and I’m going to have this “simple” plugin itself schedule the webmention.)

@wouter Hehe. Well, define “worth.” Is ook Nederlandse versie: news.indieweb.org/nl/members. 1 bericht in voorbije 2 jaar.

@jan @wouter wel leuk om die oudere artikelen zo weer eens tegen te komen.

Sign in to participate in the conversation
Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!