#wordpress 2017-09-22

2017-09-22 UTC
tantek, wagle, [kevinmarks] and [pfefferle] joined the channel
#
[pfefferle]
good morninh
#
Loqi
*yawn*
drkokandy and [xavierroy] joined the channel
#
[xavierroy]
Pasted image at 2017-09-22, 3:30 PM https://files.slack.com/files-pri/T03QR2B2T-F77B29QJH/pasted_image_at_2017_09_22_03_30_pm.png?pub_secret=353034cdfc&name=Pasted image at 2017_09_22 03_30 PM.png aaronpk Thanks. that seemed to fix the indieauth issue. i can now log on to OYGram, but posting photos from there throws up an error? Is a cache clear required there also?
sebsel, [kevinmarks] and tantek joined the channel
#
aaronpk
[xavierroy]: hm that isn't a cache issue. Did you say you switched from wordpress to known or the other way around?
[xavierroy] joined the channel
#
[xavierroy]
aaronpk from Known to WP
#
[xavierroy]
I tried signing out and signing back in, disconnected IG and reconnected.
#
[xavierroy]
Same problem for OYSwarm also
#
aaronpk
Does switching the Micropub format fix it? There should be a setting in those to switch from simple to JSON format
#
aaronpk
also mind if I try posting from OYS/OYG to your site so I can see the logs?
#
[xavierroy]
Just tried posting from Quill now
#
[xavierroy]
Your endpoint did not return a Location header.
#
[xavierroy]
See Creating a Micropub Endpoint for more information.
#
[xavierroy]
Date: Fri, 22 Sep 2017 14:41:52 GMT
#
[xavierroy]
Server: Apache
#
[xavierroy]
HTTP/1.1 200 OK
#
[xavierroy]
Cache-Control: max-age=3600
#
[xavierroy]
Vary: Accept-Encoding
#
[xavierroy]
Expires: Fri, 22 Sep 2017 15:41:52 GMT
#
[xavierroy]
Transfer-Encoding: chunked
#
[xavierroy]
Content-Type: application/json; charset=UTF-8
#
[xavierroy]
"invalid access token: "
#
aaronpk
Well that's odd, signing in should replace the access token it has
#
aaronpk
(also thats the wrong http code to return if the access token is invalid, so that's a wordpress plugin isssue)
#
Loqi
[wp-plugins] micropub: WordPress.org Plugin Mirror
#
aaronpk
Yeah but there's still something weird going on that's causing the error in the first place
#
aaronpk
but yeah if the plugin is saying the token is invalid then 200 is not the right response
[eddie] and tantek joined the channel
#
aaronpk
[xavierroy] alright i'm checking it out now
[barryf] joined the channel
#
aaronpk
[xavierroy] oh you know what, i bet this is your web server stripping the HTTP Authorization header
[xavierroy] joined the channel
#
[xavierroy]
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
#
[xavierroy]
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
#
[xavierroy]
I tried both options in my htaccess file
#
aaronpk
when i try a manual micropub request to your site i get "missing access token" even though it's definitely in my request
#
[xavierroy]
Ok. Heading for a vacation. Will try again when I return.
#
[xavierroy]
Thanks for helping me out
[cleverdevil], [kevinmarks] and spaceoyster joined the channel
#
loqi.me
created /wordpress_micropub_plugin (+35) "prompted by tantek and dfn added by gRegorLove"
(view diff)
#
gregorlove.com
edited /wordpress_micropub_plugin (-3) "fix double redirect"
(view diff)
[barryf] and [chrisaldrich] joined the channel
#
[chrisaldrich]
^ Thinking about the aaronpk / xavierroy convo above. I know at IWS some of the kinks for connecting WordPress to OwnYourSwarm (and I think OYG) got worked out. Did anyone end up documenting it?
#
[chrisaldrich]
Even from a sketch perspective? Particularly hosts stripping out HTTP Authorization headers?
#
tantek
did someone at least document the issues / troubleshooting?
[cleverdevil] joined the channel
#
[chrisaldrich]
I think there are a couple of github issues with some longish threads from about 6 months ago, but it would be nice to have a distilled version for better onboarding.
#
tantek
I think you could say that about anything WordPress and indieweb related
#
tantek
still need more distilling of the wiki pages for getting started with WP
#
tantek
the "distilled version" should always be the "main" version
#
[chrisaldrich]
Yes, but this particular thing was something that several people spent some time working out, but never documented, and it's just come up again.
#
tantek
and details can be either farther down on the page or on separate pages
#
tantek
was it during the session? we have the video recording
#
tantek
and if it didn't make it to the etherpad, perhaps add it to the session archive on the wiki from the video?
#
[chrisaldrich]
I was going to switch soon from OwnYourCheckin to OwnYourSwarm which is more feature rich, but haven't had the time recently.
#
[chrisaldrich]
It was on build day, so I don't think it was recorded other than anomalily's demo at the end.
#
[chrisaldrich]
I only think a few people have gotten OYS working with WordPress so far too.
#
[chrisaldrich]
OYG has been pretty solid and straightforward to my knowledge, though I've been using https://wordpress.org/plugins/dsgnwrks-twitter-importer/ (PESOS) which is a bit more customized to WordPress for meta-data purposes.
#
Loqi
[DsgnWrks] Description In the spirit of WordPress and “owning your data,” this plugin will allow you to import and backup your tweets to your WordPress site. Includes robust options to allow you to control the imported posts formatting including built-in ...
[eddie], [cleverdevil], tantek_, [barryf], tantek, [miklb] and davidmead joined the channel
#
GWG
Been working on theme support while trying to restyle my site.
#
GWG
I did some more plugin integration and h-card enhancements on Independent Publisher while enhancing my h-card widget
#
GWG
I hope to have a new basic widget ready for miklb or pfefferle to review soon