#social 2015-07-15

2015-07-15 UTC
bblfish, bblfish_, jasnell, melvster, tilgovi, jasnell_, shepazu, jaywink, melvster1 and csarven joined the channel
#
csarven
re: KevinMarks 's comment here http://socialwg.indiewebcamp.com/irc/social/2015-07-14#t1436896293079 . I don't see any reference to mf(2) requirement in the Webmentions spec ( http://webmention.org/ ?), hence, even for the sake of the argument SoLiD employed Webmentions, it doesn't imply that it needs to use mf2. That's my understanding of the Webmentions spec - please correct me if I'm wrong.
#
ben_thatmustbeme
You are quite correct csarven
#
csarven
Webmention + HTTP headers is probably the only common ground which can be made without looking at the response body. As it stands, Webmention URLs can contain any serialization e.g., JSON-LD, Turtle, HTML+RDFa / mf2
#
melvster1
csarven++
#
Loqi
csarven has 10 karma
bblfish and tilgovi joined the channel
#
csarven
Proposal to simplify Webmention: The Webmention endpoint receives a POST with the source URL, where its response contains the target URL. If the endpoint wishes to do anything further with the contents of the source URL, it can do so as it likes.
#
ben_thatmustbeme
being discussed on #indiewebcamp on freenode
#
csarven
Thanks ben_thatmustbeme
#
csarven
Will try to summarize here at a later time.
#
melvster1
ben_thatmustbeme: I'd love to see webmention support JSON
#
ben_thatmustbeme
adding JSON just adds extra parsing, its pointless
#
ben_thatmustbeme
plus why would you want to
#
ben_thatmustbeme
and when i say extra parsing i mean in ALL cases. You cannot trust JSON passed directly to you from an external source. You have to parse it even in JSON
#
ben_thatmustbeme
POST requests are handled by the server/programming language already
#
melvster1
it depends on the json
#
ben_thatmustbeme
no, we established that fact at F2F2. Tim agreed, if you receive JSON from an external source, its an extra parsing step, JSON is not native to any language except javascript and even in node you should be parsing it and not passing it directly (for safety)
#
melvster1
i dont remember that :)
#
melvster1
SSL is secure
#
melvster1
... for example
#
ben_thatmustbeme
doesn't matter, SSL just prevents injection, you have to trust the source
#
ben_thatmustbeme
and then you are only covering a set of cases
#
ben_thatmustbeme
plus you are putting a pretty big trust on other people not being compromised
#
ben_thatmustbeme
also, webmentions can be over SSL
#
melvster1
ben_thatmustbeme: doesnt webfinger *always* put pretty big trust on the other person not being compromised?
#
melvster1
s/webfinger/webmention
#
melvster1
webfinger--
#
Loqi
webfinger has -8 karma
#
ben_thatmustbeme
no, it only checks that there is a site there, how much you trust the data returned from that site is at a different level
#
ben_thatmustbeme
but in indieweb, you use only text (few use the actual html for that very reason)
bblfish joined the channel
#
ben_thatmustbeme
so if someone else's site is compromized, the most they get is some text on my site, there is no injection possible
bblfish, bblfish_ and almereyda joined the channel
#
csarven
ben_thatmustbeme et al.. I'm not sure how much more to summarize the discussion in #indiewebcamp , but it boils down to the idea that if an endpoint is made aware of some source URL, it can decide to go and get its response, look inside, and do whatever it wants with it. It is merely about finding/verifying "x has a relation to y". The kind of relation to use (i.e., property/ies and in whatever data model or serialization) is completely open - this is inli
#
csarven
ne with the current Webmention.
#
ben_thatmustbeme
Source url And the target it refers to, yes
#
melvster1
it's a pity you cant use the From: header in HTTP
#
melvster1
ben_thatmustbeme: is source generally a User?
#
melvster1
in indieweb
#
ben_thatmustbeme
headers are generally more of a pain to parse in consuming code (at least in my opinion)
#
ben_thatmustbeme
what he does with it after that point is up to him, but i informed him that there is a reference of some sort to his post found at that url
#
ben_thatmustbeme
i could be on a blocked domain, or an auto accepted one, i don't really know or care
#
ben_thatmustbeme
i did my due dilligence
#
ben_thatmustbeme
generally if i update this post (which could be a reply was received to it) i can always send another webmention with the same source and target, so he knows there has been an update and to check back
#
melvster1
ben_thatmustbeme: thanks for the explanation ... quite a complicated workflow imho, but great that you have it working and implemented
#
melvster1
so the user header would not be a good match here
#
melvster1
headers are normally not too difficult to parse, even for beginners
#
ben_thatmustbeme
what would putting it in the headers get you?
#
ben_thatmustbeme
quite complicated, all i do as a publisher is fire off a POST, it doesn't get much simpler.. for the receiver i just check the URL i'm told to and process that
#
ben_thatmustbeme
s/complicated,/complicated?/
#
melvster1
ben_thatmustbeme: we send a user header when we want to indentify to a server which user is making the request, or the server sends back a User header when it's authenticated a user ... it's very useful for client side apps ... consider it like caller display on your phone, or writing your name on the back of a postal envelope
#
csarven
Question on firing off a POST. Is that something you or others do manually i.e., go to the endpoint and enter the input, or does your system know what to do with the relations you make in your items/activity/post/note..
#
ben_thatmustbeme
my system does it automatically for every URL mentioned in a post immediately after i create it
#
ben_thatmustbeme
if they don't have a WM endpoint, then oh well, they don't get a webmention
#
csarven
So, is that based off the terms it recognizes under iwc/interactions ?
#
csarven
Do you have a local list of terms to watch out for?
guangyuan joined the channel
#
ben_thatmustbeme
that looks like it covers them all, and since it defaults to a generic "mention" anything new falls back to that. I actually just use a library that i give it the parse MF2 and the URL its supposed to refer to and it returns the type for me
#
melvster1
ben_thatmustbeme: it's useful for the direct messaging user story, so you know who is sending stuff to who ... direct messaging is quite easy you just have a sender a recipient and a message ... I think webmention is overkill for that ...
#
aaronpk
"know who is sending stuff to who" but you can't trust any of the input of an unsolicited post request even if it has headers ...
#
raucao
yes, the header would need to contain some auth, like e.g. a browserid assertion or sth
#
raucao
maybe webid has sth similar?
jasnell and hhalpin joined the channel
#
hhalpin
Anyone want to go forward with the Social IG meeting today or should we just cancel?
#
hhalpin
Ann sent regrets and there does not appear to be an agenda
#
hhalpin
Thus, my inclination is to cancel
#
hhalpin
If folks want to chat about things informally, we can still use the WebEx
#
hhalpin
Any opinions?
#
ben_thatmustbeme
i was on last weeks call and there were only 3 people
#
hhalpin
OK, given no opinions let's do it informally.
#
hhalpin
Precisely ben. Maybe we should cancel the IG if there's no purpose or energy.
#
hhalpin
In the mean time, let's cancel today's meeting.
tantek, the_frey, tilgovi, jasnell, csarven, jaywink, Arnaud and KevinMarks joined the channel
KevinMarks and the_frey joined the channel