#dev 2018-08-09

2018-08-09 UTC
eli_oat joined the channel
#
eli_oat
@aaronpk are there any instructions for hosting one's own instance of IndieNews?
#
aaronpk
hm im not sure
#
aaronpk
it would be in the github readme
#
aaronpk
i dont think i did a good job of writing that for that one tho
#
eli_oat
that'd be a no, then. No worries!
#
eli_oat
I'm interested in hosting an instance for a thing I want to try, indieDnD, or IndieRPG wherein folks can participate in a distributed game in the style of DnD
dougbeal|mb1, funwhilelost and renem joined the channel
#
dougbeal
What does a microformats parser do about iframes?
#
dougbeal
Trying to send a manual webmention from Wix
#
KartikPrabhu
dougbeal: mf2 parsers do not load the iframe src if that is what you are asking
eli_oat and [jgmac1106] joined the channel
#
[jgmac1106]
Not sure how wix and weebly work...but getting mf2 in there be mighty fine
[tantek] joined the channel
[dougbeal] joined the channel
#
[dougbeal]
For wix, HTML iframe was fail
[matpacker] joined the channel
#
KartikPrabhu
[dougbeal]: mf parsers do not look inside the src of an iframe so that won't work for webmentions
#
KartikPrabhu
I don't think webmention receivers even look inside the iframe
#
eli_oat
What do you mean "in an iframe?" Are you trying to parse content from within the iframe?
#
eli_oat
Before you can do that, I believe you'll need to get to the raw frame-source.
#
eli_oat
the URI on which an iframe is present has now info about that frame's contents
asdffdsa, fireworks22, iasai, joycepao, nyuszika7h17, tantek, dougbeal|mb1, JesseOor, cweiske and acronix22 joined the channel
#
Zegnat
!tell eli_oat Some thoughts I have previously written about decentralised gaming/RPG/DnD on IndieWeb: https://indieweb.org/User:Vanderven.se_martijn/Roleplaying_from_our_own_blogs - interested to hear how you would use indienews.
#
Loqi
Ok, I'll tell them that when I see them next
jackmcbarn24, Meanderthal10, foxcookie and [kevinmarks] joined the channel
#
Loqi
[Tantek Çelik] microformats2 parsing specification
^v, guest3546 and Michail1 joined the channel
#
vanderven.se martijn
edited /code-of-conduct-examples (+918) "[[GitHub]] has CC-0 policies, including CoCs. [[Stack Overflow]] recently released one."
(view diff)
obserd, [jgmac1106], [kevinmarks], tantek and jjuran joined the channel
#
@cswordpress
↩️ Number two, number three, number four: mastodon also refuses to support webmention, microformats 2 and Direct syndication via RSS or Atom.
(twitter.com/_/status/1027516205161177088)
barpthewire joined the channel
#
Zegnat
forgot all about that page! ^^^
#
Zegnat
Was that [metbril]?
tantek__ and [pfefferle] joined the channel
#
jmac_
So, my homebrew Webmention library has an object method called "content", which returns some text extracted from the wm's source document based on this algorithm: https://indieweb.org/comments#How_to_display
#
jmac_
Right now, it does this regardless of the "flavor" of webmention. It'll do it for in-reply-to's, and for everything else as well.
#
jmac_
My question is, should it apply that algorithm *only* in the case of explicit reply-mentions, and do something else (maybe just returning the p-name) for non-replies?
#
Zegnat
Honestly, that’s completely up to you, imo. If you are getting good content results even for not-explicitly-mf2-marked-mentions, why not use it?
strugee joined the channel
#
jmac_
Yeah. And on re-read, I see on that wiki page explicit instructions to display non-replies separately from replies, which I'm not doing, and which I suspect is closer to the root of my problems.
jjuran, KDDLB and eli_oat joined the channel
jmac joined the channel
#
eli_oat
!tell Zegnat THANK YOU! This is very interesting. I'm gonna re-read it and digest, and maybe follow up with some ideas?
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
eli_oat: Zegnat left you a message 6 hours, 52 minutes ago: Some thoughts I have previously written about decentralised gaming/RPG/DnD on IndieWeb: https://indieweb.org/User:Vanderven.se_martijn/Roleplaying_from_our_own_blogs - interested to hear how you would use indienews.
#
Zegnat
eli_oat, you know where to find me for any follow up you might have :D
eli_oat, barpthewire, tantek__, jjuran and [kellan] joined the channel
#
www.svenknebel.de
edited /audience (+531) "question: cross-site audiences?"
(view diff)
ephemer0l_10, eli_oat1, eli_oat and [kevinmarks] joined the channel
#
tantek.com
edited /Foursquare (+151) "/* See Also */ Foursquare Style"
(view diff)
jackjamieson joined the channel
#
tantek.com
edited /Foursquare (+387) "update dfn per Swarm spinoff, split current / past features, expand a bit"
(view diff)
#
@webology
↩️ Webmention looks like a pretty cool spec. I want to play with it more because it feels like a better approach than just having comments IMO. https://indieweb.org/Webmention
(twitter.com/_/status/1027571888304738305)
snarfed and [kevinmarks] joined the channel
#
snarfed
!tell tantek fixed that bridgy github bug, feel free to try again if/when you have another issue for that repo! may still not behave ideally though since it's private though, we'll see
#
Loqi
Ok, I'll tell them that when I see them next
noah21, iasai, snarfed, [jgmac1106], jak14, Frogging10119 and [pfefferle] joined the channel
#
aaronpk
it seems silly to have just twitter accounts for all my other little project profiles now. i keep finding myself wanting some lightweight project i can easily set up on a new domain for accounts like @indie_auth and even @indiewebcamp
#
Zegnat
runs SVG through an optimizer -> SVG no longer resizes.
[cleverdevil] joined the channel
#
[cleverdevil]
That's a fun little use case. Something self-contained, for the simplest possible little microblog.
#
Zegnat
[cleverdevil], what is?
#
[cleverdevil]
[aaronpk]'s use case above.
#
[cleverdevil]
Little project profiles.
was joined the channel
#
Zegnat
Ah, gotcha
barpthewire and [eddie] joined the channel
#
aaronpk
The problem is every time I start thinking through it is I end up with a huge feature list 😂
tantek__ joined the channel
#
tantek__
snarfed++ thank you!
#
Loqi
tantek__ said: snarfed++ thank you!
#
Loqi
tantek__: snarfed left you a message 1 hour, 1 minute ago: fixed that bridgy github bug, feel free to try again if/when you have another issue for that repo! may still not behave ideally though since it's private though, we'll see
#
Loqi
snarfed has 63 karma in this channel over the last year (115 in all channels)
#
tantek__
I'll try a comment and see if that works
#
[cleverdevil]
[aaronpk] totally fair... maybe start from something that is pre-existing?
#
[cleverdevil]
I was thinking about hacking on picocms.org for that purpose.
#
aaronpk
The pre existing thing I could use is p3k haha
#
[eddie]
aaronpk That’s essentially what I did for luke.hinkle.life. I took my website core and stripped some stuff out and added a new homepage
#
[eddie]
That said, it’s really bare bones, as I didn’t set it up to accept webmentions or anything. The websites for my cats will be more middle ground between my website and my son’s
#
[eddie]
but still using the same basic core
Praise19 joined the channel
#
tantek__
!tell snarfed tried to POSSE this issue comment: http://tantek.com/2018/221/t1/ and looks like got errors in the log
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
[Tantek Çelik] One "simple" way to do this would be to create a public repo like: https://github.com/w3c/ABpub which would thus have public issues by default.
[shaners] joined the channel
#
aaronpk
I've let p3k drift a bit far into the "too-specific-for-any-other-use" category so it'd take a bit to strip out some things that only I need
#
aaronpk
I might need to figure out how Laravel plugins work so I can move some of those things into private plugins and then open source the core
#
aaronpk
But to do that I need to update to the latest Laravel which I know changed a bunch of internal things from 5.2 to 5.6
#
aaronpk
:sigh:
#
aaronpk
I just keep thinking "I should make a website for [Loqi/IndieWebCamp/BarBot/my cat/my house/etc], like okay cool I can put up an html page with h-feed easily enough.
#
aaronpk
But then I want to post via Micropub. Okay that's not too hard to add.
#
aaronpk
Now I want to send webmentions, well that now requires background processing, especially to also receive them
#
[eddie]
😆 It adds up quickly
#
aaronpk
And the easiest way to do that is to use a complete framework like Laravel
#
aaronpk
And then I've pretty much recreated p3k
#
[eddie]
Maybe that’s how you make p3k 2.0?
#
sknebel
but you already have a bunch of extracted bits for that at least.
#
sknebel
e.g. webmention.io
#
aaronpk
yep and telegraph, both of which my site currently use haha
snarfed joined the channel
#
aaronpk
of course the other half of this conversation in my head is thinking what it would take to make p3k open source so that people could actually use it
#
aaronpk
and to do that, i need to make it simple to set up, which funny enough means removing external dependencies like webmention.io and telegraph, since those both require a few extra steps of pasting API keys around
#
sknebel
or make it easy to setup single-site versions of those, and add them to the package :D
MatthewAllan9321 joined the channel
#
aaronpk
oh gosh
submain joined the channel
#
aaronpk
anyway, I am currently leaning towards starting from new Laravel and porting all my code into it and turning it into something easy to install. Figuring out the plugin mechanism so that I can keep a few things private like my ridiculous GPS integration. That'd both make it something I could open source, as well as easy for me to spin up for small sites.
[tantek] joined the channel
#
Zegnat
Today, I had a go at designing. Took a single afternoon for one UI element: https://wiki.zegnat.net/temp/toggle.html
#
aaronpk
wow nice
jjuran and [jgmac1106] joined the channel
#
Zegnat
SVG icons by Google (or whoever owns the rights to the Apache licenced Material Design set)
#
[eddie]
aaronpk: That seems like a good idea. I’m working on something similar with my node.js site (which I have a goal to be able to make it serverless)
#
[eddie]
ohhhh fancy, Zegnat!
#
[eddie]
Zegnat++
#
Loqi
zegnat has 51 karma in this channel over the last year (140 in all channels)
#
Zegnat
Thinking about merging it into 1 pill shape, so it looks more like a real state switch. But this was a challenge enough. Been a long time since I did anything design-y
KartikPrabhu joined the channel
#
Loqi
ok, I added "http://www.emojination.org/" to the "See Also" section of /emoji https://indieweb.org/wiki/index.php?diff=50793&oldid=49931
#
Zegnat
That domain does not resolve for me, aaronpk :o
#
Zegnat
Just making sure that’s an issue on my side, and not a type or something in the domain on your side :)
#
aaronpk
works fine for me
#
sknebel
resolves here
jackjamieson, [pfefferle] and eli_oat joined the channel
#
[eddie]
not sure why that was removed
#
aaronpk
oh, huh, looks like the only reference to q=source was in that intro line which got moved down lower
#
snarfed
!tell tantek ok commenting on private repos should be happier now too. thanks for your patience and reports. :P private repos are tricky!
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
snarfed: tantek__ left you a message 49 minutes ago: tried to POSSE this issue comment: http://tantek.com/2018/221/t1/ and looks like got errors in the log
#
[eddie]
ohhh because grantcodes implemented it differently
[grantcodes] joined the channel
#
[grantcodes]
Oops, did I do a bad?
#
[eddie]
😆 Not a “bad” persay. Just editing a bornstorming page that made it a bit more confusing. But I understand why you did it. You and j4y_funabashi had different approaches
#
[eddie]
So it would be somewhat odd for j4y_funabashi’s to be at the top of the section
#
[grantcodes]
Yeah, don't think I deleted anything.
#
[eddie]
Nope, just moved it lower and I didn’t look that low on the page
#
[eddie]
You’re fine 🙂
#
[grantcodes]
It's kinda hard to notice that is all under the "Query for post list" heading. Not much of a difference with the sub headings 😛
#
[eddie]
Yeah, definitely. I was having a hard time telling what the headings denoted
#
aaronpk
if there are two implementations now, maybe time to move to the extensions page with an actual proposal?
#
[grantcodes]
But there was no more info on that sort of query that I could find
#
aaronpk
the brainstorming page is meant to be things that are super rough ideas or not yet implemented by anyone
#
[grantcodes]
Well my version is definitely not a proposal. But definitely works in my specific case and good for discovering what is required of a proposal
KartikPrabhu and eli_oat joined the channel
#
[eddie]
Well that was super easy. I already have basic support for it added to my site. My only issue is that my internal post storage isn’t 100% mf2 json, so I just have to write a conversion function from my post storage object into complete mf2 json
#
[eddie]
But I’m successfully returning my internal storage objects right now, as a first step
#
[grantcodes]
I don't like the empty q=source version myself, as it is not very flexible
[kiai] joined the channel
#
[eddie]
Is it inherently not flexible or is it not flexible because we haven’t iterated on it yet?
#
[eddie]
I feel like it might just need iteration
j12t joined the channel
#
[eddie]
grandcodes, you implement mongodb query, but what’s the url you send?
#
[eddie]
it is built into a q= extension?
#
[grantcodes]
Maybe, but also could be confusing when trying to get one post vs a list. But I think the first thing to decide on would be what parameters would be sent. Then name them from there?
JustTheDoctor24 joined the channel
#
[grantcodes]
I use q=mongo I think
#
[eddie]
ahh gotcha
#
[eddie]
I like the idea of one post vs list because url then just becomes a filter
#
[eddie]
so q=source provides a list of posts
#
[eddie]
if you add url={URL} that is filtering by the post attribute url
#
[grantcodes]
Then another parameter of a string encoded json object with the actual query to run
#
[grantcodes]
Yeah I guess that makes sense
benwerd joined the channel
#
[eddie]
I definitely like what some of the mongodb query provides
#
[eddie]
but having the entire filtering outside the usual URL feels wrong for Micropub
#
[grantcodes]
Oh yeah it's a filthy hack but it works 😛
#
[eddie]
Hey, as long as it works for you 😉
#
aaronpk
oh yeah no way are we gonna include the mongodb query syntax in micropub :P
barpthewire joined the channel
#
aaronpk
not a fan of defining another syntax inside this spec
#
[grantcodes]
I listed the parameters that I thought would need to be supported at https://indieweb.org/Micropub-brainstorming#Query_Parameters
#
[eddie]
Yeah, that’s a good list
#
aaronpk
okay i must have forgotten about some other micropub page because now i can't find the part that talks about querying for supported vocabs that both quill and micro.blog have implemented
ksx4system3 joined the channel
#
aaronpk
there's no mention of implementations there tho
benwerd_ joined the channel
#
[eddie]
Yeah, I don’t know that it ever got transitioned as an implementation on the wiki
#
[eddie]
That’s the url I always saw quoted
#
aaronpk
oh it must be on github
#
[eddie]
ohhhh probably
#
aaronpk
huh it's not
#
Loqi
[aaronpk] #1 Query for supported vocabulary
#
aaronpk
[eddie]++
#
Loqi
eddie has 36 karma in this channel over the last year (55 in all channels)
snarfed joined the channel
#
aaronparecki.com
edited /Micropub-brainstorming () "(-585) /* Query for supported vocabulary */ moved discussion to github"
(view diff)
#
aaronparecki.com
edited /Micropub-extensions (-27) "move this to its own line since i kept not seeing it"
(view diff)
#
aaronpk
okay that should help next time i try to look this up
#
[eddie]
So here’s a thought, should “post-type” be a filter on q=source?
#
aaronpk
that could work
#
[grantcodes]
My idea of filtering by property effectively does that
#
[jgmac1106]
in terms of bookmarking not making the cut [tantek] [grantcodes] and I had a long conversation at the Summit and I thought it was going to be moved into the accepted category but I think it was left at the @microformats wiki people had to move first
#
[eddie]
Here’s the issue I ran into with property filtering
#
[eddie]
name exists both on Articles and Podcasts for me
#
[eddie]
so Mars Edit would have to filter posts WITH a title but WITHOUT audio
#
aaronpk
post type solves that right?
#
[eddie]
Which I think gets sticky quickly
#
[eddie]
exactly
#
[eddie]
That’s why the post type filter is needed even if we have property filtering of some type
#
[grantcodes]
Is that not sort of against the principles of https://indieweb.org/post-type-discovery
#
[grantcodes]
Although it is the opposite direction
#
aaronpk
no it's fine
#
[eddie]
I think it’s not against Post Type Discovery, it’s USING Post Type Discovery, as you said, in the opposite direction
#
aaronpk
because the thing post type discovery is trying to prevent is setting a post type on creation
#
aaronpk
instead, you can use post type discovery when consuming the post to figure out what it is without the author needing to set a type on creation
#
dgold
aaronpk: xray's twitter parsing - that needs a dev key/token, doesn't it?
#
[grantcodes]
ok makes sense
#
dgold
ok - I'll leave that logic in there for the time being for the purpose of extracting twitter information
#
eddiehinkle.com
edited /Micropub-brainstorming (+396) "/* Query for post list */ add some clarifications and thoughts"
(view diff)
#
[grantcodes]
I guess with post kinds as a query filter or not you are mainly choosing whether the server or client should handle the filtering, - sort of
#
[eddie]
Well I think the big thing about post kinds as a query is you have specialized Micropub apps
#
[eddie]
so for example: MarsEdit could query for only articles or articles and notes
[quinnvinlove] joined the channel
#
[eddie]
Wavelength could query for audio posts
#
[eddie]
The server determines what is an “audio post”
#
[grantcodes]
I was thinking the same thing, but thought filtering by parameters would be enough
#
[eddie]
Yeah it almost is
#
[grantcodes]
*properties
#
aaronpk
the problem is again video vs photo posts
#
aaronpk
since video posts have a photo property for the still frame
#
[eddie]
ahh yep
#
aaronpk
that is the whole thing that post-type-discovery solves haha
#
aaronpk
basically setting a priority order for properties to map them to post types
#
[eddie]
And it seems much easier to implement Post Type Discovery on the server than through url query parameters. lol
#
aaronpk
yeah especially since the server should implement it anyway for other reasons
#
[eddie]
Plus, since people randomly add new post types as experiments, the server can protect itself from sending some other new post type
#
[grantcodes]
In my use case that definitely isn't true
#
aaronpk
cause you're basically exposing the database directly?
#
[grantcodes]
I just store the raw mf2 json so it is trivial to get posts based on a property
#
aaronpk
gotta implement post-type-discovery in mongodb
KindOne5 joined the channel
#
[grantcodes]
I don't really have any sort of explicit post type useage
#
[grantcodes]
I mean it's not super hard, just need to set up what properties match to what post type
#
aaronpk
if you only have notes and articles and photos then your properties map to post types 1:1
#
aaronpk
but as soon as you add other things like videos, checkins, etc then you need something more complicated
#
NinjaTrappeur
Hey indieweb, quick question: we are planning to send some webmentions from lobste.rs (a link agregator). We are wondering if sending "historical" webmentions (ie. webmentions for articles posted a long time ago) is a good idea. Do you have any input on this? Could we trigger some "anti-spam" filter by doing that?
#
aaronpk
🎉 awesome
#
Loqi
[voxpelli] #383 Feature: Send Webmentions
#
aaronpk
tbh i would start with just new posts
#
aaronpk
there have definitely been a few instances where someone's site sends out webmentions for old posts, like when they move to a new domain
#
sknebel
I'd not intentionally design it to send old ones, but if that happens it's not really a problem either
#
aaronpk
also i wouldn't send out historical ones until you're confident in how the new ones are working
#
aaronpk
btw if you need anyone to review the microformats you're adding this is the place to ask as well!
#
[grantcodes]
Depends what you want to do. Technically on my site there are post types but in my mind they are all just the same with different properties that get rendered appropriately. There's only one template too
#
sknebel
subscribes to issue
#
NinjaTrappeur
Sure. I plan to test the patch :) Noted, I'll send the template here after writing it.
#
sknebel
(also as aaronpk says, feel free to ask for review!)
#
[eddie]
grantcodes: Mine is the same. I have a single template that renders based on attributes that exist
#
[eddie]
but I think post types are an easy way to express what “collection of attributes” are compatible with something like a Micropub client
#
aaronpk
NinjaTrappeur: regarding the comment thing, that behavior is usually referred to as "salmentions"
#
aaronpk
i'd also start out with just the first submission, and add that second level in later if things start working well
#
NinjaTrappeur
that's the idea
#
aaronpk
the idea though is not to create a new URL for each comment that shows up as a comment on the original post, but instead it treats the lobsters post as "being updated" when any new comment is added there
#
aaronpk
from the receiver's POV, it looks like just a duplicate webmention if they don't also understand the list of comments
#
aaronpk
that way they can basically opt in to receiving the updates of the comment thread, and if they do nothing then there isn't that "spam" effect that's described in the thread
#
[grantcodes]
[eddie] sure, makes sense. But for sure I think there will be a need to query by specific property too. Just post type won't cover all the use cases I thought of
#
NinjaTrappeur
what kind of microformat class are we supposed to use for the comments in such configuration?
#
[eddie]
grantcodes: Yeah, I can imagine there will be a need to query by property as well
#
[grantcodes]
Yep, a journal app would be the most obvious to me. Or indiebookclub that already actually exists 😛
#
gRegorLove
perks up
#
[grantcodes]
Ha, I was imagining indiebookclub being able to query a micropub endpoint for a read-of a certain book and do clever stuff.
#
aaronpk
but that's just another post type
#
gRegorLove
Ah, like populate the new post form?
#
gRegorLove
or for update?
#
Zegnat
Rejuggled some CSS. Can I get some new eyeballs to tell me about other tweaks I may try? https://wiki.zegnat.net/temp/toggle.html
#
[eddie]
I think grantcodes means like read-of=fun-book
#
[eddie]
filtering by an attributes content rather than just the existence of an attribute?
#
[grantcodes]
Yes, attribute content in that case
#
aaronpk
oh, that is something on top of post-type then
#
aaronpk
i dont think those are mutually exclusive
#
[grantcodes]
Or all books that are currently being read
#
[grantcodes]
Oh no not exclusive
#
[eddie]
hmm aaronpk seems like all the url parameters in the micropub spec are single words.
#
[eddie]
would you lean towards &type=article, &postType=article, &post-type=article
#
aaronpk
probably post-type since that matches the query version
#
[eddie]
:thumbsup:
#
[eddie]
oh that’s cool
#
[eddie]
I can now query my posts based on post type
#
aaronpk
that was fast haha
#
[eddie]
No pagination yet, I’m just returning the last month’s worth of posts
#
[eddie]
I have a .getPostType() function on my model
#
[eddie]
so I literally just said if post-type exists, then filter posts so post-type == getPostType()
#
[eddie]
Now I need a Micropub client to query my posts. 😆
#
[grantcodes]
Oh the other thing that is not mentioned there, the posts returned would probably need to be in an `items` property like microsub
#
aaronpk
isn't that in the example?
#
[grantcodes]
Oh missed that
#
[grantcodes]
Ignore me 😛
#
[eddie]
although the example is confusing. it has type: [“h-entry”] and properties: h: [“entry”]
#
[eddie]
is that normal?
#
aaronpk
no that's weird
#
[grantcodes]
But [eddie] my browser extension queries for bookmark posts with my hacky method, would be easy to change it to query by post type
#
[eddie]
ohhhh interesting
#
[eddie]
is it on Github?
#
[eddie]
very cool. I’ll have to play around with that. Thanks!
#
[grantcodes]
The syncing is still kinda dodgy I think. But I did push all my browser bookmarks to my site. The query means it should be able to import bookmarks from your site to your browser too
#
[eddie]
Cool, I probably wouldn’t do much syncing, and I don’t really use Chrome or Firefox, BUT I can tweak it and open up Chrome and test the import from my website at least so I can see it working 🙂 I’ll have to mark that down as a project for this weekend
#
eddiehinkle.com
edited /mood (+94) "/* Silo Examples */ +exist.io example"
(view diff)
#
@DesignHammer
We have some fun articles to share this week! Learn about the rise of Webmentions (@mentions) on the internet, the creative aesthetic of classic 1991 video game "Another World," & an entertaining run-through of some of the funniest things to ask Alexa. https://designhammer.com/blog/readers-corner-69
(twitter.com/_/status/1027631476693716992)
#
eddiehinkle.com
edited /Micropub-brainstorming (+413) "/* Query for post list */ + add me"
(view diff)
#
[eddie]
aaronpk: Now that we have a couple implementations, should we continue to iterate on the brainstorming page or shift to either a GitHub issue or the extensions page?
#
aaronpk
go ahead and move the current proposal and example to the extensions page, then make an issue for it on github and we can continue the discussion there
#
aaronpk
the extensions page is a good quick list of extensions but discussions are better on github
#
[eddie]
:thumbsup: sounds good
#
eddiehinkle.com
edited /Micropub-extensions (+1355) "/* Query */ +post list query"
(view diff)
#
eddiehinkle.com
edited /Micropub-extensions (+56) "/* Query for Post List */ add GitHub link"
(view diff)
#
eddiehinkle.com
edited /Micropub-brainstorming () "(-3233) /* Query for post list */ moved notice"
(view diff)
abraxis, DataComputist, quarks and [kiai] joined the channel
#
eddiehinkle.com
edited /Micropub-extensions (+1036) "/* Query */ Add more in-depth supported vocabulary info"
(view diff)
bladernr20 and [jgmac1106] joined the channel
[quinnvinlove], Stummi27, MobileMatt, iasai, j12t, j12t_ and [eddie] joined the channel
#
[eddie]
Phew! Feeling pretty good about my website updates today. Added Micropub source content query (https://micropub.net/draft/#source-content) including the individual property requests. Plus integrating the post list query extension (https://github.com/indieweb/micropub-extensions/issues/4)
#
[eddie]
Which is great, because this puts me not far from being able to support Micropub updates
#
[eddie]
I’ve been thinking about pagination of the Post List Query extension and I’m wondering if we want to do something like Microsub (https://indieweb.org/Microsub-spec#Example_Paging_Workflow)
#
[eddie]
where it’s just a token
#
aaronpk
probably a good idea to make them match
#
aaronpk
the idea with the token method is to let implementations decide how to make it work under the hood themselves
#
[eddie]
Yep, exactly. Which I like because as a server person that means I can do some really simple pagination by using a string that doesn’t require me to do a lot of computation
#
aaronpk
yeah you could even just return page numbers there if you wanted to be lazy
[cleverdevil] joined the channel
#
[cleverdevil]
So, the only thing about the way this works is that Known, as far as I know, doesn't actually store the MF2 JSON once its processed.
#
[cleverdevil]
That means that Known would have to learn how to translate its content back into MF2 JSON.
#
aaronpk
that's fine
#
[cleverdevil]
Should be relatively straightforward, but just a note.
#
[eddie]
[cleverdevil] That’s what I’m having to do on my site. My site isn’t 100% mf2 json, it’s something between jf2 and my own model
#
aaronpk
i technically don't store MF2 JSON either
#
[eddie]
aaronpk: Regarding pagination, Since I’m not currently doing any indexing with a database on my site, using an opaque string allows me to essentially use a date string and then continue loading posts that happen before or after the given date string. Which is great, almost no overhead
#
aaronpk
perfect
#
[eddie]
So that’s awesome 😄
[dgold] joined the channel
#
Zegnat
Ugh. Turns out the one time I think newfangled CSS fixes all my issues, it has a bug: https://github.com/rachelandrew/gridbugs#10-some-html-elements-cant-be-grid-containers
#
Loqi
[rachelandrew] gridbugs: A curated list of Grid interop issues
#
Zegnat
I should have stuck to floats
#
Zegnat
See, Loqi agrees with me.
#
aaronpk
Loqi: grid or floats?
#
Loqi
I'm pretty sure grid
#
Zegnat
Nooo~
#
dougbeal
gives Loqi a cookie
#
Loqi
runs away from the cookie
#
gRegorLove
gives Loqi flexbox
#
gRegorLove
ooh, same issue in flexbox? bummer.
#
sknebel
div-wrap all the things!
#
[eddie]
Well, I think it’s time to call it a night and go cook up dinner. I added a limit parameter and return before and after tokens to my post list query. I’m gonna have to write some more functions to actually fetch posts based on the tokens, so that’s another battle for another day
#
[eddie]
Not bad though. It doesn’t take almost any time/effort to implement the new extension. The hardest part is really translating posts back into mf2 json
#
[eddie]
I’ll have to put Client compatibility on my list of projects so I can play around with it more
#
Zegnat
Just added an inner div. So my toggle should now work in Chrome too: https://wiki.zegnat.net/temp/toggle.html :D
#
Zegnat
I’m also pretty happy that it seems fully keyboard accessible. Haven’t tested with screenreader yet though
#
gRegorLove
Looks good, Zegnat!
Guest23408 joined the channel
#
gregorlove.com
edited /MailChimp (+131) "some important free tier features"
(view diff)
iasai, codebam28, snarfed, revi22 and [tantek] joined the channel