Skip to content

Bookmarked https://news.indieweb.org/how-to-submit-a-post. Now wondering how to best implement …

Bookmarked https://news.indieweb.org/how-to-submit-a-post.

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.

(Speaking of, I guess this note, too, should now end up there.)

IndieNews - How to submit a post
news.indieweb.org

Replies

  1. Jan Boddez Jan Boddez on

    Unless it doesn’t, because I did in fact use u-bookmark-of and not u-syndication.

    Via jan.boddez.net, in reply to Bookmarked https://news.indieweb.org/how-to-submit-a-post. Now wondering how to best implement ….

  2. Jan Boddez Jan Boddez on

    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).

    Via geekcompass.com, in reply to Bookmarked https://news.indieweb.org/how-to-submit-a-post. Now wondering how to best implement ….

  3. Jan Boddez Jan Boddez on

    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.

    Via geekcompass.com, in reply to Bookmarked https://news.indieweb.org/how-to-submit-a-post. Now wondering how to best implement ….

  4. Jan Boddez Jan Boddez on

    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.)

    Via geekcompass.com, in reply to Bookmarked https://news.indieweb.org/how-to-submit-a-post. Now wondering how to best implement ….

  5. Jan Boddez Jan Boddez on

    […] Reminded of IndieNews, I set out to create a smallish WordPress plugin to enable sharing over there. […]

    Via jan.boddez.net, in reply to Bookmarked https://news.indieweb.org/how-to-submit-a-post. Now wondering how to best implement ….