It's even worse than it appears..
Tuesday December 3, 2024; 11:27 AM EST
  • I was very happy to see this post on Bluesky this morning from a friend, Matthias Pfefferle, who works at Automattic on the connection between WordPress and ActivityPub. #
  • In his post he asks if there is a BDG for creating a PDS for Bluesky. #
  • A BDG is a Busy Developer's Guide, something we did first for SOAP in 2001 when we were trying to figure out how to map XML-RPC onto it. Since then there have been lots of BDGs for all kinds of things. It's a useful concept because developers are often overly busy, so we need to get right to the problem before understanding all the theory behind it. We need an example that works, and we'll just do what it does. That also guarantees interop, which is the point of course. #
  • Now we have a similar problem. Bluesky stores a user's writing in a PDS. If we can generate a PDS for our blogs, theoretically Bluesky should be able to see them and use them as if they were created inside Bluesky. If it were easy to understand we could get busy converting everything so it works there. We can do that because we're using popular simple formats like JSON (see below) to organize our work. #
  • For example this is how I use JSON for my blog, the one you're reading right now.#
    • Here's a folder in a repository on GitHub. Broken down into years, months, days, and posts. #
    • Each post is a JSON file, like this. It has three bits of data, the text of the post, when it was created (which also serves as a unique ID, no two posts have the same creation date) and type. This item has a type of outline, because it can have structure, though this post does not. #
    • Here's another post that does have structure. In Bluesky it would be represented as a thread. #
  • Here's the question. What's the absolutely simplest way to have that structure of posts represented in a Bluesky PDS?#
  • PS: I had a conversation with ChatGPT to scope this out. #

© copyright 1994-2024 Dave Winer.

Last update: Tuesday December 3, 2024; 4:49 PM EST.

You know those obnoxious sites that pop up dialogs when they think you're about to leave, asking you to subscribe to their email newsletter? Well that won't do for Scripting News readers who are a discerning lot, very loyal, but that wouldn't last long if I did rude stuff like that. So here I am at the bottom of the page quietly encouraging you to sign up for the nightly email. It's got everything from the previous day on Scripting, plus the contents of the linkblog and who knows what else we'll get in there. People really love it. I wish I had done it sooner. And every email has an unsub link so if you want to get out, you can, easily -- no questions asked, and no follow-ups. Go ahead and do it, you won't be sorry! :-)