#wordpress 2018-07-26
2018-07-26 UTC
[eddie] and [colinwalker] joined the channel
# [colinwalker] [tantek] It’s not a plugin but I wrote my own “on this day” thing a while back which just iterates through each year and gets the posts on this day. A stripped down version is here: https://github.com/colin-walker/on-this-day
# [matpacker] GWG: just DM'd you via Slack. Just confirming your email address.
# [colinwalker] GWG: Cool
[manton] joined the channel
# [matpacker] GWG: yes, Varnish.
# [matpacker] GWG: I don't believe anything is excluded. I can just disable caching, it's probably overkill
dougbeal|mb1 and [jgmac1106] joined the channel
# [matpacker] GWG: done. I'm wondering if I should delete the auth tokens and start the process of validating everything again.
# [jgmac1106] [tantek] I believe so yes. On the webmentions screen found in the IndieWeb menu on the dashboard
[tantek] joined the channel
# [matpacker] GWG: "PHP Notice: Undefined index: content-type in /home/wp_gw6d62/matpacker.com/wp-content/plugins/micropub/micropub.php on line 1236"
# [matpacker] GWG: PHP Warning: Cannot modify header information - headers already sent by (output started at /home/wp_gw6d62/matpacker.com/wp-content/plugins/micropub/micropub.php:1236) in /home/wp_gw6d62/matpacker.com/wp-content/plugins/micropub/micropub.php on line 1225
# [matpacker] GWG: those are the 2 most common errors
# [matpacker] GWG: I enabled the debug plugin on my site, you should be able to see those errors there .
[kim_landwehr] and [chrisaldrich] joined the channel
# [chrisaldrich] tantek, it's been a busy day in here so I don't know if you got an answer: On This Day plugin for WordPress is likely: https://wordpress.org/plugins/this-day-in-history/
# [tantek] chrisaldrich++ thanks! Can you add that to /on_this_day perhaps in a new “WordPress support” section?
# [chrisaldrich] [matpacker] If you're using a theme (like the 2016 IndieWeb fork) that declares support for mf2, then it should essentially disable the mf2 plugin functionality so that it isn't duplicated.
# [chrisaldrich] tantek++ for finding the example that made it easier to find! I'd looked for a plugin that did that before and hadn't found anything at all.
# [chrisaldrich] I'll document it in just a bit... still catching up on logs and need to eat some dinner before HWC.
# [matpacker] GWG: the micro.blog endpoint stuff?
[snarfed] joined the channel
# [matpacker] GWG: that's been a fairly persistent error. the plugin was installed as part of the Indieweb pack, maybe I try deleting and re-installing it.
# [matpacker] GWG: I'm waaaay out of my depth. Happy to try anything you suggest.
# [chrisaldrich] GWG, correct me if I'm wrong, but I think one needs pingbacks/trackbacks to be on to receive webmentions right? That was the other piece tantek was asking about. Though it could be clever to remove the comment box from view to "turn off" comments without disabling comment functionality directly (which would also disallow webmentions).
# [matpacker] GWG++
tantek__ joined the channel
# [chrisaldrich] It would be nice to have individual toggles for refbacks, pingbacks, trackbacks, webmentions, and displaying the native comments box, in addition to being able to globally turn all comments (all of the above) off.
# [chrisaldrich] read all the logs in this channel for today, but still somehow I only feel half caught up.
# [chrisaldrich] community++ for a busy day
# [matpacker] [chrisaldrich] that's how I felt this morning when I logged on, so much good stuff posted overnight, have saved so many links to read later
# [chrisaldrich] What is an itch?
# Loqi Itches, in the context of the indieweb, are individuals's personal sources of annoyances using the web or in particular their own website, that they use to itemize and prioritize what to create, design, build, and improve on their own website, often by first listing such "itches" on a section in their User: page or on their own website https://indieweb.org/itch
# [matpacker] GWG: can you have multiple authorization endpoints? i.e. micro.blog's endpoint + the micropub plugin created endpoint?
[ryan339] joined the channel
# [matpacker] GWG: "The token endpoint could not verify this access token" wondering if I should revoke the existing tokens?
# [matpacker] GWG: that was part of the error message on monocle.
# [matpacker] tokens https://files.slack.com/files-pri/T03QR2B2T-FBY6U1T5M/screen_shot_2018-07-26_at_11.11.53_am.png?pub_secret=c429f223c6&name=Screen Shot 2018-07-26 at 11.11.53 am.png
# [matpacker] GWG: they seem to be added to an individual account/profile
# GWG <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>401 Unauthorized</title> </head><body> <h1>Unauthorized</h1> <p>The server encountered an internal error or misconfiguration and was unable to complete your request.</p> <p>Please contact the server administrator, webmaster@matpacker.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.</p> <p
iambismark joined the channel
# [matpacker] From Monocle, I now get " missing_endpoint
# [matpacker] We didn't find a Microsub endpoint at your website"
# [matpacker] GWG: ok
# GWG Undefined index: content-type in /home/wp_gw6d62/matpacker.com/wp-content/plugins/micropub/micropub.php on line 1236 - This is an interesting one.
# GWG [matpacker]: It isn't the plugin. When I try to get https://matpacker.com/?micropub=endpoint&q=config it returns 200, notes an X-Varnish header, notes that the return is X-Cacheable...are you sure your server doesn't still have something proxying it?
# [matpacker] GWG: not that I'm aware of, I host on Dreamhost, with their DreamPress product.
# [matpacker] GWG: is there an Indieweb preferred host? It doesn't bother me to move my hosting elsewhere.
# [matpacker] https://www.dreamhost.com/wordpress/
# [matpacker] haha just about to type that
# [matpacker] GWG: the caching?
# [matpacker] Yeh, included as part of the package.
# [matpacker] GWG: submitted a ticket
# [matpacker] GWG: searching their support forum, there's a number of references to it being a .htaccess error
# [matpacker] GWG: disabled the .htaccess file, now getting this error "The requested URL /wp-json/indieauth/1.0/auth was not found on this server."
# [matpacker] this is what is currently in the htaccess;
# [matpacker] # BEGIN WordPress
# [matpacker] RewriteEngine On
# [matpacker] RewriteBase /
# [matpacker] RewriteRule ^index\.php$ - [L]
# [matpacker] <IfModule mod_rewrite.c>
# [matpacker] RewriteCond %
{REQUEST_FILENAME}
!-d# [matpacker] RewriteCond %
{REQUEST_FILENAME}
!-f# [matpacker] </IfModule>
# [matpacker] RewriteRule . /index.php [L]
# [matpacker] # END WordPress
# [matpacker] It's pretty minimal already
jgmac1106 joined the channel
# [matpacker] [dougbeal] correct, shared hosting. I'm out of my depth adding that to the htaccess, what RewriteRule would I add?
[dougbeal] joined the channel
# [matpacker] Searching around and found - <Files file.html>
# [matpacker] </Files>
# [matpacker] Satisfy Any
# [matpacker] Allow from all
[kim_landwehr] joined the channel
# [matpacker] Just got a reply from Dreamhost, they've increased some php limits, but that's about it.
donblanco joined the channel
[cleverdevil], [chrisaldrich] and [matpacker] joined the channel
# [matpacker] Dreamhost aren't giving me much to work with, considering moving hosts at this stage...unless
# [matpacker] Nope, unfortunately.
# [matpacker] [aaronpk] thinking the issue might have to do with the "Web Application Firewall" that Dreamhost has on their DreamPress product.
[jsorge] joined the channel
# [matpacker] Correct, they have someone looking at it, but don't really know what's happening. I've suggested the firewall thing, but not confirmed yet.
# [matpacker] No, have uploaded a couple of gists with the errors in them. The rest is deeper than my current knowledge base.
# [matpacker] https://gist.github.com/matpacker
dougbeal|mb1 joined the channel
# gRegorLove I think Zegnat has one, aaronpk... looking
# gRegorLove I'm on Dreamhost (but not WordPress) and I get Authorization headers. Is that the issue?
# gRegorLove scrolls back
# [matpacker] [gregorlove] correct, it's a authorization error on the headers
# [matpacker] gRegorLove: correct, it's a authorization error on the headers
# gRegorLove [matpacker], try that gist^
# [matpacker] Just uploading it now
# [matpacker] http://matpacker.com/authdiag.php
# gRegorLove Do you have the SetEnvIf stuff in .htaccess?
# gRegorLove I have `SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0` in my .htaccess to get the Authorization header in PHP
# gRegorLove If you copy that URL http://matpacker.com/authdiag.php into the form and submit, it reports the Authorization header isn't available
# [matpacker] Correct, so I've tried both lines in the .htaccess but didn't get much further. So I think I'm going to have to ask them to whitelist my site, per the micropub plugin doc, or move me across to the standard hosting instead of the wordpress hosting.
# [matpacker] gRegorLove:++
# gRegorLove What PHP version are you running?
# gRegorLove I'm about to test that authdiag.php. It's weird that it works for me on Dreamhost but not you.
# [matpacker] I don't think it's a Dreamhost issue per se, I think it's the firewall they run on their DreamPress product
# gRegorLove Ah, gotcha
# [matpacker] That was awesome, I feel like we may have gotten to the source of the problem finally! Have asked them to whitelist my site, and if they can't/won't do that, then I will migrate over to the standard DreamHost server product and look after my own WordPress install.
# [matpacker] Might be worth noting this on the wiki once it's all fixed.
# gRegorLove Your site does support `REDIRECT_HTTP_AUTHORIZATION` so I wonder if the plugins should try that as a fallback
# gRegorLove It would be nice if it could work out of the box with DreamPress
# gRegorLove What is DreamPress?
# Loqi It looks like we don't have a page for "DreamPress" yet. Would you like to create it? (Or just say "DreamPress is ____", a sentence describing the term)
# gRegorLove What is Dreamhost?
# Loqi DreamHost is a web hosting company https://indieweb.org/DreamHost
[chrisaldrich] joined the channel
# [chrisaldrich] gRegorLove, is Zegnat's gist documented on the wiki somewhere?
# [chrisaldrich] What is wordpress troubleshooting?
# Loqi WordPress Troubleshooting is a list of things one can try when asking for help from the WordPress Outreach Club https://indieweb.org/WordPress_Troubleshooting
# gRegorLove Not sure, but it should be
tantek__ joined the channel
# [chrisaldrich] Zegnat++ for https://gist.github.com/Zegnat/f4192c3cce05d847af3547eea80e383c That's a slick little test tool.
# [matpacker] gRegorLove++ for his help!
# [matpacker] Just got an email back from DreamPress, they're getting a senior dev to look at it tomorrow, they tried disabling the mod_security firewall and still got the same results
[xavierroy] joined the channel
# [xavierroy] I'm also on dreamhost but not he dreampress package and i get the same error as [matpacker]
# [xavierroy] > Warning: Use of undefined constant CURL_HTTP_VERSION_2 - assumed 'CURL_HTTP_VERSION_2' (this will throw an Error in a future version of PHP) in /home/*****/xavierroy.com/authdiag.php on line 37
# boffosocko.com edited /WordPress_Troubleshooting (+715) "debugging the micropub plugin" (view diff)
# [matpacker] [xavierroy] try this in your .htaccess
# [matpacker] SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
# [matpacker] RewriteRule .* - [E=HTTP_AUTHORIZATION:%
{HTTP:Authorization}
]# [chrisaldrich] [matpacker] Be sure to let them know about [xavierroy]'s problem as well so they know it affects more than one person with others potentially to follow.
# [xavierroy] [matpacker] I think i already had it set in .htaccess
# [xavierroy] Let me check once more
# [matpacker] [chrisaldrich] the error that [xavierroy] posted is to do with the gist I believe
# [matpacker] I get the same error on the gist, but it's not the authorization error that I reported
# [xavierroy] Nope. I still get the error:
# [chrisaldrich] [cleverdevil] is there anyone you can nudge at DreamHost in the morning to help with this^^
# [xavierroy] > # BEGIN WordPress
# [xavierroy] RewriteBase /
# [xavierroy] <IfModule mod_rewrite.c>
# [xavierroy] RewriteEngine On
# [xavierroy] RewriteRule ^index\.php$ - [L]
# [xavierroy] RewriteCond %
{REQUEST_FILENAME}
!-f# [xavierroy] RewriteCond %
{REQUEST_FILENAME}
!-d# [xavierroy] RewriteRule . /index.php [L]
# [xavierroy] SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
# [xavierroy] </IfModule>
# [xavierroy] RewriteRule .* - [E=HTTP_AUTHORIZATION:%
{HTTP:Authorization}
]# [xavierroy] # END WordPress
# [matpacker] [xavierroy] are you able to post to your site from Quill, Indigenous, Monocle, etc?
# [xavierroy] [matpacker] No.
# [matpacker] When you try, do you get the 401 and 500 error messages from Monocle?
# [xavierroy] I'm waiting for the latest update from@dshanske
# [xavierroy] [matpacker] I get a 403 error: The token endpoint could not verify this access token
# [matpacker] [xavierroy] sounds like it might be the same problem as well
# [xavierroy] [matpacker] Let's wait and see how it is resolved
# [matpacker] [xavierroy] are you on DreamHost's shared server, or VPS ?
# [xavierroy] shared
# [matpacker] I suspect that the shared servers have the same config as the DreamPress ones.
# [matpacker] gregorlove: is also on DreamHost, but I think he's on VPS?
# gRegorLove No, shared
# gRegorLove Of these two options: https://wordpress.org/plugins/micropub/#faq-header I only have the SetEnvIf line. Mine is slightly different (copy/paste from somewhere else, heh), but I think should have the same effect.
# gRegorLove If you want to try my variant since it works for me on DH shared, https://chat.indieweb.org/wordpress/2018-07-26#t1532580129835700
# gRegorLove Oh, I would also bump that SetEnvIf line further up, before the # BEGIN WordPress
# gRegorLove That *might* be it
[cleverdevil] joined the channel
# [cleverdevil] Yo, sorry I missed your message above.
# [cleverdevil] Catching up on the issues...
# [cleverdevil] So, DreamPress uses Varnish under the hood to cache/accelerate.
# [cleverdevil] *Could* be an issue there, but not sure.
# [cleverdevil] If someone sends me an email with details, I can ping one of my former colleagues to take a look.
# [cleverdevil] That said, if you're already engaged with support, they're usually pretty great! You can specifically ask for Mika Epstein, she's one of the best WordPress guru's they have on the team.
# [matpacker] [cleverdevil] I've got a ticket in the system that they're working on
# [xavierroy] [gregorlove] $0 doesn't work
# [matpacker] gregorlove: are you using WordPress?
# gRegorLove [cleverdevil]++
# gRegorLove [matpacker], No WordPress, but this Authorization header issue should be independent of CMS
# gRegorLove I suspect it's Varnish, that's the only difference I can think of between our accounts.
# [matpacker] Just playing around at this stage, but I purged my debug plugin disabled caching, and tried running through the authorization on Monocle again, got a php error about the headers already being sent - https://gist.github.com/matpacker/d78592be400807b40624ae9d283c64cc
# gRegorLove Looks like an error in the WP micropub plugin
[snarfed] joined the channel
# [matpacker] Morning Marco
# [matpacker] gregorlove: will have to get [snarfed] to have a look at it
# gRegorLove GWG has been doing a lot of work on it, I believe
[ryan339] joined the channel
jhsheridan, [jgmac1106] and jgmac1106 joined the channel
# jgmac1106 grrrrr fooling around , with WordPress seeing if I could play with a lightweight webmention badge. Not sure I get WordPress to WordPress webmentions right now unless I go through social media and ran into same probelm as [MarcoZDE] and the link to the manually webmention I sent is https://brid.gy/publish/twitter
# jgmac1106 …..and I totally forget how I solve this avatar issue with bridgy syndicating to Twitter: https://twitter.com/jgmac1106/status/1022423818541981696 I know I have the in past…just need to think on it when I have the time
# @jgmac1106 Homebrew Website Club Badge _( http://jgregorymcverry.com)_ > This badge celebrates those who attend a Homebrew Website Club. Criteria: Send a webmention and include a link to a photo or chatlog of your attendance at your first Homebrew Website Club. (This… https://www.brid.gy/publish/twitter https://pbs.twimg.com/media/DjBhC10U0AAVwjJ.jpg (twitter.com/_/status/1022423818541981696)
jhsheridan and donblanco joined the channel
# jgmac1106 working on this now: https://edu-522.glitch.me/weekzero.html
donblanco joined the channel; donblanco left the channel
# sknebel http://pin13.net/mf2/?url=https%3A%2F%2Fglenn.thedixons.net%2F243-2%2F yeah, no name (and artifacts with "next post", "previous post" as additional names), no content is probably what bridgy doesn't like. you could check/ask what chrisadlrich does, he is afaik tweeting bookmarks and might have adjusted the post kind for that
# Loqi Goodreads is a silo for keeping track of books, reviews, and reading progress https://indieweb.org/Goodreads
# donblanco maybe this? https://github.com/kylewm/silo.pub
[xavierroy] joined the channel
# [xavierroy] how many entries do you have?
# [xavierroy] you can break your reading posts into smaller chunks (say years) and import using any plugin
# [xavierroy] true, you can get those entries into WP and then change them manually
# [xavierroy] i've been slowly importing watch kinds from my netflix queue that way
jeremycherfas joined the channel
# [xavierroy] most importers allow adding custom fields.. you can probably make the isbn's as custom fields and then pull them up as needed
# donblanco I did, however, find this interesting possibility of using WP-CLI and SQL https://wordpress.stackexchange.com/questions/275252/creating-20-000-posts-or-pages-using-a-csv-file
# jeremych- I have completely forgotten how to do a custom page template for WP -- never mind about making it IndieWeb compatible. I'm diving into the Codex, and tying a long string to my wrist.
# jeremych- Good points. Thanks.
[kevinmarks] joined the channel
# Loqi SNAP (Social Network Auto Poster) is a POSSE plugin for WordPress https://indieweb.org/SNAP
# [xavierroy] @donblanco curious to know how much posts are you trying to import?
# [xavierroy] @donblanco link to any sample content
# donblanco @xavierroy from the bookmarklet? https://glenn.thedixons.net/kind/bookmark/
# [xavierroy] @donblanco nice icons? which font icon?
# donblanco dashicons - which are supossedly in core, but enabled through plugin https://wordpress.org/plugins/menu-icons/
jeremych_, wagle, jhsheridan, [snarfed], jeremycherfas, [eddie], jackjamieson, [kim_landwehr] and donblanco joined the channel
[cleverdevil] joined the channel
jgmac1106 and jgmac1106_ joined the channel
# jeremych- Turned out the plugin I thought would save me was not up to the job. Or my CSS wasn't. Either way, ended up creating a new template page and selecting on that for the category. All systems now go and almost ready for prime time.
[jgmac1106], [ryan339], [manton], [eddie], jeremych_, jhsheridan, gRegorLove, jgmac1106_ and tantek__ joined the channel
# jhsheridan has anyone here integrated the post kinds plugin into a custom theme?
# gRegorLove Re: earlier discussion about indiebookclub, I'd be open to an import from CSV option. Feel free to open an issue to discuss: https://github.com/gregorlove/indiebookclub/issues
# gRegorLove I'm working on open sourcing it, too, so soon people can submit PRs :)
[manton], [kim_landwehr], [asuh], [ryan339], tantek__, gRegorLove and [chrisaldrich] joined the channel
# [chrisaldrich] donblanco for WP -> mastodon you might try: https://de.wordpress.org/plugins/wp-mastodon-share/ it's the successor plugin to another that was deprecated earlier in the year
# [chrisaldrich] The other one was https://github.com/simonfrey/mastodon_wordpress_autopost/issues/14. I had used the older one, but haven't tried the new one yet.
# jgmac1106_ [chrisaldrich] this looks way better than the post iI was using
# [chrisaldrich] jhsheridan, the GWG 2016 fork integrates it to some extent, though really I'd say that that one cuts out Post Formats in favor of Post Kinds. I think [miklb] has been working on a theme that adds more custom post kinds into it.
# [chrisaldrich] jhsheridan I think [miklb]'s theme is Independence which is here: https://github.com/miklb/independence. Haven't looked at it myself, but you might find something useful in there.
# [chrisaldrich] donblanco, If you're planning on using the Brid.gy publish plugin to syndicate to Twitter, et al., I highly recommend you read https://brid.gy/about and use the most microformats v2 compliant theme you can find (or tweak your own theme to be compliant). Otherwise you'll find a LOT of frustration.
tantek joined the channel
# [chrisaldrich] Apparently recent IndieAuth fixes have allowed me to get OwnYourSwarm working for checkins! I've finally moved from https://ownyourcheckin.wirres.net to OwnYourSwarm.
# [chrisaldrich] GWG++ for IndieAuth fixes
# [chrisaldrich] aaronpk++ for OwnYourSwarm goodness!
# jgmac1106_ I have checkins but never Swarmed …do I allow an app on my phone…..
# [chrisaldrich] Now to fill the gap of the couple of months from April/May to recently for lost checkin data....
# [chrisaldrich] OYS allows you to leverage Swarm's nice mobile interface to PESOS from there to your website via Micropub. Then it also webmentions you with Swarm's notifications/updates/likes/etc.
# jgmac1106_ watching how the snopes.com uses custom fields in WordPress to do claimreview https://schema.org/ClaimReview ….just saw how the blocks in Gutenberg->to metadata..think it will be neat
# [chrisaldrich] Here's an example: https://boffosocko.com/2018/07/26/55722161/
# [chrisaldrich] Look at Loqi with the GPS coordinates and the physical address. Loqi is better than Slack's unfurler.
# [chrisaldrich] aaronpk++ for Loqi and xray
# jgmac1106_ Machado now lives in LA
# jgmac1106_ Sorry to miss HWC last night [chrisaldrich] house fell asleep pretty early but I had nothing left for WordPress
[kim_landwehr] and donblanco joined the channel
# donblanco @chrisaldrich - well that first one failed, but this one worked just fine https://wordpress.org/plugins/autopost-to-mastodon/
[manton] joined the channel
[kevinmarks] joined the channel
[jgmac1106], [ryan339] and [miklb] joined the channel
# [jgmac1106] Hey @miklb
[matpacker] joined the channel
# [matpacker] Morning / Afternoon all
[kevinmarks] joined the channel
Margo1 joined the channel
[chrisaldrich] joined the channel
# [chrisaldrich] GWG: I'm using the release version of IndieAuth.
# [chrisaldrich] hmm... either I missed that conversation or it was hiding somewhere... either way it seems to be chugging along.
phildini1 and jgmac1106_ joined the channel
# jgmac1106_ autopost-to-mastodon/ only works for articles in my experience