#dev 2017-12-23

2017-12-23 UTC
#
Loqi
[remouk] remouk avatar remouk Je suis en tout point d’accord avec ton article.:) Je m...
#
tantek
checks for WordPress
#
tantek
nope jekyll
#
tantek
POSSE << 2017-11-09 Nicolas Hoizey: [https://nicolas-hoizey.com/2017/11/medium-is-only-an-edge-server-of-your-posse-cdn-your-own-blog-is-the-origin.html Medium is only an edge server of your POSSE CDN, your own blog is the origin]
#
Loqi
ok, I added "2017-11-09 Nicolas Hoizey: [https://nicolas-hoizey.com/2017/11/medium-is-only-an-edge-server-of-your-posse-cdn-your-own-blog-is-the-origin.html Medium is only an edge server of your POSSE CDN, your own blog is the origin]" to the "See Also" section of /POSSE
#
loqi.me
edited /POSSE (+224) "tantek added "2017-11-09 Nicolas Hoizey: [https://nicolas-hoizey.com/2017/11/medium-is-only-an-edge-server-of-your-posse-cdn-your-own-blog-is-the-origin.html Medium is only an edge server of your POSSE CDN, your own blog is the origin]" to "See Also""
(view diff)
#
Loqi
[remouk] remouk avatar remouk Je suis en tout point d’accord avec ton article.:) Je m...
#
loqi.me
created /FBM (+31) "prompted by gRegorLove and redirect added by gRegorLove"
(view diff)
#
loqi.me
created /Master_Algorithm (+31) "prompted by tantek and redirect added by tantek"
(view diff)
#
loqi.me
edited /Facebook_Master_Algorithm (+165) "tantek added "2017-12-18 @Hellchick thread: [https://twitter.com/Hellchick/status/942863353403150336 … the story of my friend who died, and I didn't know because algorithms.]" to "See Also""
(view diff)
#
loqi.me
created /Jan_1_commitments (+35) "prompted by tantek and redirect added by tantek"
(view diff)
#
loqi.me
created /newwwyear (+35) "prompted by tantek and redirect added by tantek"
(view diff)
#
@steveivy
any #indieweb folks want to help me test my webmention linkup (using webmention.io for my static jekyll site) try sending a mention for this post... https://www.monkinetic.blog/diso-after-10-years.html
(twitter.com/_/status/943574103738392577)
#
tantek
wait a minute, what is Steve Ivy using that supports showing photo replies?!? https://www.monkinetic.blog/diso-after-10-years.html
#
tantek
(first comment from kevinmarks is a webmention photo reply)
#
tantek
what is a photo reply
#
Loqi
photo reply is a reply with a photo, thus also a photo post that is in-reply-to another post https://indieweb.org/photo_reply
#
KartikPrabhu
tantek: maybe simply using the HTML of the posts e-content?
#
tantek.com
edited /photo_reply (+243) "indieweb examples, add kevinmarks, subhead people"
(view diff)
#
tantek
KartikPrabhu: I have no idea which is why I'm asking
#
tantek
also note we only have TWO actual examples of photo reply posts
#
tantek
so that's a pretty big deal to see that second one (from KevinMarks) and see it displayed properly!
#
tantek.com
edited /photo_reply (+17) "kevinmarks since 2017-12-22"
(view diff)
#
KartikPrabhu
wonders if he inadvertantly supports photo replies if the image is in the e-content
#
aaronpk
He's rendering the JSON from webmention.io afaik
#
Loqi
[Kyle Mahan] That thing where you’re lecturing family members on Facebook with odious and incorrect opinions… about datetime formatting.
#
gRegorLove
and probably sent them at some point
#
Loqi
ok, I added "https://twitter.com/hashtag/newwwyear" to the "See Also" section of /2018-01-01-commitments
#
KartikPrabhu
if anyone has photo posting reply to this for testing https://kartikprabhu.com/notes/support-photo-replies
#
Loqi
[Kartik Prabhu] Kartik Prabhu Do I support photo replies? posted at 20:40 on 22 Dec 2017 (-0500) tagged with: ...
#
tantek
KevinMarks: ^^^
#
gRegorLove
Dat implicit p-name on your post, heh
#
gRegorLove
Looks like you do support it :)
#
Loqi
[gRegor Morrill] gRegor Morrill replied on gregorlove.com with shrug posted at 20:43 on ...
#
KartikPrabhu
should fix that p-name
#
Loqi
[gRegor Morrill] gRegor Morrill replied on gregorlove.com with shrug posted at 20:43 on ...
#
KartikPrabhu
judas priest!
#
Loqi
rofl
#
gregorlove.com
edited /photo_reply (+124) "/* IndieWeb Examples */ +me"
(view diff)
#
KartikPrabhu
i reshuffled my templates and messed something up. Good thing to fix over Christmas weekend
#
KartikPrabhu
also should use timezone of the response and not my own
#
tantek
gRegorLove++ well played
#
Loqi
gregorlove has 37 karma in this channel (198 overall)
#
GWG
Hello all
#
gregorlove.com
edited /photo_reply (+99) "/* gRegor Morrill */ earlier tweet reply example"
(view diff)
#
gRegorLove
Evening, GWG
#
GWG
Anyone doing anything Indieweb this weekend or is everyone preparing for some events?
#
aaronpk
Why didn't my reply work?
#
KartikPrabhu
aaronpk: you sent a photo reply to me?
gRegorLove_ joined the channel
#
KartikPrabhu
aaronpk: looks like it didn't find any content so it is not dispaying it
#
aaronpk
There is no content just a photo
#
KartikPrabhu
interesting!
#
KartikPrabhu
I wonder what messed up. Your response is in my database but it didn't find any content
#
KartikPrabhu
aaronpk: aah! I am not looking explicitly for u-photo, just e-content :P
#
aaronpk
Oh was gRegorLove's photo in the content?
#
KartikPrabhu
should a photo post not have e-content just a u-photo?
#
aaronpk
That is my understanding
#
loqi.me
created /traction (+396) "prompted by aaronpk and dfn added by tantek"
(view diff)
#
aaronpk
Unless there is also text in the post of course
#
KartikPrabhu
the photo is also content though
#
KartikPrabhu
no text content
#
aaronpk
Duplicate photos inside the content and as the photo property is the worst part of trying to parse ppls content
#
KartikPrabhu
hmmm yeah that does look like trouble
#
tantek
the "worst"?
#
gRegorLove_
This is the discussion that comes up every so often, photo vs photo w/ note
#
gRegorLove_
Er, note w/ photo
#
aaronpk
It's really hacky to make it work well. There's a bug in my code right now where my expanded likes have double photos for some people now
tbbrown joined the channel
#
gRegorLove_
There's some archived discussion in one of the brainstorming sections on the wiki
#
aaronpk
And I remember being super frustrated with this when building Monocle v1 too
#
gRegorLove_
I'm not opposed to e-content-less for photos, my setup just isn't quite that flexible yet.
#
KartikPrabhu
so for a photo + text, the photo should be u-photo but only the text should be e-content?
#
gRegorLove_
So I continue with u-photo inside e-content, though usually I have text.
#
KartikPrabhu
gRegorLove_: yeah same here
#
KartikPrabhu
should really switch responses to mf2 storage. WOuld be much easier that way
#
aaronpk
Parsing that gracefully means you have to dig into the html content, find any img Tags with a matching url of a photo, remove the tag, then collapse anything like surrounding <p> tags
#
aaronpk
Yuck yuck
#
aaronpk
I use mf2 so that I don't have to deal with html parsing
#
aaronpk
So yeah pretty much "the worst"
#
tantek
checks his latest post
#
aaronpk
Now I'm not opposed to img tags in content in general, it just means those look more like full blog posts rather than photo posts
#
tantek
aaronpk - does it help if you limit it to images that are before any text content?
#
tantek
because IMO that's a key difference between photo posts are "full blog posts" aka articles
#
gRegorLove
Good question, KartikPrabhu. I'm wondering that too.
#
aaronpk
No I don't want to have to open up an html parser at all
#
gRegorLove
For photo + caption, is only the caption text in e-content?
#
tantek
aaronpk fair
#
tantek
presumably same problem with /video and /audio ?
#
aaronpk
Yep just way less common right now
#
gRegorLove
suggesting p-summary p-name for caption text instead of e-content
#
gRegorLove
Maybe I'll tweak my photo posts this weekend
#
tantek.com
edited /photo (+743) "/* Brainstorming */ How to markup caption"
(view diff)
#
gRegorLove
tantek++
#
Loqi
tantek has 19 karma in this channel (409 overall)
#
tantek
gRegorLove: except that by now there are tons of photo posts out there, so we do really need to start with documenting *how* they are marking up caption
#
tantek
I feel there is too little information to find a reasonable / workable solution to the problem(s) aaronpk is pointing out
#
tantek
thanks
#
tantek
I'm going to go focus on thinking about something else though
#
Loqi
[tantek] so yes, undo post/update/delete etc. with or without JS
#
tantek
and to add to that, offline support so that I'm *never* waiting on any kind of network connection just to *write* a post <-- major flaw of pretty much every "social media" / post authoring "app" / site besides email apps
#
tantek
so that is, write post, publish, undo/update/delete etc. with or without JS, with 100% offline support if local JS is working, else as much offline support as browser will allow (without JS)
#
tantek
you should never lose content because you pressed "return" or "post" and you lost a network connection, yet this happens in nearly every "app"
#
tantek
and that's native "apps", which supposedly *can* work offline, but few bother with it
#
@fhsales
Webmentions are a modern implementation: what Pingbacks might have been had they been created today. http://bit.ly/2BECCDf
(twitter.com/_/status/943533986487336961)
#
gregorlove.com
edited /photo (+718) "/* How to markup caption */ +my example and thoughts"
(view diff)
KartikPrabhu joined the channel
#
tantek
another thought, putting images inside the e-content of a photo post should be just fine, because the caption is just the p-content (which drops all the images)
#
tantek
the "value" rather than the "HTML" of the "content" property
#
tantek
which should be fine for a /note or /photo post
#
aaronpk
As long as the alt text doesn't end up in the p-content
#
aaronpk
that might work
#
tantek
correct, it should not
#
tantek
and *if* you're using the "HTML" of the "content" anyway in some other place (like you're displaying a photo comment, or you're displaying the /note with embedded markup), then you need to be doing your own HTML sanitization anyway
#
aaronpk
Tho formatting and links for notes is also nice
#
tantek
typical HTML sanitizers do (should) have options for filtering out additional elements
#
aaronpk
Interesting point
#
tantek
thus if you're displaying the HTML of a photo post from somewhere else, you should be able to say hey, drop any img tags in the HTML because I already know the ones I care about
#
tantek
just by passing a param to your HTML sanitizer
#
tantek
which is then doing all the "look in the HTML" work
#
tantek
which was the "worst problem" you mentioned
#
aaronpk
I've encapsulated all of that sanitization in XRay, so I could see adding this step too
#
aaronpk
as long as it was well documented ;-)
#
tantek
yes that was my brainstorm ^^^
#
tantek
I'll document it as a brainstorm on the wiki if I get at least *some* validation it isn't completely unworkable
#
tantek
since I haven't coded it myself
#
tantek
some *external validation that is
#
tantek
and if it doesn't get any traction, well then that's ok too, I can try again later when it's a selfdogfood need ;)
#
aaronpk
"Drop any" img tags isn't quite right, but drop img tags that match any photo url
#
aaronpk
I'm also thinking about the reader use case not just photo replies
#
tantek
a photo note with other images?
#
tantek
right I am too
#
aaronpk
I guess I can't really think of a good way to display a photo post that also has additional images so maybe that doesn't matter
#
tantek
hence " (like you're displaying a photo comment, or you're displaying the /note with embedded markup)"
#
tantek
exactly, I'd say drop all the images
#
tantek
in the e-content for a photo post, because your existing HTML sanitizer should make that easy
#
tantek
without having to code extra support for properties etc.
#
aaronpk
So basically the sanitizer logic is if there is a photo property then drop all img tags from the html?
#
KartikPrabhu
that is weird. So if gRegorLove had not used u-photo I should have dropped it from his response?
#
tantek
close
#
tantek
if it is a photo post
#
aaronpk
I can easily add img tags to the blacklist of tags
#
tantek
which you can determine via PTD
#
tantek
which does use u-photo as part of the algorithm
#
aaronpk
KartikPrabhu: yes that would make his post work right cause the consumer would be using the photo property to get the image
#
tantek
KartikPrabhu: I think you said the reverse
#
aaronpk
Oh whoops yeah
#
KartikPrabhu
but why drop all the images?
#
tantek
because you already know the image that matters for the post
#
tantek
image(s)*
#
aaronpk
If he did not include u-photo then it wouldn't drop the images from the content
#
tantek
exactly
#
KartikPrabhu
so all images that are not u-photo are considered "not relevant" to the reply?
#
aaronpk
Have any examples where that wouldn't work?
#
gRegorLove
img alt does get parsed into the content.value
#
KartikPrabhu
I just don't get the logic for dropping other images
#
tantek
less code to write = more reliable
#
tantek
KartikPrabhu: as noted above, existing HTML sanitizers already allow you a list of additional elements to drop
#
tantek
so you can just use that feature instead of being pickier
#
aaronpk
KartikPrabhu: I am struggling to think of an example where someone would both set the u-photo and then also include additional images
#
tantek
never seen any
#
tantek
KartikPrabhu: the logic is, ignore theoretical examples that no one has seen ever
#
aaronpk
Either set u-photo on all the images because it's a multi-photo post, or set it on none because it's a blog post with inline images
#
tantek
same logic likely works with audio and video too
#
tantek
(also not sure why I didn't think of this "simple" solution the dozen other times we had this discussion)
#
aaronpk
I know right?
#
tantek
maybe it's one of those examples of having to "step away from the problem" for a while
#
aaronpk
Thats also how I feel about manton's great simple Micropub update syntax
#
tantek
ooh I think I saw something about that but what are the details? URL?
#
tantek
wow this is like a 1.1 feature then
#
tantek
so wait, simple updates without JSON? (form encoded params only?) nice
#
aaronpk
Yep! Limited functionality but that's okay!
#
tantek
is that the only "new" action= param value?
#
aaronpk
It's only new for form encoded yeah
#
tantek
and shouldn't that be "content=" to match the Minimal Example? https://indieweb.org/Micropub#Minimal_Example
#
tantek
rather than name= ?
#
tantek
so wait, both the "action" param is new and it can only take "update"? is that right?
#
aaronpk
action was already used for deletes
[miklb] joined the channel
#
[miklb]
what about u-featured?
#
tantek
action=delete that is
#
aaronpk
I think that page shrunk, there are examples in the spec
#
aaronpk
[miklb]: u-featured does not contribute to the photo post type discovery so doesn't affect this conversation
renem joined the channel
#
[miklb]
ah, OK
#
tantek
aaronpk: heh https://indieweb.org/Micropub does not link to the spec anywhere near the top
#
tantek
I mean presumably https://micropub.net/ :)
#
aaronpk
Whoops, removed too much apparently
#
Loqi
[Aaron Parecki] Micropub
#
tantek
aaronpk with the addition of action=update I believe micropub will now support simple CRUD operations 100% via form submissions, no JS/JSON needed
#
aaronpk
Hm weird there's more on /Micropub than I remember
#
aaronpk
I thought we had tried to trim that down to remove more of the tech details
#
aaronpk
maybe that was /Webmention
#
tantek
probably got part way through it
#
aaronpk
Yep I like that it would be possible to be consistent, form-encoded for all requests, and JSON in the responses, this comment from Manton was a good reminder
#
Loqi
[[manton]] As for the question about preferring JSON... I don't know. I really like the simplicity of posting without JSON. But you're right that it's not consistent if you're using JSON some places (for responses) and not others. Kind of wish there was only on...
krup joined the channel
#
tantek
yeah I kinda blame the SWWG charter
krup joined the channel
#
KartikPrabhu
I like the simple form-encoded update
#
tantek
definitely worth drafting a 1.1
j12t joined the channel
#
www.funwhilelost.com
edited /Strava (+266) "/* POSSE */"
(view diff)
[tantek], gRegorLove, tantek and [kevinmarks] joined the channel
#
Zegnat
Re photo posts with other images in their content: what about emoji images? I seem to recall people using plugins in e.g. WordPress to have emoji images. Those would not be .u-photo but dropping a winky-face from text could severely affect tone of the message.
#
Zegnat
Not sure if people are still using images or have all switched to unicode.
KevinMarks, kline and John___ joined the channel
#
aaronpk
Hah like old bbforums?
#
sknebel
that, or just compatibility-layer for emoji
#
sknebel
or "I want to control the style"-emoji
#
aaronpk
While technically those are images, they have a very different role than photos
#
aaronpk
for example they should have a text fallback for screen readers, something like slack's emoji text description or even :-) would be okay
#
aaronpk
It's also important that those are rendered inline in the text, and not spaced out like you'd see a photo in a paragraph of text
#
sknebel
but if you delete images (instead of using the alt-text, like e.g. mf2 p-properties would do), you destroy that fallback
#
aaronpk
What I'm getting at is it seems there should be some sort of explicit handling of those icons regardless of mf2
#
sknebel
unless I misinterpreted your discussion when reading it earlier
#
aaronpk
Like if you want to render a post with those in IRC as plaintext, it'd be more appropriate to use the alt text than include a link to the image. Whereas if it's actually a photo, it'd be better to show the link
#
sknebel
yeah. not sure what the recommendations for markup on those are, if they are followed and if they work as decision tools
#
Zegnat
I interpreted the earlier discussion like sknebel did. It seemed to suggest to use HTML purifiers to remove all IMG tags on photo posts. That would remove emoji images, was what I was saying.
#
Zegnat
And if you want to special case those, you are back to needing to look at the HTML yourself
#
aaronpk
turning HTML into plaintext already loses those emoji images so i'm not sure that is particularly unique to this use case
tantek joined the channel
#
Zegnat
It doesn’t lose them if you keep their alt attributes, aaronpk. But the discussion seemed to say those should be dropped to in the case of photo posts.
#
Loqi
[aaronpk] Like if you want to render a post with those in IRC as plaintext, it'd be more appropriate to use the alt text than include a link to the image. Whereas if it's actually a photo, it'd be better to show the link
#
aaronpk
in other words, using the alt text of an img is not always the right choice, since in some cases (like in IRC) it makes more sense to use the img URL
#
Zegnat
Oh, yes, I agree :)
KevinMarks joined the channel
#
GWG
What is a good example of a scenario where a h-entry would have a summary but no content?
#
Loqi
It looks like we don't have a page for "good example of a scenario where a h-entry would have a summary but no content" yet. Would you like to create it? (Or just say "good example of a scenario where a h-entry would have a summary but no content is ____", a sentence describing the term)
#
sknebel
what is summary?
#
Loqi
A summary is short text that conveys a post's main point(s), a small representative section, a post excerpt, or a plain text equivalent for kinds of posts like likes and RSVPs that use other properties to convey their meaning https://indieweb.org/summary
#
sknebel
that says likes might be, not sure if people actually publish them like that now?
j12t and davidmead joined the channel
#
sknebel
yes, they do. even our markup examples on /like are like that
#
GWG
That is what I thought.
#
GWG
https://www.w3.org/TR/micropub/#unrecognized-properties - I was looking at this example in the Micropub spec
snarfed joined the channel
#
davidmead
gwg - getting a slew of errors from /nfs/c03/h05/mnt/56448/domains/davidjohnmead.com/html/blog/wp-content/plugins/indieweb/includes/class-hcard-user.php preventing me logging in to my site. any ideas? Seems to be about simple-icons.php
#
GWG
davidmead: That was fixed, I thought.
#
GWG
I initially uploaded a version that didn't include that file, and pfefferle pushed the extra file.
#
GWG
Moving to -wordpress
barpthewire joined the channel
#
davidmead
must’ve happend between me updating and loggin out. now i can’t log in to get the latest
#
GWG
It was only messed up for a few hours 8 days ago
[eddie] joined the channel
#
[eddie]
I know granary.io can provide me a mf2 timeline stream from twitter. Was there a different service that allows me to translate a user’s feed of posts to mf2?
#
aaronpk
granary.io does a bunch of different conversions
#
[eddie]
Ahh okay. Hmm I tried replacing the @me with the user’s username but that didn’t seem to work.
#
aaronpk
go back to the home page and click the twitter button, then it gives you a form to choose various things
#
GWG
aaronpk: Why does OYS not have a summary field for servers that don't know what a checkin is?
#
aaronpk
I did the form-encoded vs JSON for fallback instead
#
aaronpk
if your server doesn't know what a checkin is, then you can use the form-encoded option to post it as a regular text note
#
Zegnat
GWG: “What is a good example of a scenario where a h-entry would have a summary but no content?” - inside a feed perhaps? E.g. a “read more” feed structure. The actual post content will be on the permalink page.
cweiske joined the channel
#
[eddie]
Am I missing available fields in granary? I only get a drop down for “group” (all, self, friends) and the format (html, etc)? The / me / is in essence what I need to be able to change to a twitter username. But the interface doesn’t let me and when I try to manipulate the url scheme it doesn’t show anything different
#
[eddie]
I’m not sure if it’s me or if the granary site is locked down to only showing the logged in user’s feed
snarfed joined the channel
#
aaronpk
try the twitter user's ID instead of their username https://github.com/snarfed/granary#using
#
Loqi
[snarfed] granary: The social web translator.
#
aaronpk
"USER_ID is a source-specific id or @me for the authenticated user"
#
snarfed
:/ i should make username work too. feel free to file an issue
John___ left the channel
#
[eddie]
Ohhh twitter as separate user ids?
#
snarfed
yup. not really user visible, just in the API
#
[eddie]
Gotcha 👍 Thanks aaronpk and snarfed. I’ll try that out
#
[eddie]
Also issue filed
davidmead and [kevinmarks] joined the channel
#
[kevinmarks]
@gwg my homepage on kevinmarks.com has a fair few summary without content posts, as they're links to the dull text.
davidmead joined the channel
#
[kevinmarks]
*full* text (dullness is in the eye of the beholder)
davidmead joined the channel
[stefp], davidmead and KevinMarks joined the channel
#
GWG
So, aaronpk is using p3k-food and p3k-type and cleverdevil is using h-food.
#
GWG
Makes things confusing there
#
jjuran
I’m sure there’s a devil’s food joke in there somewhere.
#
aaronpk
food is very much still experimental, don't worry too much about it
#
GWG
aaronpk: All my food is experimental
KevinMarks joined the channel
#
gregorlove.com
edited /OkCupid (+1030) "/* Criticism */ === Requiring first name ==="
(view diff)
KevinMarks joined the channel
#
Zegnat
tries to run XRay. Instantly runs into fatal error. Of course.
#
aaronpk
oh noes
#
Zegnat
PR filed already.
KevinMarks joined the channel
#
GWG
Are all homepage mentions tags and when aren't they?
#
KartikPrabhu
what are person tags?
#
Loqi
A person tag (AKA people tag) is a person mention that is also a tag on a post that refers to a specific person by URL rather than just a word or phrase, and is done as an explicit tagging action by the user, beyond just mentioning a person via hyperlink / h-card / or @-name, autocompleted or not https://indieweb.org/person_tags
#
KartikPrabhu
what is person-tag?
#
Loqi
A person tag (AKA people tag) is a person mention that is also a tag on a post that refers to a specific person by URL rather than just a word or phrase, and is done as an explicit tagging action by the user, beyond just mentioning a person via hyperlink / h-card / or @-name, autocompleted or not https://indieweb.org/person-tag
#
sknebel
tags are u-category
#
gRegorLove
It could just be a mention, like "<a href="https://david.shanske.com/" class="h-card">David</a> wrote about . . ."
#
GWG
I am trying to figure out if there is a scenario where mentioning my domain is not a person tag? Not everyone will remember the h-card, especially non mf2 friendly types
#
aaronpk
yes it could just be a mention
#
aaronpk
a person-tag is a special case of a mention
#
KartikPrabhu
yes, a simple link is not a person tag
#
KartikPrabhu
even with no h-card
#
KartikPrabhu
in fact default is a mention
#
GWG
Trying to figure out how to mark up webmentions, mostly from aaronpk and chrisaldrich
#
gRegorLove
GWG: The h-card in my example doesn't matter.
#
gRegorLove
Sorry, should have written a better minimal example.
#
gRegorLove
If a wm source has in-reply-to my URL, then I show "replied to..." with the comment text. Otherwise it just defaults to "mentioned this" with no text from the source.
#
gRegorLove
If I showed my homepage webmentions anywhere, I'd probably change the latter to "mentioned you", but that's just hypothetical
#
GWG
Problem
#
GWG
That's the probk I am trying to solve
#
sknebel
category: tagged you. everything else: mentioned you. (maybe in-reply-to: "sent you a message", that's how we used it for private webmentions, but I haven't seen it elsewhere)
barpthewire and [miklb] joined the channel
#
GWG
Maybe I need to identify these more granularly to figure out my uses
#
GWG
1. Stranger mentioned my twitter username in a post and it was backfed by Bridgy. Coincidentally mixing me up with my cousin.
#
GWG
2. chrisaldrich tried to poke me.
#
GWG
4. aaronpk tagged me expressly in multiple posts in Austin when we were together.
#
GWG
3. chrisaldrich referenced me in reference to my WordPress plugins
#
GWG
I'm reasonably certain I need to definitely work on handling #4. I'm trying to figure out #3(which happens a lot), and #1(backfeed)
#
Zegnat
1 and 3 sound like the same use-case. A post contains your name, but just because they are mentioning you by name/username/URL. Those are the default usecase of a mention.
#
Zegnat
2 and 4 are explicit. Though I haven’t seen any “pokes” yet, I can see those working as messages so your domain will be in-reply-to. 4 would be an example of a person tag, so defined by there being a u-category on the link.
#
Zegnat
what is poke?
#
Loqi
Poke (or alternately tap, nudge, yo, hi, hello, ping, wink, flirt, pat, wave, etc.) is a relatively common social feature that ostensibly serves as a method to say hello, attract some one's attention, annoy them, or say "I'm thinking about you" https://indieweb.org/poke
#
Zegnat
Ah, yeah, so pokes are in-reply-to :)
#
sknebel
or u-poke-of
#
GWG
Zegnat: Yes, but 1 and 3, I don't want to use the standard... 'Chris Aldrich mentioned this post in ___' Should it be mentioned 'me' or mentioned the site?
#
sknebel
guess that depends on the site
#
Zegnat
Oh, that’s an interesting question.
#
sknebel
on a personal homepage, it's "me"
#
Zegnat
I think I am with sknebel... if you identify yourself with example.com, then online for all intents and purposes example.com isn’t a site but is your identity (aka you)
#
sknebel
but it could also mean "the blog on that page", or the site having the WP plugin installed could not be a personal page, but a blog
#
sknebel
Zegnat: If I say "https://licit.li is an awesome blog that really needs more posting activity", am I mentioning you?
#
Zegnat
what is homepage mention?
#
Loqi
person mention is a homepage webmention sent to a person's homepage https://indieweb.org/homepage_mention
#
GWG
I can account for that
#
Zegnat
That’s not mentioning me sknebel. That domain is never used to represent me. It is literally only a blog feed.
#
sknebel
right. but for GWGs work that's relevant
#
Zegnat
You are right, will be hard for a plugin to know.
#
GWG
But WordPress has user accounts.
#
GWG
And user accounts have a 'user website url' in it
#
Zegnat
https://indieweb.org/notifications#Design_Options - might have some ideas for names too
#
Zegnat
This might also be interesting GWG, different types of homepage mentions: https://indieweb.org/homepage_mention#How_to_distinguish_person_mentions
#
Zegnat
You could add brainstorm to that page :)
#
aaronpk
I don't see a representative h-card on https://licit.li so that's how the software can know it's not mentioning a person
#
GWG
aaronpk: Bingo.
#
GWG
So, a link to a URL with a representative h-card is a person mention?
#
GWG
I'm back to, is there an exception?
#
aaronpk
mention is the default, person-tag is the special one if that link has a u-category
#
KartikPrabhu
also, there is no need to write code for all possible edge cases and exceptions in the first try
#
GWG
KartikPrabhu: Agreed on that point
#
GWG
I'm just brainstorming now.
#
Zegnat
So: a mention of a URL, that isn’t also marked up as a special-case mf2 property, if the URL features a representative h-card, is mentioning a person?
#
Zegnat
That seems to be the summary.
#
aaronpk
well it's mentioning whatever the h-card represents, which may not be a person but could also be a venue
#
Zegnat
Yes, but GWG is interested in the person (“mentioned you”) vs just a site (“mentioned the site”) if I got that right?
#
Zegnat
“mentioned you” could still work even if it is a venue, as you are likely to be the venue owner if you are getting the notifications?
#
GWG
I'm interested in the narrow and broad use case
#
Zegnat
And if it is marked up with in-reply-to it is a “message” aimed at the person, if it is marked up with u-category the person is explicitly “tagging” the person, and then there is u-invitee when the person is being invited to an event (according to /homepage_mentions). And that covers most.
snarfed joined the channel
#
GWG
I'll chew on that before the PR
#
GWG
I do have one thing to do
#
GWG
aaronpk++ for tagging me enough to make me want to deal with it
#
Loqi
aaronpk has 96 karma in this channel (1511 overall)
KevinMarks joined the channel
#
Zegnat
And another XRay caused PR ...
#
Zegnat
Off to bed now, have a good one~
KevinMarks and gRegorLove joined the channel