I want to read 30 books in 2018.
Want to read: Autonomous
What a scumbag.
“Trump liked to say that one of the things that made life worth living was getting your friends’ wives into bed. In pursuing a friend’s wife, he would try to persuade the wife that her husband was perhaps not what she thought. Then he’d have his secretary ask the friend into his office; once the friend arrived, Trump would engage in what was, for him, more or less constant sexual banter. Do you still like having sex with your wife? How often? You must have had a better fuck than your wife? Tell me about it. I have girls coming in from Los Angeles at three o’clock. We can go upstairs and have a great time. I promise . . . And all the while, Trump would have his friend’s wife on the speakerphone, listening in.”
—
, Fire and Fury: Inside the Trump White House
Loved it.
Hah, in Travelers they reference being in Bellingham!
Season 2 has been great so far. Recommended if you enjoy time travel. @TRVLRSseries
@mikemchargue @michaelgungor I’m quite late on the Halloween Liturgists episode. I commented on Patreon but thought it might get lost:
Wondered if you have seen the ongoing paranormal stuff @moby_dickhead has been sharing? Check his pinned Storify and subsequent threads.
The Orville would be better with Bruce:
Do you mean to have the key and secret at the top of these code samples? :]
I’ve updated this code snippet so it abides by your Discussion settings for the checkbox “Comment author must have a previously approved comment.”
I’ve also updated it to use the webmention_source_url
which is part of the comment meta data passed into the filter.
If you have that box checked and approve a webmention from a post on example.com, subsequent webmentions from example.com will be automatically approved. If that box is not checked, this automatic approval code won’t run.
This does override the other spam checks like maximum number of links and comment blacklist keywords. Generally, I think this is acceptable since the approval of a webmention from a source domain is a stronger signal than the approval of a name and email that was entered in a comment form.
That's a nice bake.
One of the known issues with webmentions in WordPress is that they are often flagged as spam by default. There is a workaround snippet of code on the wiki to automatically approve them. That got me thinking about the core feature of approving comments only from previously-approved commenters. It seemed there should be a way to leverage that core feature for webmentions as well.
I found the WordPress code that pre-approves those type of comments. The main issue is that it requires both the comment author name and email. I wrote a filter function that instead checks the name and webmention source URL against previously-approved webmentions.
Here is the code: https://gist.github.com/gRegorLove/8215cb9c9584b364aaf4ef2999416f56
I put it in the theme’s functions.php file and it worked!
Further improvements would be to:
- Add a conditional check for the WordPress option
comment_whitelist
so it only does this when that option is enabled - Use the wp_commentmeta table,
webmention_source_url
instead of thecomment_author_url
- Only use the source URL, not author name and source URL
Testing another reply
Got the webmentions sorted out. Turns out I installed but forgot to activate the plugins. Working smoothly now!
Testing WebSub notifications with https://websub.rocks
Definitely easier to maintain than a WordPress install. Nice!
If you add http://microformats.org/wiki/h-entry I can subscribe directly to the HTML page with https://woodwind.xyz, no XML feed necessary.
@rechelon FYI: I apparently subscribed to https://humaniterations.net/feed/ a while back and https is failing now.
I see your feed is also at /feed.xml now, so might want to redirect /feed to there.
Commenting to let you know I read your posts! ;] Great jorb. I aspire to read a fraction of that many books per year, haha.