#dev 2017-12-15

2017-12-15 UTC
snarfed, ben_thatmustbeme, KartikPrabhu, KevinMarks, [miklb], leg, genet, renem and tantek joined the channel
#
Zegnat
gRegorLove, GWG, right under the Mf2\Parser::parse() method there is Mf2\Parser::parseFromId() that parses only element with a specified ID and and their children: https://github.com/indieweb/php-mf2/blob/master/Mf2/Parser.php#L1292-L1314 😅
tantek and tantek_ joined the channel
#
gRegorLove
Zegnat: Well hey, look at that. :)
cweiske, rMdes, KartikPrabhu, [pfefferle], genet, eli_oat, [kevinmarks], snarfed, ben_thatmustbeme, [keithjgrant], [eddie], tantek, [miklb], gRegorLove and raretrack joined the channel
#
gregorlove.com
edited /Untappd (+178) "/* PESOS */ Khurt's example"
(view diff)
tantek, tantek_ and snarfed joined the channel
#
GWG
snarfed: Did I finally cover everything?
#
snarfed
GWG: not sure! haven't looked yet, sorry
#
GWG
snarfed: No rush. Just curious.
snarfed joined the channel
#
GWG
snarfed: Considering my response will be to write another PR...
#
GWG
snarfed: Maybe you should let me spread them out
#
snarfed
GWG: stop worrying and send PRs :P i'm happy to throttle on my end
#
GWG
snarfed: Okay.
#
GWG
snarfed: I'm a worrier
#
GWG
aaronpk: How would you implement Indieauth on a domain where there might be multiple users, for example, WordPress?
snarfed joined the channel
#
aaronpk
Return the profile url of the specific user who logged in
#
GWG
pfefferle transferred the Indieauth plugin to community control, and I know I always wanted to try and get it working as something more than it is.
#
aaronpk
I think there are some notes on the wiki m
#
GWG
Which means users all have to fill that out.
#
GWG
Right now, that is basically what is done
#
sknebel
GWG: you can return a different url than the one entered by the user
#
GWG
sknebel: I suppose.
#
GWG
Does Indieauth accept URLs that are not domains? For example, example.com/author/gwg ?
#
GWG
I've never tried with the current implementations to see how that works
#
GWG
I think I need to read more closely
#
sknebel
yes, it does
tantek joined the channel
#
Zegnat
It definitely does, GWG, I am vanderven.se/martijn/ ;)
#
GWG
Good.
#
GWG
Exactly what I needed to know
#
Zegnat
GWG, in the response you can set any profile URL as long as it is on the same domain. So even if a user (accidentally) entered the root domain of their WP install, you can correct it. See https://indieauth.net/spec/#authorization-code-verification-p-2
snarfed joined the channel
#
GWG
Okay, just had an idea
gRegorLove, raretrack_ and raretrack joined the channel
#
snarfed
tantek: ok you nerd sniped me. for your first example, 941771775788175360, which kept some but not all...
#
snarfed
twitter's api with ?tweet_mode=extended (ie new/current mode) returns:
#
snarfed
"full_text": "@wilto @etportis @beep @firefox @mozilla @adactio @jensimmons @keithjgrant @paulhhowells @rachelandrew @FullStack_Jimmy @brkemper @ZeeCoder @innovati @elrond25 +listening. Appreciate blogs & frankness re: momentum\nRetry in #WICG? →GH: https://t.co/EQGWgwJjWw (ttk.me t4rv2)"
#
snarfed
(ie your exact post text)
#
snarfed
with "display_text_range" : [41, 277]
#
snarfed
which is what skips everything before @adactio
#
snarfed
looks like they dropped @-mentions from the beginning, one by one, until your text was under 280 chars
#
snarfed
nm, wrong, disregard that
#
snarfed
for your second example, 941715520021323776...
#
snarfed
"full_text" : "@innovati @jensimmons @FullStack_Jimmy @ZeeCoder @keithjgrant @firefox @mozilla @paulhhowells @rachelandrew @brkemper appreciate links, updated proposal!\n\nRICG waiting on requirements proposal from March? https://t.co/iWhEtKW6fX cc @wilto @beep ... https://t.co/JGGSkaQxtT"
#
snarfed
"display_text_range" : [118, 272]
#
snarfed
so, ¯\_(ツ)_/¯ . semi black box heuristic(s).
tantek joined the channel
#
Zegnat
Are the text ranges in bytes, unicode characters, or weighted characters, snarfed? ;)
#
@ChrisAldrich
I have stumbled upon the killer #WordPress plugin/app! It enables simpler interwebsite conversations (commonly known as @mentions). Here's my write up of "Threaded Replies and Comments with Webmentions in @WordPress". #IndieWeb http://boffosocko.com/2017/12/15/threaded-replies-with-webmentions-in-wordpress/
(twitter.com/_/status/941787443879075840)
#
Zegnat
I hope I made you hesitate for a second.
#
@lady_zunod9
#tech Threaded Replies and Comments with Webmentions in WordPress http://ift.tt/2kxnyMY
(twitter.com/_/status/941793431428485120)
#
@ManchesterDrb
#socialmedia Threaded Replies and Comments with Webmentions in WordPress http://ift.tt/2kxnyMY
(twitter.com/_/status/941793597539667969)
#
@gallledroronpo
New: Threaded Replies and Comments with Webmentions in WordPress http://ift.tt/2kxnyMY
(twitter.com/_/status/941794319320707081)
#
@m1ss_dany_ret92
#social Threaded Replies and Comments with Webmentions in WordPress http://ift.tt/2kxnyMY
(twitter.com/_/status/941794337104506880)
#
@gaitoulabackder
Threaded Replies and Comments with Webmentions in WordPress http://ift.tt/2kxnyMY
(twitter.com/_/status/941794618789810177)
#
@nihongaonaga
New: Threaded Replies and Comments with Webmentions in WordPress http://ift.tt/2kxnyMY
(twitter.com/_/status/941794788369715206)
John____, [miklb], j12t, snarfed and genet joined the channel
#
www.funwhilelost.com
edited /gatsby (+1311) "Adding details on Gatsby and related IndieWeb thoughts"
(view diff)
#
gregorlove.com
edited /gatsby (+46) "link dfn, wiki links"
(view diff)
[miklb] joined the channel