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.)
Super nice. Als je met @Castopod een podcast publiceert komt die gewoon met player en al in je Mastodon-timeline.
👍 https://castopod.org/
Okay, here’s the “fix” for us Firefox users: head over to `about:config` and add `ui.useOverlayScrollbars` with a (number) value of `1`. Ta-dah. https://www.reddit.com/r/gnome/comments/r2ne2f/til_overlay_scrollbars_in_firefox_and_thunderbird/
(I’m going to choose this over adding, say, `overflow-x: hidden` on `.interface-interface-skeleton__sidebar` or some JS-based trickery.)
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.
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).
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.
In reply to https://www.jeremycherfas.net/blog/invalid-feeds-again.
I’ve seen this before (developing your own feed reader really takes you places); in this case, there seems to be a hidden (Unicode) control character in between the opening paragraph tag and the word “April.” One that, when I select and copy the surrounding text (and with it, this character) into my browser’s address bar, shows up as a “card” that reads “0010,” which might mean “data link escape.”
I sometimes wonder if my plugins would be more popular if they provided a nice GUI for all these extra bits of functionality.
Also, I’m a wee bit lazy (and prefer a few lines of code over a million options and checkboxes).
By default, my Share on Mastodon/Twitter/Pixelfed plugins for WordPress will only (cross)post a title and permalink, but it can be modified to post complete messages instead. In fact, API arguments can be added or removed as you please; just takes a bit of PHP. In this case, something along the lines of `add_filter('share_on_twitter_tweet_args', 'my-special-function', 10, 2);` 😂 and a bit of `$args['reply'] = array('in_reply_to_tweet_id' => $tweet_id);`. The rest? Exercise to the reader! 🤓
Turns out I had this working all this time! https://twitter.com/ochtendgrijs/status/1524111151474352130
Reposted https://nitter.geekcompass.com/loresjoberg/status/1516915906965753857 by Lore Sjöberg.
Bitcoin and NFTs were invented because of a scarcity of scarcity. Someone decided that there isn’t enough scarcity around and decided to make a bunch more scarcity so now we have an abundance of scarcity. A bona fide cornucopia of dearth.
Neen, ik werk in een normaal land, waar die dingen niet of amper bestaan. ‘Meer maaltijdcheques of een bedrijfswagen: kan je onderhandelen over extralegale voordelen?’ https://www.hln.be/geld/meer-maaltijdcheques-of-een-bedrijfswagen-kan-je-onderhandelen-over-extralegale-voordelen~ab6dfb1a/
Engineer, web designer, and amateur guitarist. Likes web standards, accessibility, #PHP, #PunkRock, and the #IndieWeb. #nobot