#wordpress 2020-04-13
2020-04-13 UTC
zerotex, oedmarap, shimmy1996, [LewisCowles] and beko joined the channel
# [LewisCowles] prtksxna it renders shortcodes. The part that is broken seems to be the block surround. But if I additionally have it render the CSS & JS from shortcodes, then one problem is that it additionally redirects infinitely on 5.4+
# [LewisCowles] @GWG I can test if you like. Is it GitHub?
# [LewisCowles] nope
petermolnar joined the channel
# [LewisCowles] is it basically installing that and a sister plugin?
# [LewisCowles] cool
# [LewisCowles] GWG++
# [LewisCowles] all my WP work, and much of my OpenSource work are odd labours of love
# [LewisCowles] Do you have a post on that?
# [LewisCowles] I'd enjoy reading more about why people care about those two things
[prtksxna] joined the channel
# [prtksxna] Hehe
# [LewisCowles] location & weather
# [LewisCowles] I found it and was spelunking through the menu system
# [LewisCowles] navigating from https://david.shanske.com/ to try to find. Curiously posts doesn't link to /all, but the side-bar does. Was that a deliberate choice?
# [LewisCowles] getting to `/all` was how I found which kind you'd used
# [LewisCowles] I really liked the design. That searching for /all was the only thing I didn't understand
# [LewisCowles] and it was likely me being a doof
# [LewisCowles] question regarding https://maps.wikimedia.org/img/osm-intl,12,51.5638,0.5232,1024x576@3x.png I get a 429. Are there instructions I'm missing to display these?
# [LewisCowles] Given that it always 429 on my site, but never in it's own tab. I feel like this might be an erroneous HTTP code
# [LewisCowles] I'll work it out
# [LewisCowles] Cool plugin btw
# [LewisCowles] I can't work out why it's not loading, but it's likely something my fault or dreamhost fault
# [LewisCowles] it's on my testing site.
# [LewisCowles] I probably have a content security policy I've forgotten the location of
# [LewisCowles] I have not yet. I'm actually thinking of a tiny plugin to get the image and save it to my site, so that it severs the onward chain to the map provider
# [LewisCowles] TBH, as long as I'm isolating it on my site, I don't care about their terms of use 😛
# [LewisCowles] esp if it's offloading from their servers
# [prtksxna] > The immediate change we made was to drop cache misses from 3rd parties, but
# [prtksxna] > to keep serving the tiles that are in cache. This lessens our loads without
# [prtksxna] > the few 3rd parties who are using our service.
# [prtksxna] > turning 3rd party support off entirely, but is understandably confusing to
# [prtksxna] GWG: There might be some changes to 3rd party support for WMF’s tileservers some time in the not so far future
# [prtksxna] Yeah the servers haven’t been in good shape, and there hasn’t been a team dedicated to maintaining them in a long time
# [prtksxna] Well the last time the team was just one person anyway, so…
# [LewisCowles] Where do they get the data from is what interests me
Ruxton joined the channel
# [LewisCowles] Dreamhost... unlimited storage 😛
# [prtksxna] Yeah, you could serve your own vector tiles. MapBox has some good open source tools for it, but it isn’t straightforward (from what I hear)
# [LewisCowles] + I'm a data hoarder so I have 64TB and climbing
# [prtksxna] 😮
# [LewisCowles] what's a few more drives
# [LewisCowles] > Basic requirements for a render node:
# [LewisCowles] > 80 GB RAM (at least; better 128 GB);
# [LewisCowles] Well I'm out. 80GB disk I'll scoff at. 80GB RAM, GTFO
# [prtksxna] Haha 😂
# [prtksxna] Vector tiles might have a lower requirement, since the render will happen client side
# [LewisCowles] I actually bought a box with > 128GB RAM last year so I could "run experiments". It's been so depressing how a bell curve works
gRegorLove__, nickodd and [LewisCowles] joined the channel
# [LewisCowles] Sorry, what is PWS?
# [LewisCowles] to me it's pivotal web services, but I doubt that was the meaning
[prtksxna] joined the channel
# [prtksxna] [LewisCowles] I think he means his Personal Weather Station 🙂
[grantcodes] and [jgmac1106] joined the channel
[LewisCowles] joined the channel
# [LewisCowles] Ah. prtksxna++
# GWG Here is an example of a PWM I run. Not at my house. https://presidential.shanske.us/
[prtksxna] joined the channel
# [prtksxna] That is so… serious looking!
# [LewisCowles] It looks cool, but I've no idea the application of the data. Do you donate it to other groups, or use it to campaign for better air quality? Is there an end-goal?
# GWG But I also monitor planes over that residence, for no particular reason. https://presidential.shanske.us/flymsv/
# [prtksxna] GWG: Ooh that is really cool, my dad really wants to run one of those
# [prtksxna] What are your plans for the weather stations?
# [prtksxna] Maybe have shadows of planes on your site if they go overhead 😄
# [prtksxna] Very DHTML 😛
[Suw] joined the channel
# [Suw] Hi folks! So, [KevinMarks] suggested that I join here, in the hope you’ll be able to help me out with a Wordpress question I have.
# [Suw] Hi!!
# [Suw] The situation is that I have about a half dozen or more blogs (I’ve lost count) that are spread out over about four domains, with some of those blogs being in subdomains. What I’d like to do is to amalgamate them all into Wordpress Multisite, with each blog getting its own domain or subdomain, as it already does.
# [Suw] This is mainly so that we can more easily keep an aye on things. I used to blog a lot, but don’t do it so much anymore so things can go south without me noticing.
# [Suw] Copying the content into Multisite seems easy enough - there are cloning tools.
# [Suw] the question I’m not so clear on is whether we can keep all the domain names the same as they are now.
# [Suw] so, for eg. we have charman-anderson.com, which has suw. and kevin. as subdomains, and all three have individuals blogs right now. I also have chocolateandvodka.com and clwbmalucachu.co.uk. Now, if I move those all into separate child sides within the multisite, can I maintain the different domains? so that they all look like different sites?
# [Suw] I don’t want to get way into moving everything over only to discover the domains won’t behave the way I’d like them to!
# [LewisCowles] there is a sunrise.php which allows exactly this multi-domain mapping
# [Suw] Thank you, I shall take a look.
# [LewisCowles] multi-site++
[snarfed] joined the channel
# [LewisCowles] I was very impressed poking around WordPress it's scheduler now has a UI I don't remember installing. WooCommerce seemed more helpful. I like how 2020 theme looks
# [Suw] ok, right, just so that I’ve got this straight - I just create the multisite and copy over all the content, and then use Sunrise to do the domain mapping?
# [Suw] (I am so out of practice with all this stuff!)
# [Suw] thanks
# [Suw] I’ll hopefully have time to have a stab at this later, and am sure I’ll screw up and will be back to beg for help 😉
[Michael_Beckwi] and bicicleta__ joined the channel
# [prtksxna] GWG: Does the Post Kinds plugin take over posts coming from Micropub and format them properly?
# [prtksxna] I was just wondering how we’d do this with Gutenberg…
# [prtksxna] It figures out the microformats and then takes over?
# [prtksxna] GWG: Could you point me to the part of the code that does this?
gRegorLove__ joined the channel
[bonkerfield] and nickodd joined the channel
# [prtksxna] Thanks GWG! So it puts it in the correct Post Kind, but doesn’t really do anything to the content.
nickodd left the channel
# [prtksxna] GWG: What does it attempt to do?
# [prtksxna] it = Micropub content parsing
# [prtksxna] Oh so Post kind puts stuff in Post Meta too? Not just in the content?
# [prtksxna] What changes are you thinking of?
# [prtksxna] > Micropub…does both…
# [prtksxna] Both as in save in meta and put in content?
# [prtksxna] Right, yeah. It could continue saving things to Post Meta as you already are
[snarfed] joined the channel
# [prtksxna] Gutenberg doesn’t? It would depend on how the Block is setup, I suppose.
[KevinMarks] and [grantcodes] joined the channel
# [grantcodes] Having looked into it a while ago I think it should be possible for mf2 to be stored in blocks no problem.
# [grantcodes] But there are normally hidden properties that would need to be meta like visibility, post status etc...
# [grantcodes] Yeah it should be possible to do in both directions
# [prtksxna] Thanks for the background on all this GWG! 🙏 I am just starting to get into Gutenberg and this is really helpful for me to think about IndieWeb plugins 🙂
# [prtksxna] nods
[jgmac1106], jamietanna, [KevinMarks], sscarfe, [schmarty], [LewisCowles], [snarfed], [bonkerfield], [grantcodes], [Cheuk] and [Michael_Beckwi] joined the channel