#dev 2017-11-26

2017-11-26 UTC
gRegorLove and KartikPrabhu joined the channel
#
gregorlove.com
edited /ThinkUp (+59) "unlink dfn, noted what domain is now."
(view diff)
snarfed joined the channel
#
GWG
snarfed: I saw your comment.
#
snarfed
GWG: great!
#
GWG
snarfed: Expect more PRs from me at some point.
#
snarfed
ok! feel free to check with me first so we're on the same page before you start coding
#
snarfed
but your call
#
snarfed
also feel free to make that change yourself if you're already in there!
#
GWG
snarfed: I want to add the features already in issues.
#
snarfed
ok! which?
#
GWG
snarfed: The ones that align most closely with WordPress.
#
GWG
The settings UI, for one. Draft options. Etc
#
Loqi
[snarfed] #72 add settings UI for auth endpoints
#
Loqi
[dshanske] #49 Post Status and Visibility
#
snarfed
that one looks straightforward
#
snarfed
auth ui one looks straightforward too. you'll want to check with miklb first
#
GWG
So, all things that would improve the usage of WordPress and Micropub together.
#
GWG
I'm worried about Gutenberg making custom Post UI elements more difficult. Better Micropub hedges against that.
#
GWG
Another thing, for the same reason, on my list is looking at Indieweb Press This, which I've never done anything with.
#
snarfed
hoo boy yes, esp since wp 4.9 totally broke it :(
#
GWG
snarfed: Well, they pulled Press This out. So we need an independent solution.
#
GWG
snarfed: What if I rewrote it to send the bookmarklet to Post Kinds?
#
snarfed
GWG: go for it!
#
GWG
snarfed: I could get interest from the people annoyed that Press This was pulled out of WordPress 4.9
#
snarfed
btw the problem wasn't really that they moved press this to a plugin, it's that they also disabled the bookmarklet altogether
#
GWG
snarfed: It is coming back
#
GWG
snarfed: They disabled the thing the bookmarklet sent to, I thought wp-admin/press.this.php?
#
GWG
My assumption is that if they implement the same functionality, the bookmarklet will be possible with a configuration change.
#
snarfed
ok! i haven't followed it closely
#
GWG
snarfed: Apparently, Matt intervened. The bookmarklet will return till a browser extension is built.
[miklb] joined the channel
#
[miklb]
I wonder what a WordPress Safari browser extension would look like and if micropub could be hacked into it…
#
[miklb]
does IE even have an extension/plugin architecture?
#
GWG
On a positive note, it is kraftbj who is running that project.
renem joined the channel
#
[miklb]
GWG meta boxes are in Gutenburg now and in my brief testing, post kinds seems to work fine.
#
GWG
[miklb]: Still, like to be prepared
tantek, KartikPrabhu, snarfed and gRegorLove joined the channel
#
loqi.me
created /disrupt_the_walled_gardens (+29) "prompted by tantek and dfn added by tantek"
(view diff)
#
tantek.com
edited /ThinkUp (+38) "end citation link text, clarify domain was"
(view diff)
#
tantek.com
edited /ThinkUp (+16) "IG also"
(view diff)
tantek, jjuran, [chrisaldrich], marcthiele, loicm and [kevinmarks] joined the channel
marcthiele joined the channel
#
Zegnat
We already know JSON parsing is hard http://seriot.ch/parsing_json.php
#
Zegnat
Thankfully it isn't YAML
marcthiele, [kevinmarks], davidmead, John__, jjuran, snarfed, [xavierroy], [manton], kline, tantek and gRegorLove joined the channel
#
@derhess
Finally, after a few weeks... my report about our HWC #Berlin meetup about #webmentions http://derhess.de/2017/11/26/notes-from-hwc-berlin-10-about-webmentions/ #indieweb @IndieWebCampDE #webdev #api #content #semantic #data #socialmedia #decentralized #technology
(twitter.com/_/status/934848301450649600)
tantek and KartikPrabhu joined the channel
#
seblog.nl
edited /Laravel (+26) "adding dates to the statements"
(view diff)
#
seblog.nl
edited /Laravel (+390) "add ben_thatmustbeme's packages"
(view diff)
#
sebsel
Working with Laravel at work now, so investigating a switch with Seblog, but not yet sure about it all.
#
sebsel
I do want to fix the general buggyness of my site (don't we all)
#
aaronpk
I've been enjoying it
#
aaronpk
(Laravel, not the buggyness of your site)
#
Loqi
nice
#
sebsel
Yeah I notice I don't use any UI from the Kirby CMS now, so in a way I'm not really using the Kirby CMS, only the Kirby Framework. And it's just not that good at being a framework.
#
schmarty
aaronpk: (and other folks that use framework-y PHP). after some success with a simple webmention.io receiver in PHP, i am interested in doing more PHP stuff w/ my site. i see that many of your PHP projects are either Laravel- or Slim-based. Do you have any current feelings about these?
#
aaronpk
Laravel is a more complete framework, it includes a database ORM, caching, a job queue, a template system, etc etc. Slim is just the router part so you'll need to put a lot more pieces together yourself with that
#
aaronpk
If a more DIY approach is your thing, Slim might be better. But also check out Plates and Route from the php league
#
schmarty
the current project(s) are for little micro-service-like webhooks like the one i just made for receiving webmention.io data.
#
schmarty
ooh, i had not heard of Plates and Route before, will check those out.
#
schmarty
my bigger project right now is a webhook that gets notified of new git commits on my site repo, pulls down those commits, and builds the site.
#
schmarty
so a job system for those bits sounds good
#
aaronpk
Course if you want a minimal job queue, check out my Caterpillar repo ;-)
#
schmarty
i also want to add in intermediate steps like fetching /link-preview content for posts that are in-reply-to other posts on the web, which should also be job-y.
#
schmarty
haha, I have my eye on Caterpillar for sure. :}
#
Loqi
hehe
#
schmarty
i plan to have it only work with flat files, so Laravel feels like too much at the moment.
#
aaronpk
I tend to use Laravel when I'm making something that will use at least a few of its major features and would be considered a full "app"
#
schmarty
thanks for the insights!
#
sebsel
bookmarks along
#
aaronpk
I use the small building blocks for smaller utilities, like my latest Watchtower which doesn't even have a UI
#
schmarty
ah, and Compass runs on Lumen, which is a more minimalist framework from Laravel?
#
sebsel
I believe the goal of Lumen is to be a small variant of Laravel. Any Lumen application can be used with a Laravel vendor folder and still run, so the upgrade is very easy
#
aaronpk
I think Lumen is deprecated. They rolled most of it into Laravel.
#
aaronpk
It started as a fork of Laravel meant for APIs
#
schmarty
oh, right. i think i remember reading about Lumen being deprecated. :|
#
Zegnat
I am with aaronpk on the “use [framework] when I'm making something that will use at least a few of its major features”. Most of the time I find I don’t need a full framework and much rather pull in just the parts I do need.
#
schmarty
has deja vu about intending to pick up a PHP framework :}
#
Zegnat
Slim is pretty good for normalising a router with PSR-7 compatible HTTP Request and Response objects. Which is pretty nice, and I find it is the basis I want for most sites.
#
sebsel
I got my homepage in Laravel's Blade-template now, just to get a feel for it.
#
sebsel
Turns out there is a loooot of logic in my templates that shouldn't be there.
#
Zegnat
For licit.li I just pull the parts I wanted in separately: FastRoute for routing (which is the code that is used by several frameworks anyway) and Nyholm/psr7 for the HTTP objects.
#
sebsel
The h-card in the header is one big pile of if-statements to apply mf2-fields when needed :P
#
aaronpk
grantcodes++ thx for the github isseus, all fixed! (I hope)
#
Loqi
grantcodes has 4 karma in this channel (6 overall)
#
grantcodes
Great thanks!
#
grantcodes
The only other little one I've run into is you can add the same feed with and without a trailing slash as well
#
Zegnat
“with and without a trailing slash” are two different URLs, so, sounds correct?
#
aaronpk
oh yea huh, I should normalize those too
#
aaronpk
not for the root domain
#
Zegnat
Ah, no, not for root domains, true!
#
aaronpk
technically http://example.com isn't a complete URL because there is no path component
#
Zegnat
I was thinking of e.g. WordPress feed URLs that all end in /feed/
#
www.boffosocko.com
edited /microcast (+142) "Fixed Winnick link; added Chris Aldrich"
(view diff)
#
aaronpk
yea /feed and /feed/ are different and I won't make any assumptions about that
#
Zegnat
I see too many people making assumptions about that. Those trailing slashes aren’t optional, but because of years of URL rewriting some people treat them as if they are
#
sebsel
one of my troubles with Kirby: https://seblog.nl/blog, https://seblog.nl/blog/ and https://seblog.nl/blog//////// are all the same
#
aaronpk
without redirecting?
#
sebsel
No, it's just serving the page.
#
Zegnat
I was unhappy with several ways Kirby does routing and treats HTTP requests
#
aaronpk
file a bug? you can always cite the google SEO reason for not wanting to serve duplicate content at a bunch of URLs
#
sknebel
sebsel was as well, if I remember the later stages of the private webmention experiments
#
sebsel
I broke so many things while trying to get webmentions to work properly.
snarfed joined the channel
#
Zegnat
sebsel has a bug open on the current in-development upcoming Kirby about how they do not map GET and HEAD requests to the same thing. I have one about how they are limiting HTTP methods to a small predefined list and uppercasing the methods.
#
sebsel
yeah, that was what I meant with "it's just not really good at being a framework".
#
Zegnat
My issue titles “Treat methods in accordance with the HTTP spec” is labelled as an enhancement, not a bug ?
#
Zegnat
s/titles/titled/
#
Zegnat
Not getting into that. I have a bed waiting to be warmed and a good book to help me wind down from screentime.
#
Zegnat
Have a good one all!
#
sknebel
good night Zegnat!
#
Loqi
night night
#
sebsel
good night :)
snarfed joined the channel
#
www.boffosocko.com
edited /site-hacks (+1819) "tools; few prominent hacks; section on individual hacks"
(view diff)
gRegorLove joined the channel