#wordpress 2017-10-18

2017-10-18 UTC
EmreSoku_, [eddie], [miklb], [keithjgrant], el3ctron and [jefferydperry] joined the channel
#
[miklb]
jefferydperry in here
#
[jefferydperry]
Got it
#
[jefferydperry]
define('IS_PROFILE_PAGE', true);
#
[jefferydperry]
require_once( dirname( __FILE__ ) . '/user-edit.php' );
#
[jefferydperry]
/** Load User Editing Page */
#
[jefferydperry]
That is what I have in there now
#
[miklb]
no, I mean in the admin part of your site /profile.php not the file
#
[miklb]
sorry I wasn’t clear
#
[jefferydperry]
it had my other site in there
#
[jefferydperry]
I have since changed it but it still shows the <span> code
#
[jefferydperry]
It now links to jeffperry.blog instead of the other website
#
[miklb]
ah, that’s why it’s displaying on the front end. That shouldn’t require any markup
#
[miklb]
what does it show for Display Name?
#
[jefferydperry]
Jeff Perry
#
[miklb]
hmm. that is weird then.
#
[jefferydperry]
I know
#
[miklb]
have you edited the theme?
#
[miklb]
Also, do you have the microformats2 plugin active
#
[miklb]
you shouldn’t need that with a theme like sempress
#
[jefferydperry]
I do have it active
#
[jefferydperry]
let me deactivate it
#
[jefferydperry]
I haven't edited the theme except some widgets
#
[jefferydperry]
That did it
#
[jefferydperry]
I just needed to deactivate the plugin
#
[jefferydperry]
Thank you so much miklb
#
[miklb]
Awesome. Yeah that plugin is more of a stop gap for people that don’t have a microformats ready theme
#
[jefferydperry]
I see
#
[miklb]
We should document that better
#
[jefferydperry]
Well, now that I have that handled. What do I need to do to make sure I have everything to make sure my site is Indieweb ready?
#
[miklb]
That’s a broad spectrum, but I would hookup the webmentions plugin & bridgy to start
#
[jefferydperry]
I can do that
#
[miklb]
Then build from there. You might want to add micropub since you are also doing micro.blog
#
[miklb]
That would allow to use the micro.blog apps to post to your site as well
#
[jefferydperry]
I have micro pup installed. I haven't touched it though
#
[jefferydperry]
Yeah, I have that set already
#
[miklb]
I would do it incrementally so as not get overwhelmed. There is a lot of things that fall under indieweb but those are basics to allow you to syndicate & get backfeed from silos (twitter, Facebook, etc)
#
[jefferydperry]
Right
#
[jefferydperry]
I think I have the basics set up. My biggest thing is I want to have micro.blog be a hub for me to post things on my blog
#
[miklb]
you may find you want to do it the other way around, and have your WordPress site feed into micro.blog
#
[miklb]
Some people set up a special category for just micro.blog posts and use that feed to post to micro.blog and then have other stuff on the site that doesn’t, but I personally feed all of my notes, articles and photos out
#
[miklb]
there’s also a wordpress slack channel in the micro.blog slack Can ask some of the users there how they do it
#
[miklb]
if you haven’t joined, https://micro.blog/slack
#
[jefferydperry]
I think I have that set up as well
#
[jefferydperry]
I am testing things currently to see it it works like that
#
[miklb]
I should add that you will want to add the semantic-linkbacks plugin for being able to do more with the webmentions
#
[miklb]
I also use the post-kinds plugin, but some people prefer the native post formats in WordPress
#
[miklb]
that will come with exploration of how you want to post content and differentiate from one type to the next
#
[miklb]
looks like your tests are going through to micro.blog
#
[jefferydperry]
Yeah it took some changes to the feed settings since i put them in wrong but they are all good now.
#
GWG
I don't prefer native post formats
#
[jefferydperry]
I wonder if there is an easier way to post micro-content into wordpress on iOS than the native app
#
[jefferydperry]
I guess i am not sure what the difference between native and non-native formats are
#
[miklb]
that’s where micropub would come. You can use Quill
#
[miklb]
what is quill
#
Loqi
Quill is a simple app for posting text notes to your website using Micropub https://indieweb.org/Quill
#
GWG
Post Formats are built into WordPress, Post Kinds are a plugin that is more Indieweb targeted
#
[miklb]
that’s what I said ?
#
GWG
[miklb]: At least I'm making progress on my site while I'm away
#
[miklb]
excellent! I’m looking forward to checkins being added to post-formats ?
#
[jefferydperry]
hmmm I am not sure if I have things set up right to use Quill
#
GWG
You need the Micropub plugin for that
#
[jefferydperry]
Yeah I have that
#
GWG
Did you?
#
[jefferydperry]
It is installed and activated
tbbrown joined the channel
#
GWG
It doesn't have any visible settings yet
#
[miklb]
jefferydperry were you able to login to the wiki?
#
[jefferydperry]
I never logged in.
#
[miklb]
that’s a good test for being able to use indieauth which Quill and a few other services (brid.gy I think?) use to authenticate with.
#
[miklb]
test in that if you can log into the wiki, then you’ll be able to login like that elsewhere.
#
[jefferydperry]
It seems I can't
#
GWG
Did you complete your profile settings?
#
[miklb]
https://indiewebify.me has a test, it might help debug that
#
GWG
We definitely need better documentation in the Indieweb plugin
#
[miklb]
agreed
#
[miklb]
I’m so hoping to get good news finally about this job so I can get back on track and be able to tackle things on my want-to-do list
#
[miklb]
I’ll know something by end of this week
#
GWG
Good luck
#
[miklb]
thanks!
#
GWG
I will be continuing my photo journey in a few.
#
[miklb]
have fun
#
GWG
I consider it the gathering of test data
#
GWG
Considering they've cancelled most of the tour so far.
#
[miklb]
that does suck
#
GWG
Happens
#
GWG
Usually to me
#
Loqi
[Donncha] The Aftermath of Hurricane Ophelia
#
GWG
I was in Blarney yesterday
#
GWG
Castle was closed
#
[miklb]
the apples, not the rest of the of the photos
#
GWG
I'm trying to figure out the changes I have to make to the Post Kinds data storage to match up with the Micropub plugin
#
GWG
Arrays for everything
#
[miklb]
yeah. That leads back to that GitHub issue that snarfed has asked about re: normalizing the data across the IW plugins
#
GWG
He keeps asking about the parsing,, not the data structure
#
[jefferydperry]
weird. So I was able to sign in to Quill but I can't get indiewebify.me get and link back
#
[miklb]
it’s possible indiewebify.me is broken. If you can login to Quill and maybe test the wiki then you should be good
#
[jefferydperry]
Yeah the wiki and Quill are good
#
[miklb]
then indiewebify.me is broken and apologize for suggesting it
#
[jefferydperry]
no worries
#
[jefferydperry]
I thank you for holding my hand in this whole process. It really helped me out
#
[miklb]
there are enough rabbit holes that going down a broken one isn’t fun
#
[miklb]
my pleasure! Welcome to the IndieWeb
#
[jefferydperry]
Thanks ?
#
[miklb]
GWG I can’t find that issue now. Do you remember which repo it was in?
#
[jefferydperry]
I am off for now. It is almost 2:30 am for me. Good night everyone!
#
[miklb]
likewise
#
[miklb]
jefferydperry don’t hesitate to ask about anything else, and the main channel is great for general questions about the different parts of IW
#
GWG
microformats 2 I think
#
[miklb]
ah, yes. I thought for some reason there was still some questions on how to normalize the data stored across the different plugins then how to determine how each plugin could know what was outputting what
#
[miklb]
but on that note, I’m turning in myself.
#
[miklb]
enjoy Ireland and creating more test data.
#
GWG
Thanks
[pfefferle] joined the channel
#
[pfefferle]
good morning!
#
[pfefferle]
? so much action here
#
Loqi
good morning
#
[pfefferle]
miklb the OStatus is a very old stand alone plugin that should work without any other services… The salmon plugin is a bit old and needs some refactorings, but even that should work as is…
#
GWG
pfefferle, where are we with microformats rendering?
#
GWG
I have been doing some field tests for check-ins and want to get them working.
#
GWG
I hope to have some stuff done before I leave Europe
EmreSoku_, wagle_, jeremycherfas and [pfefferle] joined the channel
#
[pfefferle]
I have no idea what you mean with microformats rendering…
#
[pfefferle]
regarding themes or uf2-plugin?
#
GWG
The issue snarfed was asking about
#
GWG
How to determine which plugin is handling things
#
[pfefferle]
I think there is no update yet and I am not sure if I am the perfect one to ask ?
#
GWG
I think someone should just implement something and that will push it along
#
GWG
I have other priorities though
#
[pfefferle]
that is also my problem
#
[pfefferle]
and I have no real issue atm.
#
GWG
I do, but I need to fix it on my end
#
GWG
snarfed uses arrays to store single values and I don't
#
GWG
To get Micropub working with my stuff
[heydon], brokaw, tantek and [pfefferle] joined the channel
#
[pfefferle]
what about using APIs internally?
tbbrown, [barryf], [eddie], brokaw, [tantek] and [miklb] joined the channel
#
[miklb]
that sounds intriguing pfefferle
jeremycherfas, [markmhendrickso and [barryf] joined the channel
#
GWG
I was away and not sure what he meant
[pfefferle] joined the channel
#
GWG
But probably using functions to abstract the data storage
#
GWG
Which was my tentative plan
#
GWG
pfefferle, what did you mean?
#
[pfefferle]
I am also not sure ?
#
GWG
About what you meant by API?
dougbeal|iOS joined the channel
#
[pfefferle]
no, I really meant APIs
#
GWG
Then can you explain?
#
GWG
What API?
tantek joined the channel
#
[pfefferle]
extending the WP API
#
GWG
Oh, putting in a mf2 endpoint? interesting
#
[pfefferle]
the database as API is a bad idea
#
GWG
At that point, rewriting Micropub that way is an option
#
[pfefferle]
it causes a lot of discussions and a change on one plugin can kill several others
#
GWG
As noticed
#
GWG
Think that is a better move for my Post Kinds problem?
#
[pfefferle]
I am not sure what exacly your problem is…
#
[pfefferle]
you mean the represantation of the micropub data?
#
GWG
Yes, versus my representation of it
#
[pfefferle]
hmmm I am not sure…
#
[pfefferle]
are there differnet plugins that are providing the same set of data?
#
GWG
I thought about writing a new class to abstract it away from the usage code.
#
GWG
Yes, Post Kinds, Simple Location, and Micropub are all using mf2_ prefixed data.
#
[pfefferle]
ah ok, I see… now I know again…
#
GWG
If I change to support single values as arrays and nested microformats, we're back to compatible
#
[pfefferle]
but you will have the same problem again and again and again
#
[pfefferle]
perhaps we should build a single monolith wordpress plugin? ?
#
GWG
pfefferle, how about a single monolith data storage plugin that the others depend on?
#
[pfefferle]
but then you have the same discussion we had in the uf2 plugin
#
GWG
Yes
#
[pfefferle]
you always need one extra plugin without a need, a user understands
#
GWG
Well, I have some ideas
#
[pfefferle]
and if you do not have it you can not persist?
#
GWG
Then it should do something, but not everything.
#
[pfefferle]
I am still not convinced…
#
[pfefferle]
sounds to complicated for plugin developers
#
GWG
Well, neither am I, but I have to do something
#
[pfefferle]
if i introduce a new field I have to extend the storage plugin and have to also build a local fallback
#
GWG
So I will build a solution into Post Kinds for the immediate problem and work from there.
#
GWG
Advanced Custom Fields has that problem
#
GWG
I wish I had a solution
[kevinmarks], tantek and [miklb] joined the channel
#
[miklb]
sounds like a decision needs to be made wether the goal is to make it easier for a developer or for the end users.
#
[miklb]
Somewhere in the middle lies the answer
#
GWG
Exactly
#
GWG
That is why I would go for abstraction.
#
GWG
Replace Kind_Meta
#
[miklb]
I personally don’t see why that can’t be part of the core IW plugin.
#
[miklb]
let it stand as the source of truth for all things mf2/indieweb data
#
GWG
Let me write something before we debate that
#
GWG
I planned to write a version of WP_Post
#
GWG
Something that represents the post as mf2
#
GWG
Then I might take pfefferle's API thought and make an endpoint
#
GWG
Extend the REST API to support it
#
GWG
But that makes sense to merge with Micropub
#
GWG
Because you can query for mf2 post data
#
GWG
Micropub doesn't support that yet
tantek and [miklb] joined the channel
#
[miklb]
merge which with micropub?
#
GWG
Querying for microformats properties
#
GWG
It is in the micropub spec
#
[miklb]
how would that work with webmentions/semantic-linkbacks
#
GWG
Well, we'll see how things work out.
#
GWG
I'm going in steps
#
GWG
I have other things to do, but...
#
GWG
1. Write the class
#
[miklb]
sure, just thinking out loud
#
GWG
2. Use the clas
#
GWG
3. See about refactoring
#
GWG
So, webmentions don't need to store mf2, do they?
#
GWG
Semantic Linkbacks does in comments, but not posts
#
[miklb]
I guess I was thinking the linkbacks
#
GWG
That would be a similar project
#
GWG
Comment extension
brokaw and tbbrown joined the channel