gRegorLove little g big R

@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:

https://twitter.com/GroovyBruce/status/947599931719630848


Tom Sparks

Tom Sparks on tomasparks.github.io

Rhythmbox scrobbling notes system

Do you mean to have the key and secret at the top of these code samples? :]


gRegor Morrill

gRegor Morrill on gregorlove.com

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 the comment_author_url Only use the source URL, not author name and source URL

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.


grace perry

grace perry on twitter.com

YOUR PORN STAR NAME: take your first name and replace it with “Paul,” then take your last name and replace it with “Hollywood”

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 the comment_author_url
  • Only use the source URL, not author name and source URL

indiana-mama.com

indiana-mama.com on indiana-mama.com

(a small) 2017 Book Look Back December 30, 2017 / Isha / 2 Comments 2017 Goal: 60 Actual books read: 74! I read 27,068 pages across 74 books. My average rating was: 3.8/5 stars. Favorite Book: While nothing immediately stood out like in prior years, here are a couple favorites Least Favorite/Most over hyped: (only rated 2 books below 3 stars all year, and this one was supposed to be great!) I didn’t manage to stay on top of my reviewing. I don’t really feel down about it though, I’m pretty proud of the 74 I read this year! Josh told me to go for 100 next year. I think I will! Looking forward to all of the new adventures I will find. Blog Previous post Thank you, Mrs. Hogan 1 Comment gRegor Morrill December 30, 2017 at 4:37 pm Commenting to let you know I read your posts! ;] Great jorb. I aspire to read a fraction of that many books per year, haha. Reply Likes gRegor Morrill Leave a Reply Cancel reply Your email address will not be published. Author * Email * Website Respond on your own site? Send me a Webmention by writing something on your website that links to this post and then enter your post URL below.

Testing another reply


gRegor Morrill

gRegor Morrill on gregorlove.com

IndieWeb WordPress Feedback

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


William Gillis ⚑

William Gillis ⚑ on twitter.com

@gRegorLove This is a product of the blade my server was on getting corrupted and me falling back to a gitpage setu… https://twitter.com/i/web/status/947231668263358464

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.


indiana-mama.com

indiana-mama.com on indiana-mama.com

(a small) 2017 Book Look Back December 30, 2017 / Isha / 0 Comments 2017 Goal: 60 Actual books read: 74! I read 27,068 pages across 74 books. My average rating was: 3.8/5 stars. Favorite Book: While nothing immediately stood out like in prior years, here are a couple favorites Least Favorite/Most over hyped: (only rated 2 books below 3 stars all year, and this one was supposed to be great!) I didn’t manage to stay on top of my reviewing. I don’t really feel down about it though, I’m pretty proud of the 74 I read this year! Josh told me to go for 100 next year. I think I will! Looking forward to all of the new adventures I will find. Blog Previous post Thank you, Mrs. Hogan Leave a Reply Cancel reply Your email address will not be published. Author * Email * Website

Commenting to let you know I read your posts! ;] Great jorb. I aspire to read a fraction of that many books per year, haha.


In reply to a post on www.goodreads.com:

Nice. I saw some Twitter discussion recommending it. Sounds really good!



Want to read: Star Wars: Bloodline


camb

camb on odat.xyz

Test post

Testing webmentions from another site!



In reply to a post on www.meetup.com:

I’m attending “The Shape of Water with dinner beforehand”


Search