Stumbled across a couple posts that turned up empty in my reader/X-Ray, which seemed to not return HTML if there’s no plain-text content either. Doesn’t work with image-only posts, especially if they don’t come with a `u-photo` class. So I fixed that.
This. I’m not a software engineer, either. (Well, I’m not _active_ in IndieWeb spaces, like, at all, but I have implemented and am greatly enjoying some of the typical “IndieWeb” building bricks. They’re open protocols, after all.)
> I am fairly active in IndieWeb spaces and I disagree with others in these spaces all the time.
Which is why I used—wait for it—Dompdf.
> My dream for this thing is, eventually, we could start building social media images via regular WordPress PHP templates. The trick is that you need something to screenshot them, like Puppeteer[.] An average WordPress install doesn’t have that available[.]
Reposted https://werd.io/2021/theres-a-fun-story-going-around-that by Ben Werdmüller.
> There’s a fun story going around that WalMart will accept Litecoin payments. It’s completely untrue, is perpetuated by scammers, and illustrates neatly how easily anyone can release a press release and have real news organizations (Reuters!) pick it up.
Looks like Yarns might eventually add OPML support. ’Til then, Ima go with my own solution. 😃 https://github.com/janboddez/add-opml-to-yarns
Played with the Yarns Microsub server a bit. Created an OPML import and export add-on. Don’t really like how it stores feeds in the `options` table, but okay. Or that metadata is sparse, or some (Atom and RSS) items seems to be lacking author information (should be an easy fix, as it runs on SimplePie). Anyway, think Ima use this for a second Micropub account, to help test my reader.
I like this idea. I think I might add something similar to my own blog 🤔
So, I, uh, did revive my Mastodon-to-WordPress sync thingy, I mean, plugin. It’s very basic, which is good. (More advanced features, like improved reply contexts, should probably be the subject of an add-on plugin. Like, eventually.) https://github.com/janboddez/import-from-mastodon
One issue: if you’re not already logged in, the `textarea` won’t be prefilled, and if you then hit Scan the additional query param isn’t seen, so a true (?) server-side solution, while less robust, might still be preferred.
You hire a freelancer (or start experimenting yourself).
> [W]here should I go if I want to find a developer to work with on an idea?
Also "fixed" this weird thing where proxied images would return a 404 but still show fine. Turns out it had to do with URL-encoded _original URLs_ (at the end of a URL path). Either the browser or server would see (or send) a 404 and then decode these URLs and retry and get a proper response, but the status code would be 404 nonetheless, even when I literally returned `header('HTTP/1.1 200 OK'); exit;`. No URL forwarding or anything going on either.
And that’s that, at least for images.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!