#microformats 2020-06-06

2020-06-06 UTC
KartikPrabhu, [chrisaldrich], [schmarty], [jeremycherfas] and [KevinMarks] joined the channel
#
[KevinMarks]
Should migrating the rel registry to github be part of this effort or is that orthogonal?
KartikPrabhu, [jgmac1106] and [tantek] joined the channel
#
[tantek]
Orthogonal
test2 joined the channel
#
@JamieTanna
↩️ I thought I was the only one seeing this! Fortunately I've got https://granary.io producing #Microformats feeds so I can still read Twitter from the https://indieweb.org/reader I want (https://www.jvt.me/mf2/2020/06/zkort/)
(twitter.com/_/status/1269259199378272256)
[snarfed] and [schmarty] joined the channel
#
[schmarty]
hey folks! doing some stream setup this morning. i realized that i haven't really set up my main dev machine (ubuntu 20.04) as an OBS streaming setup, but i have a minimal thing working.
#
[schmarty]
as of now i could, for example, stream what i am doing to twitch
#
[schmarty]
not sure about OBS output as a webcam to zoom. i don't think the OBS-VirtualCam plugin is available on linux.
#
aaronpk
We're gonna stream using Streamyard so you just need a webcam feed
#
aaronpk
ive got it all queued up already, I'll send the link over once I get to my computer
#
[schmarty]
so if i want to share my screen i need to figure out how to get a virtual cam out of OBS
#
[schmarty]
(is our plan to share screens? or just faces?)
#
aaronpk
Well probably share screens too at some point
#
aaronpk
but it can share the screen directly into the website at least with chrome
#
[schmarty]
oh, that's a feature of streamyard? i haven't used it.
#
aaronpk
The one limit of doing it the way I've set up is only one screen can be shared at a time but I think that's fine
#
[schmarty]
yeah i'm okay with that.
#
[schmarty]
ok cool, i'll quit fiddling with OBS (but am happily surprised that it seems to... work? on Ubuntu??)
#
sknebel
[schmarty]: OBS on linux can emulate a webcam too through v4l2loopback
#
sknebel
(if you happen to need that for something else later)
#
[schmarty]
sknebel++ ah, thanks! i remembered vaguely that it could be done but not the details.
#
Loqi
sknebel has 3 karma in this channel over the last year (51 in all channels)
#
jacky
good to go in about 15
#
aaronpk
Cool I'm biking over to the studio now, should be there in 25, cutting it close
[KevinMarks] joined the channel
#
aaronpk
baaack
#
aaronpk
gonna send you a link to join the video
#
aaronpk
jacky: join with your IRC nick when you get in
#
GWG
Where do I tune in to watch?
#
[schmarty]
indieweb.live (once we are live)
#
aaronpk
we are waiting for jacky
#
jacky
was having breakfast
#
jacky
is joining the hangout
#
[schmarty]
heck yeah breakfast
#
jacky
firefox choked - rejoining
#
GWG
Is this being recorded for posterity?
#
GWG
I am using Ubuntu LTS 20.04 on one system. It should work well.
#
GWG
Votes for Nginx.
#
jacky
mostly for vanity (no recording IIRC)
#
[schmarty]
GWG: do you already have the WP theme files from microformats.org ?
#
GWG
[schmarty]: No.
#
GWG
[schmarty]: Not yet.
#
GWG
I don't need to set up a one-off...I can do it on my dev site.
#
[schmarty]
aaronpk is packaging it up
#
GWG
Be back shortly if there are any questions...need food
#
jacky
I don't know why but firefox does _not_ like steamyard :(
#
GWG
I skimmed it and will fork it...I can work with this
#
GWG
My panini is still cooking
#
GWG
The WordPress theme has technorati reactions. I assume we can chuck those?
#
[schmarty]
yeahhhh those don't exist anymore
#
aaronpk
edited /spread-microformats (+180) "/* T-Shirts */ replace with web.archive.org URLs"
(view diff)
#
GWG
Back. Did I miss a WordPress problem?
#
aaronpk
character encoding problems now
#
GWG
Reading through the theme...
#
GWG
WordPress converted to utf a while back
#
GWG
Reading the code. This uses the old WordPress bookmarks system, because the menu system hadn't been invented yet
#
GWG
That should be easily fixable.
#
GWG
It hardcodes things that are now done dynamically by WordPress
#
GWG
So, if you deploy it to a current WP version, you may see some duplication, but if you give me access after the fact to the admin, I can deploy an updated theme and do some cleanup.
[tantek] joined the channel
#
[tantek]
I'm literally in a different meeting for a bit. Hope to pop in around noon?
#
aaronpk
we're making progress
gRegorLove joined the channel
#
GWG
I installed the theme on another site...it is going to need some work. Not too much.
#
GWG
But I think I can modernize it and cut out the hacks.
#
GWG
Well, I think this predates tags on WordPress
#
gRegorLove
[schmarty] does mariadb have the distinction between utf8 and utf8mb4 character encoding that mysql does?
#
GWG
[schmarty]: I'm here for plugin talk.
#
[schmarty]
gRegorLove: it seems to? i'm actually using utf8mb4 now and all is good
#
gRegorLove
the mb4 variant being "actual UTF-8"
#
gRegorLove
utf8 in mysql is only 3-byte chars iirc
#
[schmarty]
GWG: will update the etherpad with a plugin list shortly
#
Loqi
mb4 has 1 karma over the last year
#
gRegorLove
woo, it's a wiki!
[jgmac1106] joined the channel
#
gRegorLove
wp plugins updated 7 years ago? :shivers:
#
gRegorLove
+1 for the DisplayTitle plugin
#
gRegorLove
find and replease in the sql dump?
#
gRegorLove
*replace, even
#
[schmarty]
oh yeah not a bad idea.
#
gRegorLove
let me take a look
#
gRegorLove
replacing the WP login with indielogin?
#
GWG
It should be easy enough if it doesn't.
#
aaronpk
it would be a useful plugin to exist!
#
gRegorLove
Is the use-case so they can comment on WP posts? I thought commenting was off currently
#
aaronpk
it would be the main wordpress login for everyone
#
[schmarty]
just updated the etherpad. we have 14 administrators and 7 authors.
#
gRegorLove
Ok. We'd need a way to allowlist which domains are WP authors
#
[schmarty]
and about 1750 "subscribers"
#
aaronpk
yeah that'd be set in the role in wordpress
#
gRegorLove
I'm leaning towards that, yeah, just wasn't sure if I was missing something
#
[tantek]
Proposal: preserve old comments on blog posts, and only allow new comments via Webmentions
#
gRegorLove
+1 [tantek]
#
GWG
I spent a little time on the Microformats theme....half the function calls were deprecated in WordPress 2.8.0, so most of the job is replacing old functions with new ones, removing hard coded values with WordPress functions...
#
gRegorLove
GWG++ awesome
#
Loqi
GWG has 6 karma in this channel over the last year (132 in all channels)
#
GWG
A lot of custom code needs to be ripped out and replaced.
#
GWG
But it should be easily doable.
#
GWG
I can also steal some things from other themes
#
gRegorLove
oh man, I ran into something similar with WP plugins
#
GWG
Someone has a theme with the same slug
#
GWG
How fortunate you backed up to github
#
aaronpk
oh dear
#
GWG
I suggest a name change?
#
gRegorLove
An entirely custom plugin we wrote with a generic name... and the WP plugin site had one with the same name.
#
GWG
Suggest we change it to microformatsdotorg or something
#
gRegorLove
Is there a way to disable the update feature within the theme?
#
gRegorLove
The "No really, this is a local theme don't check wp.org" setting XD
#
GWG
It doesn't auto update
#
GWG
You have to click a button
#
aaronpk
it shouldn't even prompt
#
GWG
aaronpk: Change the slug though
#
gRegorLove
^ yeah that's what I mean
#
aaronpk
that's such a terrible hack
#
aaronpk
there should be a theme setting that disables asking wp.org for updates
#
gRegorLove
I'm newly inspired to track this down and file a WP bug
#
aaronpk
do it do it
#
GWG
In style.css for now, change it.
#
GWG
You can file a bug later
#
GWG
We could call it Microformats2
#
gRegorLove
Hash "microformats2" and name it that, ha
#
Zegnat
CRC32 because no security needed, right? 33771a55 ;)
#
GWG
You people....
#
GWG
I'm going to start criticizing Processwire and Static sites.
#
[schmarty]
GWG++ thanks for these changes! in terms of removing the google analytics tracker - was that discussed here already?
#
Loqi
GWG has 7 karma in this channel over the last year (133 in all channels)
#
GWG
[schmarty]: If you want to add it, it shouldn't be embedded in the theme.
#
GWG
I have more I'll probably do.
#
[schmarty]
ahh, ok. there's some other way to do that now?
#
GWG
[schmarty]: Plugin?
#
GWG
[schmarty]: Someone hacked the deprecated link system to generate a menu
[fluffy] joined the channel
#
GWG
I had to replace it with the current menu system.
#
GWG
Not sure what happened with the {{{{
#
[schmarty]
does the menu system change require migrating any db data?
#
GWG
[schmarty]: It requires configuring a menu that has the right menu options in the backend.
#
[schmarty]
ah, so a manual migration step.
#
GWG
Yes
#
[schmarty]
are you capturing these details somewhere? they'd probably go well on the etherpad.
#
GWG
I'll add some.
#
[schmarty]
thank you!
#
GWG
[schmarty]: I thought I might fiddle a bit more...
#
[schmarty]
fiddling is good!
#
GWG
[schmarty]: But there is no rush...I'll document quickly.
#
Loqi
[martymcguire] #1 [WIP] modernize and cleanup theme
#
[schmarty]
please add notes about changes that require manual steps!
#
aaronpk
[ [ break ] ]
#
aaronpk
you get some nice music on the stream now
#
gRegorLove
I like it!
#
gRegorLove
h-event p-name=break
#
GWG
[schmarty]: Added to etherpad
#
GWG
Essentially, wherever WordPress now does what is custom-coded in the theme, I'd like to rip out the custom code and replace it with the stock functions.
#
GWG
It makes it easier to maintain in future if you have less hand-rolled code.
#
[schmarty]
GWG: agreed! although tbh the content pages looked mostly identical to me
#
GWG
[schmarty]: They would... that's the goal
#
[schmarty]
GWG: i mean before any of your changes 😂
#
GWG
Yes
#
GWG
That's what I am going for
#
GWG
Simplification
#
GWG
Also, who knows how long deprecated functionality will continue to work
#
[schmarty]
true enough!
#
GWG
Even on a platform committed to backward compatibility
#
gRegorLove
Found an existing ticket (5 years!) and commented https://core.trac.wordpress.org/ticket/32101
KartikPrabhu joined the channel
#
GWG
And if you have the new functions, you get the filters that allow you to add functionality by plugin
#
GWG
So it future proofs as well
#
GWG
Also, I am hoping to add webmentions and for that to work, we'd need some of the hooks.
#
[schmarty]
GWG: good call.
#
GWG
[schmarty]: Not my first theme conversion
#
GWG
It's my 4th
#
[schmarty]
in the interests of having something we could put live by the end of day tomorrow
#
[schmarty]
can we triage this?
#
GWG
Yes... what I have done so far will work for now....if you configure a proper menu
#
[schmarty]
from your comment i am having trouble figuring out what is done vs still needs doing
#
[schmarty]
ah, ok, if that's the one manual step i can do that
#
GWG
That's the one critical manual step.
#
GWG
If I can have access, I could push further improvements later.
#
GWG
I did a lot of them already
#
GWG
HTML5 isn't critical right now.
#
GWG
I got rid of the errors on the page about deprecated functions
#
GWG
And replaced some code
#
GWG
So I can take time on adding mf2
#
[schmarty]
sounds great!
#
gRegorLove
Option for captcha if we don't do indielogin: > Install ConfirmEdit with ReCaptcha (NoCaptcha) support (requires MediaWiki 1.26+)
#
[schmarty]
ConfirmEdit also has hCaptcha support
#
gRegorLove
+1, I like that
#
gRegorLove
schmarty's proposal of admins approving accounts
#
[schmarty]
thanks gRegor!
#
aaronpk
[tantek]: so the microformats server is actually hosting the mailing list, like it is the thing that sends and receives the emails. I would really rather not set that up on the new server especially since the mailing list is essentially read-only at this point
#
aaronpk
other than the microformats-admin list
#
aaronpk
which doesn't have public archives
#
[tantek]
We have closed the lists for some time
#
[schmarty]
microformats-admin is still active
#
aaronpk
one option for the alternative to the list is to set up email aliases at the web host and maintain the list of people there
#
aaronpk
since we're not even exposting the mailman archives for microformats-admin that's essentially all it's doing anyway
#
GWG
Fixed another WP deprecation error.
#
[tantek]
The only requirement for mailing lists are the permalinks and indexes
#
aaronpk
works for me, just means we lose the microformats-admin distribution list
#
[tantek]
Hmmm why?
#
[tantek]
We can recreate it as an email forwarding alias
#
aaronpk
yeah that's what i was suggesting
#
[tantek]
That’s not a loss, that’s a transition :)
#
aaronpk
and since there's apparently no way to look at the archives of that list anyway it's pretty much equivalent
#
aaronpk
(right now there are archives of the microformats-admin list on the server, just not publicly accessible)
#
[tantek]
Plus we want explicit addition/removal of it anyway (not self-adding/removal)
#
aaronpk
oh yeah i have no idea what the permissions of the current list are anyway
#
[tantek]
I believe myself and Rohit have admin access to it
#
[tantek]
So we have to manually add/remove people
#
[tantek]
Is there a way to make static copies of all the email permalinks and the archive index pages they link to?
#
[tantek]
We’ve always treated the admin list as an alias, never even looked for archives
#
aaronpk
the archives are already static html!
#
aaronpk
like all old school web apps before "static site generator" was a common term
#
[tantek]
Lol wow
#
[tantek]
Ah right, Perl, the original SSG!
#
[schmarty]
GWG: trying to make a working menu now. the resulting markup is not equivalent
#
[schmarty]
so the styles don't match
#
GWG
It does on mine.
#
GWG
Odd.
#
GWG
I have it on a site with different data and it looks the same.
#
GWG
My test site, with that theme enabled
#
[schmarty]
there are vertical spacing differences. also, not seeing the 'blog' link marked as active.
#
[schmarty]
GWG: figured out the source of the issue. the generate markup is different.
#
GWG
[schmarty]: Generate?
#
[schmarty]
*generated, sorry typing and talking
#
gRegorLove
I think I did a pw reset on microformats wp
#
GWG
aaronpk: There is a Mailgun plugin for WordPress
#
GWG
I think you use them.
#
GWG
The plugin just redirects email to go out the API
#
[schmarty]
GWG: i just pulled down your latest and all the sidebar widgets disappeared 😭
#
GWG
[schmarty]: Yes, they would. You have to reset them.
#
GWG
[schmarty]: As of a previous version, you have to name the sidebars...so I did.
#
[schmarty]
this is not a good experience
#
aaronpk
did you document this in the etherpad?
#
GWG
[schmarty]: I could just name them sidebar-1, sidebar-2, and sidebar-3...whcih would bring them back in the settings.
#
GWG
I have not yet done so.
#
[schmarty]
more things are breaking than are being fixed
#
GWG
Let me try something....
#
[schmarty]
so i need to create these sidebar widgets again
#
[schmarty]
but without the sidebar widgets i don't have the content i need to create the sidebar widgets, yaknow?
#
GWG
Pull again
#
GWG
I reverted the names
#
[schmarty]
they're back!
[grantcodes] joined the channel
#
[grantcodes]
They should still be there as disabled no? You just drag them into the new sidebar anyway
#
[schmarty]
grantcodes: they're mostly custom text / html widgets
#
[grantcodes]
Usually by default when sidebars change widgets with content don't just get deleted, but moved into a disabled area. But sounds like it's under control.
#
GWG
[schmarty]: I also styled the active menu link. It has a different class.
#
GWG
Google Analytics tags shouldn't be built in the theme.
#
gRegorLove
The pro version has *extra* corporate tracking /s
#
GWG
Because it is a hard-coded number
#
[schmarty]
GWG: this theme is single-use and the added complexity of dipping into the WP plugin ecosystem is making me very itchy.
#
aaronpk
lesscode++
#
Loqi
lesscode has 1 karma over the last year
#
aaronpk
code--
#
Loqi
code has -1 karma over the last year
#
Loqi
[Stefano Lissa] Description About WordPress SEO and Facebook Open Graph: I was very unpleased by Yoast invitation to remove my plugin, and it’s not the case. Read more here. Head and Footer Codes Why you have to install 10 plugins to add Google Analytics, Facebo...
#
GWG
There's ways to do it.
#
GWG
But if you want me to restore the analytics code, I will
#
GWG
Does anyone check the analytics?
#
[schmarty]
good question! i'd prefer if we didn't send analytics to google at all.
#
GWG
So, let's settle that issue.
#
GWG
Should we have analytics at all
#
GWG
Show of hands?
#
jacky
okay resetting my setup and the nginx setup works
#
jacky
for the blog that is
#
[schmarty]
jacky++ woo!
#
Loqi
jacky has 3 karma in this channel over the last year (87 in all channels)
#
GWG
In the meantime...?
#
GWG
I just don't want it in the theme because the theme is now on Github...if someone downloads it, with the code embedded.
#
[schmarty]
probably something that [tantek] should sound off about.
#
GWG
Even if I put a config variable, and have you add the code to the wp_config file on the CLI...
#
aaronpk
that'd be fine? what's wrong with that?
#
GWG
Which? Having it in the github repo?
#
[schmarty]
GWG: i'd be fine adding it back that way.
#
aaronpk
in the config file
#
GWG
Fine with me
#
jacky
the only thing is that since it's a subpath, it's thinking that it should be at `/var/www/blog/wiki`
#
GWG
Then no one will accidentally mess up the statistics if they are trying the repo out
#
[schmarty]
jacky: that seems backwards? 😅
#
[schmarty]
GWG: that sounds great! are you planning to add that to the PR?
[KevinMarks] joined the channel
#
[KevinMarks]
Analytics--
#
Loqi
Analytics has -1 karma over the last year
#
GWG
[schmarty]: I will...but waiting on the decision as to whether we should keep it.
#
GWG
Be safe, [schmarty]
#
GWG
Okay.
#
GWG
Will restore shortly.
#
[schmarty]
GWG: yep let's keep it for now to keep parity and make the decision to remove it separately
#
GWG
Okay... I will restore with usage comment
#
jacky
[schmarty]: very much so lol
#
jacky
open() "/var/www/wiki/wiki" failed (2: No such file or directory),
#
jacky
progress lol
#
aaronpk
i think set root to just /var/www ?
#
jacky
aaronpk: I 100% took that block from my static site
#
aaronpk
ah cool
#
jacky
it looks like it's more-or-less unnecessary tho
#
GWG
[schmarty]: Did the menu fix work?
#
[schmarty]
GWG: it did! still need to fix up a margin issue.
#
GWG
Okay
#
jacky
okay that nginx conf should work with `php7.3-fpm` installed, the blog at `/var/www/blog` and the wiki at `/var/www/wiki`
#
[schmarty]
(.menu-primary needs a margin: 0}
#
[schmarty]
wow i started writing a parenthetical and ended writing code.
#
GWG
Working on it now.
#
[schmarty]
GWG: woo, thanks!
#
aaronpk
good stream
[chrisaldrich] joined the channel
#
[chrisaldrich]
aaronpk++ schmarty++
#
Loqi
schmarty has 2 karma in this channel over the last year (61 in all channels)
#
Loqi
aaronpk has 2 karma in this channel over the last year (224 in all channels)
#
[chrisaldrich]
jacky++ GWG++
#
Loqi
GWG has 8 karma in this channel over the last year (134 in all channels)
#
Loqi
jacky has 4 karma in this channel over the last year (88 in all channels)
#
[chrisaldrich]
thanks for the exciting "paint drying" and heavy documenting while you worked.
#
[tantek]
What should I chime in on?
#
[schmarty]
tantek: there's a Pending Questions section that could use a look! https://etherpad.indieweb.org/microformats-server-migration
#
[tantek]
Had to restart my browser
#
GWG
[schmarty]: Done now.
#
[schmarty]
thanks, GWG!
#
GWG
You have to define MICROFORMATS_GOOGLE_ANALYTICS in the wp-config.php file or it won't appear
#
GWG
[chrisaldrich]: How often do you get to see a WordPress 2.x theme hacked to sort of work in modern times?
#
[chrisaldrich]
Very rarely GWG. You should write it up and do a WordCamp presentation of it and related concerns for others out there who may want to do something similar.
#
GWG
I may continue and add in more things.
#
GWG
But I added post_class, so the microformats plugin might work.
#
GWG
And I'll probably add in some MF2
#
GWG
[chrisaldrich]: Did you catch my test site reformatted as the microformats site?
#
aaronpk
[schmarty]++ jacky++ thanks for the help today!
#
Loqi
[schmarty] has 3 karma in this channel over the last year (62 in all channels)
#
aaronpk
and you too GWG++
#
Loqi
GWG has 9 karma in this channel over the last year (135 in all channels)
#
aaronpk
jacky++
#
Loqi
jacky has 5 karma in this channel over the last year (89 in all channels)
#
[tantek]
Tried to add / answer a few things in the etherpad
#
[tantek]
Really hoping we can *reduce* the number of moving parts and installs in this transition (without breaking essential functionality of course)
#
aaronpk
me too!
#
[tantek]
Also hoping we don’t end up with a *longer* toolchain
#
[tantek]
Because long term that leads to more fragility, not less
#
[tantek]
restarting browser again 😂
#
[tantek]
Are people still around in the migration or is everyone taking a break til tomorrow? Just wondering if I completely missed today
#
[tantek]
alright I'm jumping in and adding to & copyediting the methodology section accordingly
#
aaronpk
yeah it was 9am-3pm pacific today
#
aaronpk
break til tomorrow!
#
[tantek]
Ah got it
#
[tantek]
Ok I’ll async check / contribute to the etherpad
#
[tantek]
I've split Methodology into Goals and Tactics
#
[tantek]
where we want to end up, general steps/techniques to get there
#
[tantek]
when do we resume tomorrow?