#dev 2019-06-21

2019-06-21 UTC
#
@azu_re
見てる: "Automate your outgoing webmentions" https://webmention.app/
(twitter.com/_/status/1141859991399194624)
#
@azu_re
そういえばそんな仕様あった "Webmention" https://www.w3.org/TR/webmention/
(twitter.com/_/status/1141860022990721024)
[chrisaldrich] joined the channel
#
[chrisaldrich]
GWG he does have a lot of experience at it. I vote helps.
[cleverdevil] and [jgmac1106] joined the channel
[eddie], [dougbeal] and chrisaldrich joined the channel
#
@speckLaz
↩️ @Slysterk Ooooh that’s neat. This little microsub is also nuclear powered.
(twitter.com/_/status/1141896208996134912)
[tantek] joined the channel
#
[tantek]
microsub 😂
gRegorLove, [jgmac1106], jjuran, snarfed, brett-soric, treora, [eddie], gRegorLove_, KartikPrabhu, cweiske and vilhalmer joined the channel; brett-soric left the channel
ichoquo0Aigh9ie, [kevinmarks786], swentel, [grantcodes], KartikPrabhu and [jgmac1106] joined the channel
#
[jgmac1106]
cweiske I don't know the answer to this can you have two omnibear exentsions installed? of without signing out maybe [grantcodes] is right, publish to your site and not display but then syndicate to a different site or just have a view for all your bookmarks
[grantcodes] joined the channel
#
[grantcodes]
The way I imagine that bookmark problem in a perfect indieweb world, would be you publish it to your own website via micropub, but have it unlisted or private so it doesn't show up on the frontend of your site, then there could be a bookmark display service / software that you could read your bookmarks via micropub queries and display them in a nice format, without you having to program it yourself.
#
[jgmac1106]
I can do that with Known actually
#
[jgmac1106]
these are my food posts but they don't show in my feed: https://quickthoughts.jgregorymcverry.com/content/food/
#
[jgmac1106]
here is the ui to toggle all the post types
swentel joined the channel
#
[grantcodes]
Sure, that's the other option if you store & display everything within your own site. But then with that your cms or you have to build a specialised layout for that type of content, or live with the default layout
leg, [kimberlyhirsh], gRegorLove_ and [jgmac1106] joined the channel
#
[jgmac1106]
ahh makes sense
#
[jgmac1106]
yes wish it was powered more by post type discovery than templating but I can understand templates a bit more at my skill level
#
[jgmac1106]
What is taskwarrior?
#
Loqi
It looks like we don't have a page for "taskwarrior" yet. Would you like to create it?_K (Or just say "taskwarrior is ____", a sentence describing the term)
#
[jgmac1106]
What is Taskwarrior?
#
Loqi
It looks like we don't have a page for "Taskwarrior" yet. Would you like to create it?_L (Or just say "Taskwarrior is ____", a sentence describing the term)
#
[jgmac1106]
Taskwarrior is Free and Open Source Software that manages your TODO list from the command line
KartikPrabhu joined the channel
#
@aaronpk
↩️ That's exactly what it did! Not for magic SEO juice, but for something much more interesting! https://aaronparecki.com/2018/06/30/11/your-first-webmention
(twitter.com/_/status/1142032936226607105)
KartikPrabhu joined the channel
#
[jgmac1106]
Wow I was doing this with Known and my students in 2015... Not the geofence but checkin attendance...https://www.insidehighered.com/news/2019/06/20/professor-develops-new-app-gps-tracking-student-attendance
#
@hs0ucy
RT @0x1C3B00DA@edolas.world Really happy to see http://Webmention.app released. I’ve already got #webmentions on my site, but an easy way for people not already invested in the #IndieWeb is great. Onboarding people outsi… https://edolas.world/objects/86b3b97c-5da7-47ee-838f-ef7427660c8a
(twitter.com/_/status/1142041655018577920)
#
petermolnar
GWG tech wise I use a <dl> for the exif info with some svg icons, in the background the extractor is exiftool
#
GWG
That will likely be a future phase
#
GWG
For now, I am starting by storing data and displaying a bit of it
#
@sebdedeyne
Is there any way to receive webmentions from comments on Reddit threads?
(twitter.com/_/status/1142049164169220096)
#
@qubyte
Lunchtime fun! I wrote a little glitch to turn webhook requests from http://webmention.io into github issues for my static site generator based blog. Later I might enhance this to make a pull request against the relevant article to add the mention. https://glitch.com/edit/#!/webmention-io-webhook-to-github-issue
(twitter.com/_/status/1142059647727296512)
#
@qubyte
Lunchtime fun! I wrote a little glitch to turn webhook requests from http://webmention.io into github issues for my static site blog. Later I might enhance this to make a pull request against the an article to add the mention. #indieweb #webmention https://glitch.com/edit/#!/webmention-io-webhook-to-github-issue
(twitter.com/_/status/1142060250985652230)
[manton], mapkyca, iiogama[m], snarfed, mapkyca_, oodani and [Khurt] joined the channel
#
[jgmac1106]
[Khurt] coming here from IndieWeb... Yeah I didn't migrate... Moving content in and out of WP huge pita. Instead I just added a subdomain and then moved on with different solution
#
[jgmac1106]
Not sure I would say microblog censor things bit of a reach on the discovery tab
KartikPrabhu, gRegorLove_, mapkyca_, [kevinmarks786], jackjamieson and [eddie] joined the channel
#
[eddie]
!tell cweiske regarding multiple micropub endpoints, there are a couple things. Omnibear *could* add multiple endpoint support. You could also add multiple "destinations" into your endpoint, and one destination could forward it somewhere else. I'm not sure if Omnibear support destinations, but again, that could be requested.
#
Loqi
Ok, I'll tell them that when I see them next
[grantcodes] joined the channel
#
[grantcodes]
jackjamieson so there's not great user facing errors at the moment but if you dig into network requests there might be details on any errors
#
[grantcodes]
But I'm also not sure if it only does that on a dev environment or not 😅
#
jackjamieson
Thanks! The network responses look helpful
#
jackjamieson
Interntal server error: String cannot represent value: ["http://aaronparecki.com/"]
#
jackjamieson
[grantcodes] I'll have to dig into it a bit, but looks like there's plenty of response info for tracing it. Thanks for the tip
snarfed joined the channel
#
[grantcodes]
Oh, something is an array that either shouldn't be an array or I have not converted
#
[grantcodes]
Yep, graphql seems good for that
#
jackjamieson
Ah, you're right. in my response the author URL is a single array item
#
[grantcodes]
I guess that's the multiple authors that GWG has been working on!
#
jackjamieson
Actually not in this case, since it's just one author. It's only the URL property that's an array. And only for some feeds.
[schmarty] joined the channel
#
[schmarty]
grantcodes++ alltogethernow.io is working well!
#
Loqi
grantcodes has 26 karma in this channel over the last year (43 in all channels)
#
[schmarty]
ran into one issue with a single channel: `Expected Iterable, but did not find one for field Post.photo.`
#
[schmarty]
it's a channel called Debug that i use to see how my JSONFeed looks
#
[grantcodes]
Cool I'll have a look at some point, but it's definitely because it is expecting the photo property to be an array, but it might just be something I need to normalize on the together server
#
jackjamieson
[grantcodes] So I think [author][url] should be a string instead of an array (which can be addressed in Yarns and/or Parse-This - I'll check where the error originates). But it would still be nice for the client to be able to render the rest of the feed. But this just helped me find a bug in Yarns, which means I can fix it :)
#
jackjamieson
grantcodes++
#
Loqi
grantcodes has 27 karma in this channel over the last year (44 in all channels)
#
[schmarty]
oh, i should mention i run aperture as my microsub server.
#
[grantcodes]
Yeah that's the thing with graphql, it is strict with its types so I can't have the properties that are sometimes an array, sometimes a sting and try to normalise stuff like that
#
jackjamieson
[grantcodes] Actually, that's great, because it makes it easier for me to find errors!
#
GWG
Let me fix any jf2 standardization errors
skippy joined the channel
#
[grantcodes]
So the only one I actually normalize is `quotation-of` because there is a bug in aperture that doesn't make it an array by default. I'm not sure if it's a good idea for me to do string -> array in together server or force the actual microsub servers to do it
#
jackjamieson
GWG, okay I'll leave this in your hands. Seems to be happening from aaronparecki.com/syndicated
#
GWG
jackjamieson,.if you open the issue please
#
GWG
I need to write some unit tests
#
jackjamieson
GWG, will do so now
#
GWG
Anyone have any?
#
GWG
We've never necessarily always agreed on how to convert to jf2
#
GWG
By the way, re references, that's in the jf2 spec
#
GWG
It allows for richer replies
#
GWG
Would love it if a Microsub client used it
BenLubar joined the channel
#
jackjamieson
GWG, Thanks - I was just looking at the jf2 spec and saw that. I agree it would be a nice feature in Microsub clients
#
GWG
I have it because I need it for Post Kinds now
snarfed, [tantek] and [eddie] joined the channel
#
GWG
Can Together support multiple authors?
#
jackjamieson
GWG, At least with the arxiv.org feed I've been testing with, doesn't look like it. The multiple authors are returned as a single h-card with null values
#
GWG
Odd
BenLubar, jjuran and snarfed joined the channel
#
sebsel
oh, [grandcodes]++
#
Loqi
[grandcodes] has 1 karma over the last year
#
jackjamieson
GWG, I think (from the error I was seeing with [author][url] earlier) that Together returns null for cases like this where it's expecting one value and finds another (e.g. expecting one h-card and receives multiple).
#
sebsel
grantcodes++
#
Loqi
grantcodes has 28 karma in this channel over the last year (45 in all channels)
#
jackjamieson
[grantscodes] is grand though...
#
jackjamieson
(to add my own typo to the mix) grantcodes, not grantscodes
#
sebsel
[grantcodes]: I am not an expert on GraphQL, just starting myself too. But I've been digging into it a lot over the past weeks, so happy to look at the server :)
snarfed joined the channel
#
GWG
jackjamieson, can add a flag
#
jackjamieson
GWG, can you clarify?
#
GWG
An argument to the return to always return one author only
#
GWG
multiauthor = false ?
#
jacky
isn't MF2 properties all lists by default
#
jacky
s/isn't/aren't/g
#
[eddie]
Microsub uses jf2
#
jackjamieson
GWG, got it. I hope multiple authors gets added to the Microsub spec, but a flag would be useful in the meantime
#
jacky
ah okay
#
jackjamieson
In which case, I'd suggest collapsing the multiple author h-cards into a string with all of the author names. Unfortunate to lose URLs etc, but seems better than omitting people
#
GWG
jackjamieson, I may put it into a secondary property
#
GWG
Will think on that
leg joined the channel
#
GWG
Maybe contributors
#
jackjamieson
GWG, I think it's worth thinking through. For my use-case of academic articles, I don't like the hierarchy implied by authors and contributors since many articles I read have multiple authors who contributed equally.
[jgmac1106] joined the channel
#
sknebel
Nothing stops readers of course to already handle both cases
#
GWG
jackjamieson, I have the issue that in RSS putting authors as contributors is regrettably common
#
GWG
But either way .
#
GWG
Where would you put them?
#
GWG
You know I care about proper citations
jjuran joined the channel
#
jackjamieson
Hmmm, thinking about this
#
jackjamieson
On the one hand, I'd really like to see all of the authors of an article in Microsub, or at least an indication if anyone has been omitted (e.g. "Shanske et. al" or a more colloquial version of that)
#
jackjamieson
For that purpose I'd be willing to sacrifice things like author images and other h-card elements in order to get all the author names. At least as long as we can't count on Microsub clients to handle arrays of authors
#
jackjamieson
Once I reply to a post, however, it's great that Post Kinds can handle multiple author h-cards. Certainly once I'm posting something on my own site, I'd like the citation to be as complete as possible
#
jackjamieson
As for authors vs contributors, the feeds I'm looking at for academic articles use <dc:creator> for all of the authors, so I wouldn't see a need to use contributors to represent those, at least
#
jackjamieson
I don't think my musing here is very helpful... certainly not very conclusive!
[grantcodes] joined the channel
#
[grantcodes]
I think there's a bit of confusion because the microsub jf2 does not follow the spec exactly regarding arrays or strings with the idea that the client shouldn't have to check every property to see if it's an array of not
#
[grantcodes]
GWG: together does not support multiple authors as that isn't in the microsub spec I don't think. But it absolutely does support refs and I'm pretty sure other readers do too
#
[grantcodes]
Also another hacky option if multiple authors is really important you could apend a footer to the actual content
#
GWG
It isn't not in the spec. It isn't clear how it would apply
snarfed joined the channel
#
jacky
re: license talk
#
jacky
I wish that the CDDL had a blurb like the ones on https://choosealicense.com/licenses/
#
Loqi
[supertunaman] cdl: Chicken Dance License! The official IANAL license.
[kevinmarks786], snarfed, [jgmac1106], leg, chrisaldrich, carsonfarmer[m] and jackjamieson joined the channel