#wordpress 2018-07-30

2018-07-30 UTC
#
GWG
I am looking forward to using it myself in production
#
[miklb]
this is why I think it won’t be difficult to translate mf2 to Gutenberg https://twitter.com/joe_hoyle/status/1023553627875696640
#
@joe_hoyle
It strikes me that it may not be widely understood that building on Gutenberg also means understanding the REST API; what data is available, how to create objects etc. Without this it’s difficult to do much custom block development.
(twitter.com/_/status/1023553627875696640)
#
jgmac1106_
at [miklb] just saying this scares me: “Blocks are higher-level than HTML #Blocks are higher-level than HTML” not sure I need anything that is a higher level than html
#
[miklb]
I can’t speak to the language on that page and where it fits into user experience. It is meant for the developer regardless in how to visualize what a block is.
#
jgmac1106_
also had no idea that the future of WordPress parsers was going to be dependant on html comments because html attributes are too messy
#
GWG
We should register mf2 properties so they will be available to the rest API
#
jgmac1106_
I know…just seemed like a pretty bold <h2> to make…saw some irony there
#
Loqi
gwg has 79 karma in this channel (394 overall)
#
tantek__
wat? "dependant on html comments"
#
GWG
I just don't know which plugin. Maybe that is the future of the uf2 plugin
#
GWG
tantek, correct
#
GWG
It uses it to parse
#
jgmac1106_
“Of these options a novel approach was suggested that by storing data in HTML comments we would know that we wouldn’t break the rest of the HTML in the document"
#
jgmac1106_
Whereas HTML attributes are complicated to parse properly, comments are quite easily described by a leading <!-- followed by anything except -- until the first -->
#
tantek__
until someone else does
#
tantek__
that is so naive I don't know where to begin
#
tantek__
someone needs to study the history (and failure) of previous attempts at storing data in HTML comments, e.g. RDF in Trackback
#
tantek__
doomed to repeat history, they are
#
GWG
tantek, I am afraid that I can't avoid Gutenberg
#
tantek__
perhaps therein lies the irony, WordPress out-competes Movable Type, which stored data in HTML comments, only to years later stumble down the same error that Movable Type did
#
[miklb]
only data being stored is relative to the the block and how WP handles it. Nothing about the finished content is there. I didn’t see that being a hill to die on.
#
jgmac1106_
I just found it interesting given how quickly html comments go off the rail in terms of data structure
#
[miklb]
those attributes would not be stored as html comments as I understand it
#
GWG
I thought at one point about trying the same tactic using mf2
#
jgmac1106_
yeah that is what I am realizing, the html comments are just for laying out the blocks
#
jgmac1106_
[gwg] the customClassName and with className: false…maybe
#
jgmac1106_
its just funny to see folks saying html comments as “novel” and attributes as “messy”
#
GWG
jgmac1106_: I meant, parsing post_content using the mf2 parser and then writing it back afterward.
[matpacker] joined the channel
#
[matpacker]
All this Gutenberg talk is making me think more about Jekyll, or another similar, static, text based, website
#
[miklb]
static sites are great.
#
[matpacker]
I'd love to get access to [aaronpk] site, just re-jig the css for my own styling, otherwise, it's pretty much perfect...from the outside, at least.
#
[miklb]
there will be a plugin to disable Gutenberg. One can manually markup their posts in WP now and ignore the post-kinds plugin
#
[miklb]
there’s a plugin to mirror your WP posts to a GitHub repo of markdown posts with YAML. Then you can serve the content with Jekyll and your own markup. All kinds of options for devs and tinkerers
#
[matpacker]
[miklb] interesting, do you have a link?
#
[miklb]
to the WP -> jekyll ?
#
[matpacker]
Yeh
#
Loqi
[James DiGioia, Ben Balter] Description A WordPress plugin to sync content with a GitHub repository (or Jekyll site) Ever wish you could collaboratively author content for your WordPress site (or expose change history publicly and accept pull requests from your readers)? Lo...
#
[matpacker]
[miklb] awesome, thank you, will check it out.
#
[miklb]
Last time I tested that plugin, it worked like a charm. I could let users have a full WYSIYG editor and an interface they were familiar with, but I could serve the site off GH.
#
[matpacker]
So, you could run this on a local install of WP on your laptop, which would then sync to GH.
#
[miklb]
if I recall that scenario didn’t work, had to be a live URL, but I could totally be wrong.
#
[miklb]
I was looking at it mostly for a rapid response disaster/emergency site where I didn’t want to waste a bunch of time with performance stuff. But learned the folks that would be updating it wanted/needed a visual editor. So I threw it on a subdomain and put a plugin in front to require logged in to view, then dumped the content into a jekyll site.
#
[miklb]
but I see other potentials.
chrisaldrich, donblanco, [kevinmarks], [snarfed], [miklb] and [pfefferle] joined the channel
#
[pfefferle]
!tell donblanco have you installed the webfinger plugin? If so, try to regenerate the permalinks (just hit save on the permalinks settings page)
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
Ok, I'll tell them that when I see them next
[matpacker] joined the channel
#
[matpacker]
Any idea how you can edit the images in a post that's come across from OwnYourSwarm, I can't see them anywhere in the post settings in the WP editor?
#
dougbeal
matpacker: if you install Post Meta inspector, you will see something like mf2_photo'a:1:{i:0;s:61:"https://dougbeal.com/wp-content/uploads/2018/07/fsqrqLfBh.jpg";}'
#
dougbeal
matpacker: but I think its Checkin Post Kind doing the formating
#
[matpacker]
dougbeal:++
#
[matpacker]
Thanks! Looks like I can replace it with mf_photo, and hopefully it overrides the existing one.
ben_thatmustbeme, [kevinmarks], jeremycherfas, [matpacker], [jgmac1106] and jgmac1106 joined the channel
#
jgmac1106
so what is the best way to handle this, I want to reply to somebody elses post but syndicate my reply, sometime it works wih bridgy other times bridgy says “Bridgy Error: Could not find a tweet to reply to.” so then sometimes I make it a bookmark…but its not a bookmark, just a reply I am trying to syndicate
#
jgmac1106
What is sempress?
#
Loqi
SemPress is a highly semantic WordPress Theme with HTML5 templates, responsive and seo optimized https://indieweb.org/SemPress
#
sknebel
jgmac1106: I'd guess "post as bookmark, syndicate, then switch type to reply"?
#
jgmac1106
ahh, that would work, just trying to figure out why it happens and why it doesn’t, if stupid twitter would unsuspend my app it wouldnt be an issue
#
jgmac1106
joined micro.blog today as well in hopes of finding a more friendly network
#
sknebel
from my understanding, it should never work to bridgy-syndicate a reply to a post that doesn't have a twitter-equivalent
#
jgmac1106
yes it shouldn’t for some reason sometimes I sneak them in
#
sknebel
interesting
#
jgmac1106
but that is a good idea
#
sknebel
(for reference, here's bridgy bug report about this with arguments for why it's not supported: https://github.com/snarfed/bridgy/issues/362)
#
Loqi
[dissolve] #362 syndicate posts despite "Could not find a tweet to reply to."
donblanco, [jgmac1106], [snarfed], [tantek] and chrisaldrich joined the channel
#
jgmac1106
look what [bradelsen] shared: https://rantinggit.com/2018/07/30/i-just-got.html Facebook drops the bomb on syndicating from all WordPress sites
#
Loqi
I just got an email from Wordpress.com. August 1st Facebook changes how they let you syndicate to them from outside platforms like your blog. You will no longer be allowed to syndicate to your FB Profile, you can only syndicate to a FB Page.
[grantcodes] joined the channel
#
sknebel
Wordpress tells people that *today*?
#
jgmac1106
the day the api, shutdown…..guess so
[miklb] joined the channel
#
[miklb]
[pfefferle] can you expand on your comment about core mf classes? Are you saying that today there are no issues with the included mf1 classes and adding mf2 to posts?
#
[miklb]
I understand themes need to add additional markup, and I know core can’t cover all bases, but wouldn’t it make sense to avoid having to hack around bad markup?
#
[miklb]
if we want theme developers to take up adding mf2, shouldn’t we make it as easy as possible to do, not require work-arounds.
#
jeremych-
I wonder whether that notice about WP.com to FB applies also to manual from WP self-hosted. I guess I'll find out on Wednesday.
#
petermolnar
I'd say it's for jetpack syndication
#
jgmac1106
I think it is for all jetpack…meaning 97% of all WP syndication
#
jeremych-
Manual till it hurts
#
petermolnar
I really wonder if there's stopping IFTTT as well
#
aaronpk
looks like nobody is escaping this FB API change
#
aaronpk
even buffer won't be publishing to FB profiles anymore
#
donblanco
makes the whole 'ditch Facebook' idea a lot more solid..
#
Loqi
donblanco: [pfefferle] left you a message 10 hours, 57 minutes ago: have you installed the webfinger plugin? If so, try to regenerate the permalinks (just hit save on the permalinks settings page)
#
Loqi
donblanco: [pfefferle] left you a message 10 hours, 47 minutes ago: you can check it here https://client.webfinger.net/lookup?resource=donblanco%40glenn.thedixons.net
#
aaronpk
yeah sure makes that an easy choice
#
donblanco
@[pfefferle] yes, I did have the webfinger plugin installed. Didn't do the permalinks save thing, but I've pulled back on the whole idea and uninstalled all ostatus things for now.
#
[miklb]
so to answer my own question about what exactly is wrong in core (if anything is) with mf1, I’m going to use indiewp.com to post some stuff so we can all view the parsed output. Using default wp 2017 theme but with all of the IndieWeb plugins installed, except uf2.
[ryan339] joined the channel
#
[miklb]
if there are any suggestions for types of content/markup shout.
#
jgmac1106
[miklb] just do one of each of the standard post types, in my mind if we can just get article, status, reply, and photo we would be in good place
#
jgmac1106
don’t even worry about a photo in eachh yet
#
jgmac1106
I also now have all three themes installed and will create generic admin accounts for community member to hack around on
#
[miklb]
oh, and if anyone has actually done this recently and documented it, please point me towards it. I’m just not aware of it.
#
jgmac1106
I have only done this with the three themes, not with 2017 will all plugins except mf2, and then 2017 will all plugins and mf2 it is a good idea
[chrisaldrich] joined the channel
#
[chrisaldrich]
[matpacker] In RE: ownyourswarm photo question, I think GWG set things up so that the photo is hiding in the mf2_photo meta (which [dougbeal] mentioned), but if you manually add a photo(s) to the Featured Image or into the_body of the post, it will automatically override the one saved in meta to display the one(s) you specified instead (so there isn't duplication).
#
[miklb]
I’m actually trying to solve that problem myself
jackjamieson, [cleverdevil] and [kevinmarks] joined the channel
#
jeremych-
jgmac1106 I had a little play with Elementor and just couldn't get my head around it. The various widgets do not seem to offer nearly enough control to me. For example, I can show recent posts, but not recent posts from a single category. Maybe I need to go Pro, but right now I don't have the free time to make good use of the 30 day free trial. Maybe later.
#
jgmac1106
yes you do have to go pro, I get all kinds of crazy options, post by category, tag, taxonomy, hashtag, etc. I am just looking for the answer for folks who want a visual play.
#
jgmac1106
eatyourpodcast is you Known instance correct? What is your WP?
[snarfed] and tantek__ joined the channel
#
jgmac1106
Is it possible to build a feed for a specific kind and also a tag?
#
tantek__
pretty sure those are built into the tag pages in wordpress by default
#
tantek__
check the rel alternates in a tag page
[schmarty] and [miklb] joined the channel
#
[miklb]
there are built in feeds for pretty much everything
#
[miklb]
just need to find the url for that query and should be able to add /feed to it
#
[miklb]
I think
Toffee and [pfefferle] joined the channel
#
[pfefferle]
[jgmac1106] load a post kind overview page and add /feed to the end of the URL
#
jgmac1106
yeah but then I wanted a tag as well so was wondering if kind/note/tag/edu522/feed would work
#
jgmac1106
well this came out weird: https://rssfeed.glitch.me/
#
jgmac1106
i mean its the correct feed, that what i should see in a browser just need to figure out inoreader a bit
#
jgmac1106
…..and fixed…but I remmeber why I wanted to work on the xml of feeds with post kinds…quotes and bookmarks
[miklb] joined the channel
#
[miklb]
getting the mf2 right for those to syndicate is tricky. I sorta gave up on bookmarks
#
[miklb]
in my case that mean looking OK if I sent to micro.blog or Twitter
#
jgmac1106
yeah having trouble with some of my feeds…trying to diagnose now, for bookmark just want hyperlink as title, block quote, my content
#
jgmac1106
could it make sense the https://jgregorymcverry.com/category/edu22/feed would only pick up articles? doesn’t seem to link my note post-kind
[pfefferle] joined the channel
#
[pfefferle]
[miklb] regarding the themes: sure, it does make sense to make it as easy as possible to implement mf2 into themes, but I have no idea how...
#
jgmac1106
!tell [chrisaldrich] What is the correct feed for kind/status and category/edu522?
#
Loqi
Ok, I'll tell them that when I see them next
#
sknebel
jgmac1106: I guess you mean edu*5*22? when I go to https://jgregorymcverry.com/category/edu522/ there's also only one entry?
#
sknebel
you have two categories named "edu522", the other is https://jgregorymcverry.com/category/classes/edu522-classes/
#
sknebel
(at least going by the drop down on the right)
#
jgmac1106
okay,oh well that works out as I will keep one for long form, I made classes a parent of edu522 I am probably just checking wrong
#
jgmac1106
once you mess up a category in WordPress stuck with it for life….but it will still work
#
[pfefferle]
[miklb] having a “fight” with every theme developer to implement mf2 or to have only a limited number of themes is not really practicable... at the moment I would prefer to also support OGP, Schema.org or any kind of content negotiation... at least until mf2 is widely supported...
#
jgmac1106
[pfefferle] and people love SemPress for that very reason
tantek joined the channel
#
jgmac1106
I was reading up on metadata and how it will work on attributes for the blocks
#
[pfefferle]
Thanks, but it is very limiting and not everyone loves the style of the theme
#
aaronpk
[pfefferle]: did you see my latest experiment with rel=alternate?
#
[miklb]
[pfefferle] I’m not looking to have fight with every theme developer. I’m trying to find out if there is anything in core mf1 that is directly conflicting with the mf2 the plugins are using. If there is, I would like to lobby to have that fixed
#
[pfefferle]
[aaronpk] no, do you have a link for me?
#
[pfefferle]
[miklb] is there really a problem?
#
[miklb]
to make it easier for theme developers to add mf2 and not be worried about a bunch of hoops or support requests
#
[miklb]
I don’t know.
#
[miklb]
I thought there was at least an issue with `hentry` maybe that’s changed. I’m setting out to find out conclusively.
#
[pfefferle]
There is no real issue I had with SemPress or ZenPress, the issues are only with my implementation of the uf2 plugin
#
[pfefferle]
But this can be fixed easily
#
[miklb]
no, I’m trying to find out what doesn’t work if a theme *hasn’t* been modified for mf2.
tantek__ joined the channel
#
[miklb]
out of the box WP with all of the IndieWeb plugins. What if anything in core mf1 is causing conflict or issues.
#
[miklb]
that is a question I haven’t seen a current answer to. Until I know that, I don’t even know what I’m trying to do.
#
aaronpk
[pfefferle]: just documented here https://indieweb.org/rel-alternate
#
[pfefferle]
[aaronpk]++
#
Loqi
aaronpk has 11 karma in this channel (1692 overall)
#
[miklb]
then I want to see what happens when the mf2 theme is activated. What is still not displaying/parsing like it is supposed to. Can that be remedied with an upstream change. If that doesn’t sound logical, I’m all ears.
#
[pfefferle]
[miklb] I think the core mf1 implementation can’t be changed because a lot of theme developers are using the classes to style their themes... and, on top of that, many mf1 implementations are also broken... So it is hard to get that fixed...
#
[miklb]
I’m willing/going to lobby for a “breaking change” on a style hook for a 5.0 release, but I want to know exactly what it is that needs to be changed. I don’t know that answer.
[snarfed] joined the channel
#
[pfefferle]
[aaronpk] for as1 and as2 I already made a plugin... have to recheck if it sets the correct headers https://github.com/pfefferle/wordpress-activitystream-extension
#
Loqi
[pfefferle] wordpress-activitystream-extension: An ActivityStrea.ms extension for WordPress
#
[miklb]
the ticket GWG introduced was closed 2 years ago. Has anything changed since then. That’s the question I haven’t figured out, but when I do, I’m going to ask the ticket or an updated one get new consideration, and ask publicly.
#
aaronpk
[pfefferle]: that does permalinks too?
#
aaronpk
what would it take to generate either mf2 json or jf2 from scratch?
#
[pfefferle]
Use my blog and add /feed/as2 behind every permalinks
#
[pfefferle]
Ok, I can add the post too
#
[pfefferle]
This is how the core feeds worked
[kevinmarks] joined the channel
#
aaronpk
if it returned a different "type" there, it would be closer to working with mastodon/activitypub
#
[pfefferle]
2 days for the fix and a basic plugin for mf2
#
[pfefferle]
Will have a look
#
aaronpk
check out the .as2 version of my notes and articles to get an idea of what mastodon expects
#
aaronpk
I think mastodon only does conneg right now, but they may be to be persuaded to look for rel=alternate
#
[pfefferle]
I am at vacation, so I think I might find some time, the next week to fix the activity streams plugin and to refactor the mf2-feeds plugin to write native json
[cleverdevil] and [ryan339] joined the channel
#
[pfefferle]
[miklb] nothing has changed after the ticket of GWG has been closed
#
[pfefferle]
That is what frustrates me
[jgmac1106] joined the channel
#
[miklb]
to clarify, nothing has changed in regards to the issue, or nothing has changed in the reception.
#
[miklb]
that’s a question to [pfefferle]
#
tantek__
[miklb] is the ticket cited perhaps on the /WordPress page so we can learn from the interaction and hopefully do better in another attempt?
#
tantek__
the more I've thought about this (past) architectural decision, the more I'm convinced that markup like mf2 should either 100% be in the "core" of a CMS like WordPress, or be 100% "theme" responsibility with really good authoring, testing, debugging tools for Theme authors
#
[miklb]
I have no idea.
#
tantek__
splitting mf1 markup across core/themes was a mistake
#
tantek__
secondly, using mf1 classes for styling was a mistake
#
[miklb]
i would also take the cause to remove all mf1 if we thought was better
#
tantek__
thirdly (or 2a) encouraging theme developers to use mf1 classes from core for styling in the themes was a particularly bad mistake
#
[miklb]
[tantek] sure, those are lessons learned. I’m just hoping to help find out if we can get that remedied one way or another. or if not, then we know again for foreseeable future what hurdles we have to overcome
#
[miklb]
I feel like I’m the only one, but if a 5.0 release with major changes with how a theme will interact with content isn’t the time to fix it, not sure when will.
#
aaronpk
especially if the whole concept of how content works in wordpress is changing with gutenberg
#
[miklb]
I would suspect we would have more success fixing one or two classes than removing all mf1 though
#
[miklb]
aaronpk, exactly my point.
#
[miklb]
I’ll have the tests up by tonight so can start looking at what the parsed html looks like today and can get some feedback.
#
[pfefferle]
[miklb] but there is no real change... Gutenberg renders plain html inside the content container... there are no changes for themes except some styling options...
#
tantek__
[miklb]: would it be helpful for us to capture those lessons learned on somewhere referenceable like a wiki page? perhaps along with links to examples of failures / issues / problems?
#
[miklb]
tantek, sure.
#
[miklb]
[pfefferle] I’m hearing you sound reluctant or hesitant to try and get anything changed in core. I’m not sure which, and if you’d like me to not try, just let me know.
[matpacker] joined the channel
#
[matpacker]
Good morning, good afternoon, all
#
tantek__
[miklb] would appreciate your feedback based on your experience here: https://github.com/microformats/h-entry/issues/7
#
Loqi
[tantek] #7 Can we improve h-entry backcompat to handle common WordPress hentry streams?
#
tantek__
perhaps we can help solve some of this problem on the parser side
#
tantek__
(there are specific examples in there to consider)
#
[pfefferle]
[miklb] I am hesitated, because I am using Wordpress since it was called b2 and it is so hard to get open standards into core!
#
[pfefferle]
And I am using Gutenberg since the first stable version and working on the compatibility of ZenPress and there is nothing planned to improve theming...
#
[miklb]
the angle is, mf1 is in core. It has been mostly superseded (totally?) by mf2. So not trying to introduce a new standard, but take opportunity to update an existing standard.
#
tantek__
heads-up WordPress folks: https://www.theregister.co.uk/2018/07/30/malvertising_wordpress/ (also does anyone have a non-The-Register source for this to cite?)
#
tantek__
([miklb] it's a good angle, except it'd be worse if mf1 mistakes of splitting across core/themes were then re-made with mf2)
#
[miklb]
keep your site up-to-date and don’t install random plugins or code folks.
#
[pfefferle]
But, as Tantek said, in the end it is up to the theme developers and we can’t control this part
#
[miklb]
[tantek] so lets fix that before we make another PR
#
GWG
I see activity
#
GWG
Heading home to read this
#
[miklb]
[pfefferle] yes, it is, but if we can create as frictionless integration as possible, it can expand exponentially
#
[pfefferle]
“Can”
#
[miklb]
wow, so negative. I thought I was a bitter old man 😉
#
[miklb]
anyway, I’m going to work on it. Worst thing is I get another no.
#
[miklb]
But it won’t be a quiet conversation.
#
[pfefferle]
It is nothing I can really control, so in the end it is not really user friendly and we have to still explain why some themes might break
#
[miklb]
can you explain to me or anyone the *why* themes might break. Right now, it feels like a blackbox.
#
[miklb]
so far it feels like “I’ll know it when I see it” and not line(s) of code.
#
[pfefferle]
Even if we get a significant number of themes that support mf2, there will be still a huge number that don’t
#
[pfefferle]
That is the current problem we have
#
[pfefferle]
We have to explain why themes do not work with our current set of plugins
#
[pfefferle]
Again and again
#
[miklb]
Explain again again what? That the mf1 in WP core is worse than no mf? This one little class is breaking everything? I honestly, sincerely don’t know what that is
#
[pfefferle]
And if we can not guarantee that every Wordpress theme will be compatible, it is nothing, a > gen 2 will understand
#
[pfefferle]
No, I try to say, that a significant number of themes do not use the core mf1 functionality or break mf1 in there theme implementation, for example the updated/published dates...
#
[pfefferle]
I do not refer to the hfeed issue at all, because the semantic linkbacks plugin can easily handle that one
#
[pfefferle]
Don’t get me wrong, I would love to see progress in this direction, but I would love to think about alternatives that I can control with a plugin...
#
[pfefferle]
We have to explain to the gen > 2 users why some themes do not work and what mf2 is and which themes they can use... I think this is the main usability issue at the moment
#
[miklb]
great, so lets figure out if anything right now in core could make that easier. That’s all I’m trying to say.
#
Loqi
[Michael Bishop] This is a note with post-kinds plugin using 2017 theme and no uf2 plugin.
tantek joined the channel
#
[pfefferle]
Ok, but working on themes and the semantic linkbacks plugin for some time now, there is no real issue with the core implementation and the twenty... themes
#
[pfefferle]
At least nothing we can easily handle with code
#
[pfefferle]
“can not”
#
[pfefferle]
Now enough of my hesitation ;)
#
GWG
I really wish I had been around for all this talk
#
GWG
Home, catching up time
#
GWG
Okay. Read up
#
GWG
What can I do?
#
GWG
pfefferle, I have something for the mf2 feed
#
GWG
Have you ever seen this?
#
donblanco
I am somewhat ignorant on this, but are you saying that even though mf1 is in core, it is bypassed by some or most themes somehow?
#
[pfefferle]
Oh ok, will have a Look!
#
[pfefferle]
Never saw that before
#
dougbeal
donblanco: my understanding is that mf1 in the core causes problems, and blocks mf2 adoption because of how some themes use it
#
dougbeal
What is mf1
#
Loqi
It looks like we don't have a page for "mf1" yet. Would you like to create it? (Or just say "mf1 is ____", a sentence describing the term)
#
[pfefferle]
donblanco only parts are implemented in core... the main part is up to the theme developers
#
donblanco
[pfefferle]: so if mf2 was fully in core, would it guarantee that all themes have it? Or would Indieweb newbies still run into theme conflicts all the time?
#
[pfefferle]
Dougbeal not really... there is no problem to use the core mf1 functionality and add mf2 too
#
donblanco
I'm guessing most themes like to experiment with how things display in the loop, thus futzing with a lot of the CSS classes
#
[pfefferle]
donblanco not really, because theme developers do not have to use the core functionality
#
[pfefferle]
Or they can still break stuff if they use it wrong
#
donblanco
[pfefferle]: perhaps I misunderstand what 'core' means. In this case, it isn't hard-coded, it's just some default settings that can be changed by any theme or plugin?
#
[pfefferle]
[dougbeal] we had issues with the uf2 plugin, but this is because the complete mechanism of adding mf2 via a plugin is hacky and does not really work
#
[pfefferle]
The provide functions to auto generate html classes
#
[pfefferle]
But a developer does not have to use it
#
dougbeal
pfefferle: could you do something like use wp scaffold to generate a child theme that enables mf2? Or does a child theme really only override the parent theme?
#
GWG
pfefferle, if I turn that class into a rel alternate, would that work?
#
donblanco
so making a super-intelligent plugin that thoroughly adds mf2 to any theme isn't really viable either?
#
[pfefferle]
[dougbeal] if we want to add mf2 with a child theme, we have to overwrite every post template with a new one
#
[pfefferle]
donblanco we tried that, but it made things worse
#
GWG
donblanco, I regret making it
#
[pfefferle]
GWG I like [aaronpk] s idea of content negotiation... at least to give it a try
#
aaronpk
not content negotiation, rel=alternate!
#
aaronpk
content negotiation always gives me a headache
#
GWG
So, I have a class that converts posts to mf2 json
#
GWG
So all I need is to consume it
#
[pfefferle]
Ok, sorry... but the result is very similar ;)
#
aaronpk
yes :)
#
GWG
I think I could bump up a plugin in a short period
#
GWG
Because I already did the work
#
donblanco
wonders what this rel=alternate is
#
GWG
aaronpk, who is consuming it?
#
aaronpk
xray is about to
#
[pfefferle]
And Wordpress should be following soon!
#
aaronpk
consuming??
#
GWG
aaronpk, the plugins
#
[pfefferle]
Yes, the plugins ;)
#
GWG
This is promising
#
[pfefferle]
Can you start the plugin work in the IndieWeb repo?
#
[pfefferle]
Would love to contribute
#
donblanco
so plugin to add rel=alternate? where does h-card and h-entry etc. get added?
#
[pfefferle]
I can move my mf2-feed plugin, so we can use it as a base
#
[pfefferle]
donblanco in an alternate file... so it should work with every kind of plugin
#
[pfefferle]
I mean theme
#
[pfefferle]
If it supports mf1/2 or not
#
GWG
pfefferle, I will start the first PR with my post class tonight
#
GWG
If you move it.
#
aaronpk
I learned that mastodon also already looks for rel=alternate for post permalinks and author profiles as well
#
donblanco
so each post has 2-3 versions? In the database? Would this be like having multiple sizes of images?
#
aaronpk
GWG: I don't want to distract you from your work on the indieauth/micropub plugin!
#
GWG
Should we rename it rel alternate?
#
GWG
aaronpk, is this more important?
#
GWG
Getting people onboard
#
aaronpk
no, getting indieauth+micropub solid is more critical right now since a *lot* of people are actively having problems with it
#
tantek
that ^^^
#
GWG
I am nearly done
#
[pfefferle]
donblanco no, there is still only one dB entry but several views on that data... one html view, a feed, a json feed, ...
#
[pfefferle]
GWG yes, give others the chance to do some work ;)
[kim_landwehr] joined the channel
#
GWG
[pfefferle]: Gladly. I just suggested something I'd already done might help
#
[pfefferle]
Will have a look at your code and try to make a merge request, if you are not faster than me ;)
#
[pfefferle]
Plugin is moved
#
GWG
[pfefferle]: It was just suggested I back off.
#
GWG
I'm happy to
#
GWG
I have file upload code to update
#
GWG
[pfefferle]: Have you been watching the PR?
#
[pfefferle]
Which one?
#
[miklb]
micropub
#
[pfefferle]
Not really, I am on vacation right now... I am back at a computer on Saturday
#
GWG
[pfefferle]: Somewhere fun, I hope?
#
GWG
[pfefferle]: And did you consider my offer?
#
GWG
[pfefferle]: Show up at an IWC in Germany and I would come over
#
[pfefferle]
Oh, thanks for the reminder, have to talk to my company about that!
#
[pfefferle]
So, time to go to bed... it is late here in Germany
#
aaronpk
what time is it for pfefferle?
#
Loqi
In pfefferle's timezone, Europe/Berlin, it is currently 12:50am on July 31
#
aaronpk
tschüss!
#
GWG
[pfefferle] is one of the people on my haven't met but should list
#
GWG
aaronpk: Coolest features for file uploads/media endpoints?
#
[miklb]
it works
#
GWG
I'm fixing the multipart uploads
#
GWG
[miklb]: No one has ever said it didn't now?
#
[miklb]
I’m teasing
#
aaronpk
if you support this query quill will load it into the note interface https://indieweb.org/micropub_media_endpoint#Query_the_last_thing_uploaded
#
GWG
aaronpk: Could I ever talk you into knocking things off my Micropub list?
#
aaronpk
what do you mean?
#
GWG
For Quill?
#
GWG
Summary support for itineraries, location visibility support...
#
aaronpk
yes possibly :)
#
aaronpk
I am working on indieweb stuff this week so I can set aside a day for some quill updates
[manton] and [cleverdevil] joined the channel
#
[miklb]
so with this alt feed, the idea would be consumers to use that instead of trying to parse the html?
#
GWG
[miklb]: That is why I am excited about it.
#
GWG
We built support into Semantic Linkbacks for alternate parsers.
#
[miklb]
how easy it will it be for that rel=alternative to proliferate to consumers?
#
[miklb]
I guess I understand it in theory but don’t visual it in practice. Granted, it was just discussed today.
#
GWG
[miklb]: For the WordPress plugins, we could do it in a day.
#
aaronpk
i'm about to release an update to xray that handles it. just writing tests now.
#
tantek
rel=alternate to a separate simple h-feed?
#
aaronpk
"simple"
#
aaronpk
have you been following this conversation? :P
#
tantek
as opposed to div'd up for rando framework of the month styling / scripts
#
tantek
barely
#
tantek
just read the page - jf2 or json from mf2 - but that mf2 still has to exist somewhere right?
#
aaronpk
we're talking about constructing mf2 json from the post data in the wordpress database, rather than relying on the theme to do that
#
[miklb]
but the theme still should try and use mf2 still, correct?
#
[miklb]
but if it’s slightly borked, it won’t affect how it’s parsed on the other end. Am I getting it right?
#
tantek
aaronpk - ok, sounds interesting and novel. might as well try
#
GWG
tantek: As I told pfefferle a bit ago, I have a class that takes post objects and converts them to mf2 already. So it could easily be built from that code.
#
GWG
Although I'm focusing on media uploads
#
aaronpk
focus++
#
Loqi
focus has 1 karma in this channel (2 overall)