#dev 2018-11-04

2018-11-04 UTC
#
snarfed
added bridgy publish docs for deleting tweets: https://brid.gy/about#delete
#
snarfed
i also implemented delete for flickr, but their API keeps downgrading the delete permission so bridgy can't actually delete. weird behavior, i don't fully understand it yet. https://github.com/snarfed/bridgy/commit/4bcc3d31a88124a0b48cb1f3fce12a3f31a27024
strugee and [eddie] joined the channel
#
[eddie]
Ohhh maybe it was your OAuth 2.0 book, aaronpk? I remember reading about them somewhere that was anti, but wasn’t in support either
#
mblaney
yes it's in aaronpk's book eddie, was reading it myself recently :-)
#
[eddie]
Aha! That makes sense, then 🙂
eli_oat joined the channel
#
[eddie]
Ohh revocation and expiration are different
#
[eddie]
Revocation is cancelling a token, expiration is time based
#
mblaney
aaah yeah sorry was just writing that :-/
#
mblaney
revoking is done by the client, refresh tokens are enabled by the providing service.
#
mblaney
from aaron's book: "If your access tokens expire, you likely want to support refresh tokens"
snarfed, renem and [kevinmarks] joined the channel
#
Loqi
[Kevin Marks] I updated the verify-me plugin at https://github.com/indieweb/verify-me to use Martijn's local code instead of http://indiewebify.me - it's pending review at the chrome store #Indieweb #Yesvember
snarfed1, [tantek] and calumryan joined the channel
#
@pluginfactoryio
A new Craft CMS plugin just got its wings: “webmentions” https://pluginfactory.io/ #craftplugin #craft3
(twitter.com/_/status/1059019955541340160)
calumryan, [kevinmarks] and swentel joined the channel
#
Loqi
[Perlkonig] grav-plugin-webmention: Implements the Webmention protocol (with the Vouch extension) for the Grav CMS
#
swentel
hmm 'response_type' is optional for starting the IndieAauth dance ?
#
sknebel
it has a default value, yes
#
swentel
right ok :)
#
swentel
was testing the integration in the drupal module and indieauth.com doesn't send that param
#
swentel
ah scope is optional too .. :)
[jgmac1106] and calumryan joined the channel
#
swentel
hmm on indieauth.com, when using the IndieAuth provider, I get to my side, I can authorize (a code is generated), but then I see indieauth.com posting to my authorize endpoint again, shouldn't it call the token endpoint, or am I missing/mixing things here ?
#
swentel
s/side/site
#
aaronpk
it's doing just authentication, not authorization
#
aaronpk
so there is no token involved
#
aaronpk
it isn't asking the token endpoint for a token, so it asks the authorization endpoint whether the authorization code is valid
#
swentel
ok, makes sense
#
[kevinmarks]
@zegnat can you remember how the Mozilla plugin packaging works?
#
Zegnat
I use web-ext to package
#
swentel
aaronpk, another interesting thing (I think), unrelated to this, on webmention.io, I see a new site in settings, being 'fed.brid.gy' , but I don't own that one at all
#
aaronpk
yeah it's kinda weird like that
#
aaronpk
you have your own webmention endpoint on webmention.io, so somehow your endpoint got a webmention sent with a target URL of fed.brid.gy
#
aaronpk
the sites you see there are scoped to your account even if they aren't your own domains
#
aaronpk
I originally did that so you could use your account on a bunch of different websites without having to first set them up, but this is the kind of weird side effect of that, which i'm not entirely happy with
#
swentel
it was a confusing moment indeed :)
#
swentel
anyway, back to fix the last piece of the indieauth flow
#
sknebel
aaronpk: callback_url or callback_uri (since it is redirect_uri in the spec)?
#
aaronpk
I prefer url because they are actually urls
#
aaronpk
redirect_uri can technically be things that are not urls although it is rare in practice
[tantek] joined the channel
#
sknebel
seems callback_uri is already a thing in some contexts... using _url for now anyways, but to review later I guess
[pfefferle] and [dominik] joined the channel
#
petermolnar
!tell adactio this is how I used to retrieve content from archive.org a long while ago with WordPress https://github.com/petermolnar/wp-url2snapshot/blob/master/wp-url2snapshot.php#L166
#
Loqi
Ok, I'll tell them that when I see them next
[tantek] joined the channel
#
Loqi
[tantek] #102 Received webmention update with source redirect should update comment link
[jgmac1106] joined the channel
#
[jgmac1106]
trying to work on my first Known plugins for hack day today: https://github.com/jgmac1106/idno-read I thought I finished it but it is not calling the edit template when I click on read
#
Loqi
[jgmac1106] idno-read: A read post kind plugin for known
#
swentel
yes, the authentication flow works too now
#
swentel
think I have it all now ..
#
swentel
quild, monocle, webmention.io login, indigenous all good
#
swentel
one last test, indieweb.org :)
#
[jgmac1106]
swentel++
#
Loqi
swentel has 16 karma in this channel over the last year (30 in all channels)
snarfed joined the channel
#
swentel
works too
#
@ioctaptceb
I just discovered how to use webmentions. Just ignore me for the next little bit. I am testing! (http://hag.codes/notes/2018-11-04-discovering-web-mentions.html)
(twitter.com/_/status/1059091022783922176)
[kevinmarks] and [eddie] joined the channel
#
[eddie]
Thinking about Collections. Obviously Collections are different than feeds, but as far as markup is concerned, I’m thinking h-feed is probably the best way to mark it up so that the individual posts in the collection can still be understood correctly.
#
[eddie]
I noticed aaronpk’s test collection is an h-entry (https://aaronparecki.com/2017/01/12/14/webmention) but doesn’t seem very parsable by a reader
#
Loqi
[Aaron Parecki] I'm pretty pleased with the timestamps of both of these posts. One year to the minute! https://aaronparecki.com/2016/01/12/14/webmention https://aaronparecki.com/2017/01/12/13/webmention-rec
#
[eddie]
grantcodes’ collection (aka gallery) is essentially a photo post with a large array of photos https://grant.codes/2017/09/26/59cab14adcb35c561bade757
#
[eddie]
So I don’t seem to have found anyone ACTUALLY marking up a collection either just as a lot of top level h-entries or an h-feed, but it seems right… I wonder if I’m missing a fallacy here?
[grantcodes] joined the channel
#
[eddie]
ohhhh interesting
#
[grantcodes]
I think they actually should be "children"
#
[eddie]
so an h-entry with children h-entries>
#
aaronpk
hm mine is more like a feed itself isn't it
#
aaronpk
yeah I think it should be children
#
[grantcodes]
Not sure if I picked that up from somewhere that isn't microformats2,
#
[eddie]
That makes sense. Now that I’m in a dynamic server, I’m thinking through some of the things that weren’t as easy before and designing my general interface. I’ve got my homepage which is it’s own thing, channels, collections and tags. Tags will be for topical, collections will be more event driven (like all the posts from a trip to New York, or a photo gallery) and Channels are essentially segmented feeds
#
[eddie]
So that makes sense that it would be children of an h-entry. I’ll explore with that a bit. Thanks!
#
[grantcodes]
Yep, that's how I do mine, and with micropub I create a collection by creating a post with children urls, then my backend pulls them into the collection post
#
[grantcodes]
"type": ["h-entry"],
#
[grantcodes]
"properties": {
#
[grantcodes]
"category": ["gallery"],
#
[grantcodes]
"children": ["https://yoursite.com/photopost1", "https://yoursite.com/photopost2"]
#
[grantcodes]
Actually it would be possible to make a really nice UI to create collections if your site supports micropub queries too!
#
[eddie]
ohhhh that’s true!
#
[grantcodes]
But for photo collections photo.postrchild.com should work
#
[eddie]
so photo.posterchild.com creates individual photo posts and then takes those urls and sends them as a collection post?
#
[eddie]
grantcodes++
#
Loqi
grantcodes has 25 karma in this channel over the last year (33 in all channels)
#
[grantcodes]
Yep exactly. Your site needs to support a bunch of not widely spread features though 😛 Media endpoint, collections and unlisted visibility.
#
[eddie]
lol interestingly my site supports all of that except collections 😄
#
deathrow1|absnt
cccccchdgidkiijcidkdifjrjcuurhbhfliruccutthr
#
snarfed
mmm yubikeylicious
sebsel joined the channel
#
@jgmac1106
@sknebel and martijnvdven demoing indieauth for each other sites. This is the first and most important step in private and semi-private post @indiewebcamp #berlin (http://quickthoughts.jgregorymcverry.com/s/263dGc)
(twitter.com/_/status/1059101712722608129)
#
@jgmac1106
@adacito demoing updating webmentions and adding chance to delete webmentions at @IndieWebCamp Berlin https://t.co/1V4EyaOX6S
(twitter.com/_/status/1059105016139653122)
[frank], snarfed and [jgmac1106] joined the channel
#
@jgmac1106
@dshanske doing some debugging in parsethis to help with WordPress microsub readers. @IndieWebCamp Berlin (http://quickthoughts.jgregorymcverry.com/s/1WSJb)
(twitter.com/_/status/1059109350109777921)
[kevinmarks], sebsel, jgmac1106 and [cleverdevil] joined the channel
#
Kongaloosh
has anyone had a 404 when trying to publish with bridgy?
#
Kongaloosh
suddenly my webmentions to the endpoint are returning a 404 from https://brid.gy/publish/webmention
#
Kongaloosh
I've tried re-authing and that's not changed anything
#
sknebel
Kongaloosh: example post?
#
aaronpk
missing a p!
#
aaronpk
"ublish"
#
Kongaloosh
oh my gosh
#
Kongaloosh
facepalms
#
GWG
Kongaloosh: Long time no see.
#
Kongaloosh
Hey GWG \o
#
sknebel
oh right, welcome back Kongaloosh!
#
GWG
Don't be a stranger
#
Kongaloosh
thanks :D I've been off in conference land, but I'm getting back to working on my site. Made a nice little WYSIWYG editor
#
sknebel
that sounds interesting!
#
Kongaloosh
I do MD -> HTML for readability. When I eneded making more albums, it became a hassle to do editing so I would end up never actually posting my photos.
#
sknebel
I have that exact problem too, photos...
#
Kongaloosh
I've discovered the ux bar for posting photos is way higher than text
#
Kongaloosh
sknebel: how do you post them, out of curiosity?
#
sknebel
Kongaloosh: ssh and writing yaml by hand...
#
sknebel
then cursing and fixing all the errors I made, repeating that a few times until it works :D
#
Kongaloosh
sounds about right :O
#
GWG
Kongaloosh: That works
#
Kongaloosh
hmmm, actually bouncing back to the 404 for the moment... I tried to post through the brid.gy gui online and I still got a 404.
#
Kongaloosh
it parses the post and pulls out the images to give a preview in brid.gy
#
Kongaloosh
but then when posting by either copying the curl webmention or pressing 'send' I'm getting 404s still :/
#
Kongaloosh
any ideas?
#
GWG
Why are you doing /publish/webmention?
#
sknebel
because that's brid.gy's webmention endpoint?
#
Kongaloosh
because that's what brid.gy is giving me; it's the endpoint?
#
GWG
I thought it was /publish/twitter flickr, or github?
#
GWG
Hmm..
#
Kongaloosh
that's the target URL
#
sknebel
thats the webmention target
#
GWG
Oh, I'm thinking of the target
#
GWG
Wait
#
GWG
I'm going to pay attention to aaronpk
#
GWG
Splitting focus
#
sknebel
Kongaloosh: currently no idea, but distracted by in-person demos too. will take a closer look tomorrow
#
Loqi
GWG has 40 karma in this channel over the last year (168 in all channels)
#
Kongaloosh
aaronpk++
#
Loqi
aaronpk has 100 karma in this channel over the last year (310 in all channels)
#
Kongaloosh
sknebel++
#
Loqi
sknebel has 26 karma in this channel over the last year (79 in all channels)
#
Kongaloosh
huh, I'm doing something to break it
#
Kongaloosh
I figured it out.
#
Kongaloosh
Some of my images URLs have spaces in them
#
Kongaloosh
in the photo section there are literal spaces which break the URLs
#
Kongaloosh
which returns a 404
jmac joined the channel
#
Kongaloosh
[kevinmarks]: yeeeeep
snarfed joined the channel
#
Kongaloosh
UX/post-formatting question! How do people do citations on posts? The natural thing would be to do hyper-links to papers, but hosting papers on your own site which are not your own can sometimes be a no-no. I was thinking about using Bibtex so that I'm similar to a regular latex document and then go MD -> HTML with anchor tags linking citations to a bibliography at the end of an article.
#
Kongaloosh
Does anyon have strong thoughts on this/
#
jeremycherfas
`I would generally link using the doi http://dx.doi.org/<enter the entire DOI here>he paper; it may be behind a paywall, but anyone who needs to find it will be able to do so.
#
jeremycherfas
OOps; forgot I had a snippet to expand that. You can see how often I use it.
#
GWG
I do h-cite
#
jeremycherfas
That's the mf2 you put on it. I thought the question was about the information you offered, rather than how you marked up that information.
#
[kevinmarks]
I think h-cite having multiple links is reasonable, if you can host a local version as well as the original, great
#
[kevinmarks]
I remember à citation webmention use case
#
[kevinmarks]
Hmm, an extension to the verify-me would be to show chained me's
#
[kevinmarks]
So github.com <-> kevinmarks.com <-> xoxo.zone/@KevinMarks
[jgmac1106] joined the channel
#
[jgmac1106]
@kongaloosh @zegnat and I went far down the citation microformats rabbit hole with bibtex
#
[kevinmarks]
Then if xoxo.zone links to github.com/kevinmarks it could show an indirect verification
#
[jgmac1106]
You can find repost on our site... Left it at gonna hack on the citation maker from a library and add microformats.... The bibtex you get from sites are garbage
#
[jgmac1106]
Working on paper today happy to play around
#
jeremycherfas
Depends on the site. Doesn’t everything?
#
jeremycherfas
So interesting to learn of this sort of thing going on behind the scenes. Has it been embraced?
[sebsel] and TheTemp joined the channel
#
KartikPrabhu
Kongaloosh [jgmac1106] I have some "microformatted" citations on https://kartikprabhu.com/cv#list-publications I am using "p-x-*" to "copy" bibtex type properties
#
KartikPrabhu
but the "-x-" prefix is now not considered to be "nice"
#
[jgmac1106]
[jeremycherfas] I am going to reach out. Wrote a series of how webmentions and syndication links plus h-review could be done for open access formative peer review
#
[jgmac1106]
100% going fork this to add microformats: https://library.unc.edu/citationbuilder/
#
[jgmac1106]
Will need it for course template and syllabus maker.
#
[jgmac1106]
@zegnat and I mapped most APA... Other styles be easy
[Khurt] joined the channel
#
[jgmac1106]
Maybe we just fork this and make a ready to launch journal system as well. https://academicpages.github.io/ gonna have to add a journal for pedagogy of the web to my goals
jgmac1106 and [dave] joined the channel
#
@jackjamieson
↩️ I could also take this moment to evangelize http://indieweb.org/h-feed, since my h-feed is still working at least http://aperture.p3k.io or http://github.com/jackjamieson2/yarns-microsub-server could be used to follow my site that way. And it's copied to my twitter. And most importantly, I'll fix the rss :)
(twitter.com/_/status/1059173306375569408)
snarfed, [stefp] and [jgmac1106] joined the channel
#
[jgmac1106]
wondering if my publications page @kartikPrabhu should be rethought of a collection...Especially if I published each citation as a note...probably go simple and just have a page
#
KartikPrabhu
start with a page then build from there
#
KartikPrabhu
"collections" don't really need more markup
#
KartikPrabhu
mine is a h-feed with h-entries https://kartikprabhu.com/papers
[schmarty] and [calumryan] joined the channel
#
jeremycherfas
Would be interesting to try and get Mendeley or similar interested in mf2. Maybe researchgate or academic
#
@brokencodebot
When images are broken in Webmentions no default
(twitter.com/_/status/1059207527018254336)
[jgmac1106], [kevinmarks] and snarfed joined the channel