#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
#
Loqi
[colin-walker] on-this-day: Code to create a list of posts on this day
#
GWG
[colinwalker]: I scoped out one.
#
[matpacker]
GWG: just DM'd you via Slack. Just confirming your email address.
[manton] joined the channel
#
GWG
[matpacker]: Are you using some sort of caching?
#
[matpacker]
GWG: yes, Varnish.
#
tantek__
is there a way in WordPress with the Webmentions plugin to turn-off all local comments and *only* allow comments via Webmention? (not pingback nor trackback)
#
GWG
[matpacker]: Does it exclude the Micropub endpoint and the REST API endpoints?
#
[matpacker]
GWG: I don't believe anything is excluded. I can just disable caching, it's probably overkill
#
GWG
[matpacker]: Temporarily at least.
#
GWG
Eliminate it
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
#
GWG
[matpacker]: Can you check your server error logs right now?
#
GWG
tantek, only the webmention form?
#
GWG
BUt not the comment form?
[tantek] joined the channel
#
[tantek]
Only via webmentions whether via form or direct endpoint
#
GWG
Hide the comment form
#
[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
#
dougbeal
Hurm, are there any HEIC plugins for wordpress?
#
[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/
#
Loqi
[BrokenCrust] Description This Plugin allows you to enter and manage different kinds of historical events that you then display in via a This Day In History widget or shortcodes. Shortcodes For version 2.0 the shortcode has been completely redesigned and split in...
#
[tantek]
chrisaldrich++ thanks! Can you add that to /on_this_day perhaps in a new “WordPress support” section?
#
Loqi
chrisaldrich has 12 karma in this channel (105 overall)
#
[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.
#
Loqi
tantek has 3 karma in this channel (464 overall)
#
[chrisaldrich]
I'll document it in just a bit... still catching up on logs and need to eat some dinner before HWC.
#
GWG
[matpacker]: The header thing confuses me
#
[matpacker]
GWG: the micro.blog endpoint stuff?
#
GWG
micropub
#
GWG
New error
[snarfed] joined the channel
#
dougbeal
I'm now getting Your endpoint did not return a Location header. in Quill with favorite/like. It was working...
#
[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.
#
dougbeal
Let me try deploying the scope fix, see what happens
#
GWG
[matpacker]: Its something else.
#
[matpacker]
GWG: I'm waaaay out of my depth. Happy to try anything you suggest.
#
GWG
[matpacker]: Brainstorming
#
[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).
#
GWG
Yes
#
GWG
Though I should change that
#
[matpacker]
GWG++
#
Loqi
gwg has 77 karma in this channel (389 overall)
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
#
Loqi
community has 2 karma
#
[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
#
dougbeal
GWG: hotfixed the scope pull request, fixes the display problem for sure
#
GWG
And scope validity issue
#
dougbeal
GWG: also fixed Quill
#
GWG
dougbeal: Exactly
#
[matpacker]
GWG: can you have multiple authorization endpoints? i.e. micro.blog's endpoint + the micropub plugin created endpoint?
#
GWG
Why?
#
GWG
Oh!!
#
GWG
I see it
#
GWG
Removing it
[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.
#
GWG
There are no tokens in mine
#
GWG
[matpacker]: Wonder why I don't see any. I never tested multi-user sites.
#
[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
#
GWG
>More information about this error may be available in the server error log.</p> <p>Additionally, a 401 Authorization Required error was encountered while trying to use an ErrorDocument to handle the request.</p> </body></html>
#
GWG
The odd thing is that it is returning a 500 error, and a 401 inside it
#
GWG
I need an Apache person.
#
GWG
I use Nginx
#
dougbeal
I have done some Apache in the past, you think it might be misconfigured?
iambismark joined the channel
#
[matpacker]
From Monocle, I now get " missing_endpoint
#
[matpacker]
We didn't find a Microsub endpoint at your website"
#
GWG
It's giving a 500 error, and a 401 inside it.
#
GWG
[matpacker]: I shut off your header plugin.
#
[matpacker]
GWG: ok
#
GWG
I just turned it back on
#
GWG
It is causing the header error
#
GWG
I think
#
GWG
But the 500 is not in WordPress
#
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
I think the new version fixes that
#
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.
#
GWG
[matpacker]: Something is in front of it.
#
GWG
I'm not sure how Dreamhost does it.
#
[matpacker]
GWG: is there an Indieweb preferred host? It doesn't bother me to move my hosting elsewhere.
#
GWG
[matpacker]: No. Dreamhost should be fine.
#
GWG
But let's see what DreamPress is
#
GWG
I'm reading it now
#
GWG
Web Application Firewall maybe
#
[matpacker]
haha just about to type that
#
GWG
[matpacker]: You disabled their plugin
#
GWG
That doesn't disable it.
#
GWG
There is a dev mode.
#
GWG
It is still returning a 200 when I try to query the endpoint.
#
[matpacker]
GWG: the caching?
#
GWG
[matpacker]: Yes. But, it is saying that the server encountered an internal error, please contact the web administrator.
#
GWG
But the plugin shouldn't do that
#
GWG
So, it seems the server issue needs to be solved.
#
GWG
They offer tech support?
#
[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."
#
GWG
Permalink issues?
#
dougbeal
[matpacker]: might need a minimal .htaccess to serve any files
#
[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
#
GWG
You would.
#
dougbeal
You might need an Allow From All? Its shared hosting?
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
#
dougbeal
[matpacker]: that .htaccess looks fine to me. If you disable it, then anything that would normally route through index.php will fail
#
dougbeal
Let me fire up my old shared account and see if it works
#
[matpacker]
Searching around and found - <Files file.html>
#
[matpacker]
</Files>
#
[matpacker]
Satisfy Any
#
[matpacker]
Allow from all
#
dougbeal
GWG: are the auth header stripping work arounds in the production plugin versions? I'm getting {"error":"parameter_absent","error_description":"Missing Parameter: redirect_uri"} on my shared host
#
GWG
dougbeal: That I have seen, but I'm not sure why
#
dougbeal
GWG: I have the SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1 workaround
#
GWG
It is usually there
[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
#
donblanco
so I enabled the 'video' post-kind and it isn't showing because something is adding a 'class="visuallyhidden" to it - wtf?
#
donblanco
isn't showing in the menu, that is
#
donblanco
eh nvm - twas a menu icon plugin setting...
[cleverdevil], [chrisaldrich] and [matpacker] joined the channel
#
[matpacker]
Dreamhost aren't giving me much to work with, considering moving hosts at this stage...unless
#
aaronpk
Did that SetEnvIf thing in the htaccess work?
#
[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
#
aaronpk
Huh I don't know about that
#
aaronpk
have they not been able to tell you what is blocking the header?
#
[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.
#
aaronpk
Hm it seems like it would be easy to make a small file they can use to debug this. Has anyone made a test file for this yet? Just needs to output the http headers that are sent, and then give them a curl command to hit the file with a test header.
#
[matpacker]
No, have uploaded a couple of gists with the errors in them. The rest is deeper than my current knowledge base.
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
#
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
#
Loqi
zegnat has 3 karma in this channel (260 overall)
#
[matpacker]
gRegorLove++ for his help!
#
Loqi
gregorlove has 3 karma in this channel (265 overall)
#
[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 ?
#
[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
#
Loqi
[gRegorLove] I have `SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0` in my .htaccess to get the Authorization header in PHP
#
gRegorLove
Oh, I would also bump that SetEnvIf line further up, before the # BEGIN WordPress
#
gRegorLove
That *might* be it
#
dougbeal
Hurm, I have SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1, I wonder if the $1 is the problem
[cleverdevil] joined the channel
#
[cleverdevil]
Yo, sorry I missed your message above.
#
[cleverdevil]
Catching up on the issues...
#
dougbeal
nothing seemed to make a difference
#
dougbeal
oh, should install ZEGNAT gist
#
[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]++
#
Loqi
cleverdevil has 1 karma in this channel (114 overall)
#
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
#
MarcoZDe
Good morning everyone! (From Europe) :)
#
[matpacker]
Morning Marco
#
aaronpk
Thanks for digging up that gist! That's what I was remembering!
#
[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
#
MarcoZDe
who is Www.marcozehe.de
#
MarcoZDe
who is user:Www.marcozehe.de
jhsheridan, [jgmac1106] and jgmac1106 joined the channel
#
jgmac1106
Morning Marco
#
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
….ohh well didn’t have time to play with credentialing anyway this morning, but want to make sure my webmentions are working without silos, please feel free to reply to any random post on my blog….
#
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)
#
jgmac1106
but I was also using the same Twitter account, if anyone else wants to “apply” to the badge please do, what I don’t know, and what I would like to play with is the last step of issuing so the badge carries links to the post with the evidence and a link to the post with the criteria
jhsheridan and donblanco joined the channel
#
donblanco
heyo - new day, new set of problems :)
#
jgmac1106
yeah, but we are WordPress users, nothing new
#
donblanco
so I set up a bookmarklet to save bookmarklets (to use for a read-later function) - it just opens a post window with kind set to bookmark
#
donblanco
but when I publish, I get an error from Brid.gy "No microformats2 data found" - obviously I don't need to post a bookmark to Twitter, but is that an expected behavior w/ this post type?
#
donblanco
doesn't happen when I deselect Twitter - maybe because I wasn't adding text to the link?
#
donblanco
nothing big either way
#
sknebel
link to a post?
#
donblanco
the error only appears in the back end - post window
#
sknebel
can still check out the microformats on the post, and/or give it to bridgy manually
donblanco joined the channel; donblanco left the channel
#
donblanco
so the web interface is different than regular IRC...huh
#
donblanco
so if Brid.gy no longer works with Facebook, does this mean POSSE is dead (or on life support)?
#
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
#
donblanco
yeah, I'm sure it's the different rules for that kind, including no title, etc.
#
donblanco
I guess I need to update my IndieWeb user page - so many itches! :(
#
donblanco
speaking of - I want to import my Goodreads csv into the appropriate post kind(s) but it seems to be an expensive 'pro' feature on all the import plugins I can find
#
sknebel
what is goodreads?
#
Loqi
Goodreads is a silo for keeping track of books, reviews, and reading progress https://indieweb.org/Goodreads
#
sknebel
hm... seems kylewm had something, but I can't find any details.
#
Loqi
[kylewm] silo.pub: Micropub bridge for hosted blogs
#
donblanco
jinx :)
#
sknebel
other direction
#
sknebel
maybe gRegorLove would consider goodreads import for indiebookclub
#
donblanco
I like that idea in general, but now I've just transferred from one 3rd party to the next?
#
donblanco
oh, nvm
#
donblanco
that would be one big import/post dump?
#
donblanco
looks like KyleWM's sites are all down - no silo.pub or woodwind.xyz - and he hasn't posted on his blog in over a year
#
sknebel
kind of, but if the data is there it should be able to create backdated posts on your site for when the original happened
#
donblanco
seems like I should be able to do that just directly in WP
#
sknebel
of course you could
[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
#
donblanco
but you can't import CSV's into wordpress' custom post types or fields, which is what post-kinds are
#
donblanco
well, you *can* but all the plugins charge $70-$100 for this feature
#
[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
#
jgmac1106
[donblanco] Twitter’s API Announcement has the writing on the wall, my syndication app was suspended and they have yet to restore it, edventually it will go away
#
jgmac1106
Bridgy only exists because silos won’t play on the open web or let others in their sandboaxes
#
jgmac1106
[donblanco] are you using PressThis? [chrisaldrich] has tutorial on changes you need to make to the plugin so it works with mf2
#
jgmac1106
Who is MarcoZDE?
jeremycherfas joined the channel
#
donblanco
@xavierroy - but wouldn't ISBN and other odd fields get lost?
#
donblanco
@jgmac1106 - no, just the IndieWeb plugins
#
[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
@xavierroy - they *all* charge $70-$100 to import to custom fields
#
donblanco
you have to upgrade to 'pro'
#
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
#
donblanco
also, I'd probably need to create some extra post-kinds to handle to-read, reading and finished-reading statuses...plus review stars
#
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.
#
donblanco
@jgmac1106 yeah I was wondering about brid.gy and silo API's - seems like POSSE is doomed
#
donblanco
@jeremych - don't forget breadcrumbs and extra flashlight batteries
#
jgmac1106
Most people use SNAP, I only use Bridgy for replying to Tweets as it is only one to thread
#
jeremych-
Good points. Thanks.
[kevinmarks] joined the channel
#
jgmac1106
but each post kind and each theme will behave differently when using Bridgy
#
jgmac1106
What is snap?
#
Loqi
SNAP (Social Network Auto Poster) is a POSSE plugin for WordPress https://indieweb.org/SNAP
#
jgmac1106
My SNAP is suspended. I @ mentioned too many baseball players during home run derby and twitter flagged me for harrassment
#
jgmac1106
won’t restore my app
#
jgmac1106
so been bridgy for a bit, gonna record SemPress tutorials today so I will know a bit, the gravatar image…..I forget was causes that and if it is only Indpendent Theme specific
#
donblanco
this is why I need wp>mastodon posse
#
jgmac1106
there is a plugin, only works for articles
#
donblanco
or at least webmention/thread integration
#
jgmac1106
otherwise it just publishes a link
#
Loqi
[Jason judge, Denis Kobozev] Description This WordPress plugin imports posts from CSV (Comma Separated Value) files into your WordPress blog. It can prove extremely useful when you want to import a bunch of posts from an Excel document or the like – simply export your docum...
#
jgmac1106
[snarfed] has some activitypub workflow but its complicated and he warned me to walk away given what is onmy sheet
#
jgmac1106
[xavierroy] I wonder if I can use that to import all my tweets, I publish to gSheets
#
jgmac1106
the autotoot plugin is really really slow too, too slow for me livetweeting or twitter chats
#
[xavierroy]
@donblanco curious to know how much posts are you trying to import?
#
donblanco
@xavierroy 130 books from goodreads - which that plugin just skipped - no option to do any column mapping :(
#
donblanco
also, now that I think about it, commas seem to be a bad delimiter choice for book reviews
#
donblanco
at least my bookmarklet for bookmark/link post-kind is working quite well :)
#
[xavierroy]
@donblanco link to any sample content
#
[xavierroy]
@donblanco nice icons? which font icon?
#
donblanco
dashicons - which are supossedly in core, but enabled through plugin https://wordpress.org/plugins/menu-icons/
#
Loqi
[ThemeIsle] Description This plugin gives you the ability to add icons to your menu items, similar to the look of the latest dashboard menu. Usage After the plugin is activated, go to Appearance > Menus to edit your menus Enable/Disable icon types in “Menu ...
#
jgmac1106
[donblanco] I always end up sticking in a link to fontawesome in my header, [gRegorLove] shared an icon set made strictly of css animation. I want to move to those
#
donblanco
maybe some day...
jeremych_, wagle, jhsheridan, [snarfed], jeremycherfas, [eddie], jackjamieson, [kim_landwehr] and donblanco joined the channel
#
donblanco
Do the normal WordPress discussion settings effect or override web mentions settings?
#
dougbeal
I think I recall both pingbacks and discussion needs to be turned on. But the comment box doesn't need to be displayed.
[cleverdevil] joined the channel
#
donblanco
So display:none all the things!
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 :)
#
sknebel
jhsheridan: I believe GWGs 2016 fork integrates it a lot
[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
#
Loqi
[Hellexis] Beschreibung Publish your posts on your Mastodon’s instance. Screenshots Installation Go to the configuration page, set your Mastodon instance url and other parameters. Click on button save. That’s all 😉 FAQ Installation...
#
[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.
#
Loqi
[chrisaldrich] #14 Better UI for status update cross-posting option
#
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.
#
Loqi
[miklb] independence: Custom WordPress theme currently on miklb.com
#
[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
#
Loqi
gwg has 78 karma in this channel (392 overall)
#
[chrisaldrich]
aaronpk++ for OwnYourSwarm goodness!
#
Loqi
aaronpk has 10 karma in this channel (1688 overall)
#
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
#
Loqi
[Chris Aldrich] Checked into Starbucks Black tea with the “regulars” Chris puzzles out some theoretical computer science while former Marylander and Baltimore Orioles fan Ben reads the day’s news. 34.1359807-118.1324051 575 S Lake Ave, Pasadena, CA, 91101...
#
[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 thanks!
#
GWG
chrisaldrich, dev or release version?
#
donblanco
@chrisaldrich - well that first one failed, but this one worked just fine https://wordpress.org/plugins/autopost-to-mastodon/
#
Loqi
[L1am0] Description A WordPress Plugin that automatically posts your new articles to Mastodon. The best: It is set and forget! With GNUsocial Autopost your post always get automatically posted to your Mastodon account. There are two formats available: Post...
#
donblanco
@chrisaldrich interesting about OwnYourSwarm - hasn't worked for me yet
#
GWG
I have more Indieauth fixes
[manton] joined the channel
#
GWG
[Manton], reminding you re jsonfeed
[kevinmarks] joined the channel
#
donblanco
well fuck - OwnYourSwarm disabled me due to too many micropub erros - wtf?
#
dougbeal
donblanco: its not a big deal, you just go to the import page and kick one off manually once you figure out what is causing it
[jgmac1106], [ryan339] and [miklb] joined the channel
#
[miklb]
g’day
#
[jgmac1106]
Hey @miklb
#
GWG
We all need better error messages
#
dougbeal
error_messages++
#
Loqi
error_messages has 1 karma
#
GWG
I think it has to be in the error logs
#
GWG
The issue in surfacing them is the path
#
GWG
miklb, things working for you?
#
[miklb]
no I’m going to look at it more tonight. Spent few days on beach, tried poking at a couple of things. I’m good though. It will all work itself out.
#
GWG
miklb, I continue to work through a major project
#
GWG
I know snarfed commented it is not a rewrite, and he's right that I am only calling it that due scope of work
#
[miklb]
I totally understand. I have a lot going on, and am patient since I’m not contributing anything back right now.
[matpacker] joined the channel
#
[matpacker]
Morning / Afternoon all
#
[miklb]
I spent a lot of time thinking about my theme framework while at the beach. Not so much on the committing code side.
#
GWG
I am working through new unit tests for Indieauth and Micropub concurrently for the authorization part as duplicative.
#
GWG
They both are an IndieAuth clients
#
[miklb]
you lost me with that last part
#
[miklb]
“…part as duplicative.”
#
dougbeal
miklb: Gutenberg theme issues?
#
GWG
Indieauth authorizes you to the Indieauth endpoint
#
[miklb]
it’s all part of my plan, to have something mf2 compliant that works with Gutenberg with theme css in the blocks.
#
dougbeal
miklb: ooh, that sounds nice
#
dougbeal
miklb: will it be tied to a layout model? (grid vs flexbox), ir is tht what the CSS is for?
#
[miklb]
not really. My idea is to have it be a framework/parent theme model
#
[miklb]
but I would have a starter child theme. Similar model to Genesis
#
GWG
Micropub authorizes you to Indieauth.com
#
[miklb]
ah, gotcha GWG
#
GWG
I have a pre Gutenberg plan
#
dougbeal
GWG: oh, so when you have the indieauth plugin enabled, it would still be using micropub code to complete the authorization?
#
GWG
No, other way round
#
dougbeal
oh, right
#
dougbeal
right now indieauth plugin shoves micropub to the side?
[kevinmarks] joined the channel
#
[miklb]
If I didn’t know any better, I’d say GWG is also setting the table to be able to more easily merge micropub & Indieauth if the time came. Which I applaud.
Margo1 joined the channel
#
GWG
miklb, I did suggest that.
#
GWG
But not necessarily
#
dougbeal
Has anyone ever used indieauth plugin w/o micropub?
[chrisaldrich] joined the channel
#
[chrisaldrich]
GWG: I'm using the release version of IndieAuth.
#
GWG
chrisaldrich, okay because pfefferle merged two bugs.
#
GWG
dougbeal, not that I know of but you could
#
GWG
Indieauth doesn't require Micropub, only vice versa
#
[chrisaldrich]
hmm... either I missed that conversation or it was hiding somewhere... either way it seems to be chugging along.
#
GWG
Which conversation?
phildini1 and jgmac1106_ joined the channel
#
jgmac1106_
autopost-to-mastodon/ only works for articles in my experience