Read This used to be our playground (Simon Collison)
There was a time when owning digital space seemed thrilling, and our personal sites motivated us to express ourselves. There are signs of a resurgence, but too few wish to make their digital house a home.
The nice part is that this applies even if you’re not a designer. Reminds me of the most important IndieWeb principle: have fun
Read - Want to Read: Birthright Citizens: A History of Race and Rights in Antebellum America by Martha S. Jones (Cambridge University Press)
Before the Civil War, colonization schemes and black laws threatened to deport former slaves born in the United States. Birthright Citizens recovers the story of how African American activists remade national belonging through battles in legislatures, conventions, and courthouses. They faced formidable opposition, most notoriously from the US Supreme Court decision in Dred Scott. Still, Martha S. Jones explains, no single case defined their status. Former slaves studied law, secured allies, and conducted themselves like citizens, establishing their status through local, everyday claims. All along they argued that birth guaranteed their rights. With fresh archival sources and an ambitious reframing of constitutional law-making before the Civil War, Jones shows how the Fourteenth Amendment constitutionalized the birthright principle, and black Americans' aspirations were realized. Birthright Citizens tells how African American activists radically transformed the terms of citizenship for all Americans.
Read Johns Hopkins, benefactor of namesake hospital and university, was an enslaver by Nick Anderson, Lauren Lumpkin, and Susan Svrluga (Washington Post)
Johns Hopkins, the 19th-century businessman who bequeathed a fortune to found the hospital and university in Baltimore that bear his name, and who on scanty evidence was long heralded as an abolitionist, enslaved at least four Black people before the Civil War, school officials disclosed Wednesday.
Sad and disappointing news to hear given what I was always told as a student. I’m glad that they appear to be addressing it directly and fixing some of the erased history. Hopefully they may be able to uncover more and come up with some reasonable ways to address it in the present.

Crediting your own website when syndicating to Mastodon with WordPress plugins

I’ve been tinkering around with methods to automatically syndicate (POSSE) content from my personal website to Mastodon. I’ve been working at making a custom plugin which is far from finished. But a test post I made the other day, caught a few people’s attention[1][2]

I was trying to syndicate from my website so that the post on Mastodon would credit my website for the post and link back to my homepage as the application that made the post. You’ll notice at the bottom of the post there’s the post date and a globe icon, which indicates the post is public, followed by my website name ‘BoffoSocko.com’ and details about replies, reposts, and favorites.

screen capture of a Mastodon post which gives credit to Boffosocko.com at the bottom of the post.

I assuredly won’t release a public plugin for WordPress that does this. But since some have asked how I did it, I thought I’d share some of the internals of a few WordPress plugins that one can quickly modify to achieve the same thing.

That I can currently see, there are three plugins in the repository that will allow one to syndicate content to a variety of Mastodon instances. They are Mastodon Autopost, Mastodon Auto Share, and Share on Mastodon. The first two are closely related and essentially replicate the same codebase.

Similar to using Twitter’s API to crosspost, Mastodon is looking for two bits of information when an application is registered: a client name and a website URL. 

Mastodon Autopost and Mastodon Auto Share, both have a file called client.php which define these two variables. 

public function register_app($redirect_uri) {
  $response = $this->_post('/api/v1/apps', array(
    'client_name' => 'Mastodon Share for WordPress',
    'redirect_uris' => $redirect_uri,
    'scopes' => 'write:statuses write:media read:accounts',
    'website' => $this->instance_url
  ));

You can edit this file with a text editor to change the 'client_name' from 'Mastodon Share for WordPress' to 'Anything You Want'. If you’re in a joking mood, maybe change it to 'Twitter'?

To change the URL so that the link on the client_name directs to your website, you’ll want to change the line 'website' => $this->instance_url.

In particular change $this->instance_url to 'https://example.com' where example.com would be your website. I’ll note that $this->instance_url on this line in the original plugin is a bug. If left alone, it points the URL to your home Mastodon instance instead of to the more logical https://wordpress.org/plugins/autopost-to-mastodon/ where the plugin lives. 

If you prefer using Jan Boddez‘ excellent plugin, you’ll want to do something similar, except in that case you’ll want to change a file named class-options-handler.php in the includes folder.

Here you’ll want something like:

'client_name'   => __( 'Example.com' ),

But note that Boddez doesn’t have a similar bug, so the website line

'website' => home_url(),

is already correctly defined so that your website will automatically be linked without any changes to it.

If you’re already using one of these plugins and manually modify them, note that you’ll probably need to re-authorize the plugin so that the changes propagate.

Watched "Hinterland" Both Barrels from Netflix
Directed by Gareth Bryn. With Richard Harrington, Mali Harries, Alex Harries, Hannah Daniel. An estranged husband kidnaps his son. Mathias and Rhys make a dark discovery at his parents home. Mathias risks his own life by searching alone. A former Superintendent puts pressure on the independent investigator to close another case.
Watching this late at night, it took about four tries to make it through to the end. One of the most brutal episodes of the series, and one of the few featuring a gun.