#tantek.comedited /User:Tantek.com (+139) "/* indieweb community */ archive remaining 2014/UK/Scheduling etherpad links to wiki pages and update ehterpad links to link to wiki pages instead" (view diff)
#[miklb]hmm, so the 400 bad request error I was getting in Quill posting to WP micropub is gone, but the “endpoint did not return a Location Header” is still there and no photo posts, but the text does.
#voxpelliThe commenter there is satisfied, but I believe satisfied through misinterpretation of the spec :/
#voxpelliWhat's the status of the WebSub spec now btw? Noticed a lot of action on it in the last days – preparation for moving to next spec status?
#aaronpkyeah we're going to make the PR request soon
#aaronpkso right now, the only way to support websub for non xml/html formats is via the HTTP header. maybe this issue would be better described as wanting to allow non-http-header discovery of hubs for alternative content types
#aaronpki think the problem a lot of these discussions face is people jump into a proposed solution without first stating the actual problem
#aaronpkso "relax limits on hub discovery" is one potential solution to this problem, but as discussed, causes new problems
#voxpelliYeah, there was probably two issues mixed up: The need for standard discovery mechanisms and the nature of those standard discovery mechanisms
#voxpelliAlso lack of dogfooding when it comes to the format neutral discovery mechanisms it seems as the use case of it doesn't seem clear
#voxpelliI'm myself building such a one now at least
#aaronpk[miklb]: indieauth.com login via github is back
snarfed and [manton] joined the channel
#[manton]On that WebSub issue, I'm not sure it's possible to have a standard discovery mechanism in JSON, because most JSON formats are completely different. Treating JSON as if it's XML would remove one of the reasons people like it: that it's simple and not overly abstracted to do everything.
#Loqi[manton]: [miklb] left you a message on 2017-07-07 at 3:44am UTC: I tried disabling/blocking xmlrpc in WP but no dice on bypassing it and using micropub.
snarfed joined the channel
#aaronpkyeah that's a good point. any JSON-based discovery mechanisms are going to be dictating at least some of the structure of the JSON file
#aaronpklike at the very least requiring the top level item is an object and has a property with a specific name
#[manton]I also completely agree that HTTP headers are the best, most general way to discover endpoints. I just don't think they can be used exclusively because not everyone can control their own HTTP headers.
#[manton]I was a little surprised that even WordPress.com, which should be able to use HTTP headers, advertises WebSub links in HTML <link> tags instead.
#[manton]And my takeaway from that was that if WordPress doesn't use HTTP headers, what hope is there of your random Jekyll static-based site. ? Not that we should give up... But just that it's not practical to require HTTP headers.
#jonnybarnesif http headers and html link tags disagree what should happen?
#jonnybarnesI seem to recall that for content-type, browsers use the http header over any in-HTML declaration of content-type
#sknebeljonnybarnes: the spec defines the order: headers first, then if XML/HTML check for <link>, then host-meta
#voxpelli[manton]: totally agree with the Jekyll use case, though just like Atom defines a way to extract generic feed links, so could JSON Feed and then the only thing one would need to do would be to extract the links
#voxpelli(And if some other spec also bases its discovery on link relations, which is fairly common, then it could easily/automatically support JSON Feed)
#voxpelliThough for that to work WebSub needs to change
#voxpelliAnd there are arguments against it (somehow 5-10 years ago the solution landed in host-meta for a while even)
#[manton]During the early discussions of JSON Feed, the idea of a more generic "links" array that mapped essentially to HTML/XML link tags was raised. The thought at the time was that it would be flexible but not as clear as direct support. So that's why the spec has feed_url, hubs, next_url, etc. instead.
#sketchessQuestion: I would like to get a clarification. What difference lies between a meta tag regarding the author and the microformat regarding the author, for example? I try to accomplish a decent understanding of usage and processes of meta tags and microformats.
#aaronpkthe microformats JSON already has a mapping of html link rels so that's another option
#voxpelli[manton]: if one supports generic link relations then JSON Feed and another spec can have support for another without anyone having to support the other one specifically - neither WebSub or it would have to explicitly support the other
#voxpelliOne can define a mechanism that works with Atom, RSS, HTML, JSON Feed, ABC Feed, XYZ Feed etc
#[manton]@voxpelli I'm not sure that's actually different than what we have today. The argument I heard in that GitHub issue was that since WebSub doesn't describe what to do about JSON, new formats can't be technically compatible with WebSub. And that would be true whether there's a field called hubs or links or something else.
#aaronpki'm looking at the diff between pubsubhubbub 0.4 and websub, and that discovery section is where we tightened things up a bunch.
#voxpelliThe static site argument is a good one and ensuring new static files can be supported through an as standardized as possible mechanism would be good
#aaronpkpubsubhubbub 0.4 said that the publisher MUST include an HTTP header. it also said that if a subscriber doesn't find an HTTP header, it should look for the rels using other mechanisms that are not defined.
#aaronpkso we were trying to reconcile that because it doesn't actually lead to interoperability as it was written
#voxpelliaaronpk: you know if ActivitStream support WebSub through anything but headers? they have same JSON case
#aaronpkafaik they haven't specified anything because most of the transport work is done using ActivityPub
#voxpelliUgh, they invented their own PubSub mechanism?
#voxpelliOn the case for link relations – we even use such extensively in our internal document format at work: https://github.com/Sydsvenskan/doc_format So even proprietary formats can make use of such decouples standards
#Loqi[Sydsvenskan] doc_format: A description of our document format
#voxpelli[manton]: perhaps a new issue could be opened which could discuss how to beat solve the specific case of WebSub in static non-HTML/XML files?
#voxpelliBy dogfooding such a solution through JSON Feed a good case can perhaps be made
#aaronpkso what I'd like to see is a new issue on websub about the fact that the websub discovery step is missing the ability for non-HTML documents to include a discovery mechanism inside the document, whereas that was previously possible in pubsubhubbub 0.4
#aaronpkbecause it does seem like we inadvertently "broke" that aspect of pubsubhubbub 0.4
#voxpelliWell, it wasn't really broken, because PuSH 0.4 never really allowed for anything but Link headers, it just pointed out what to do with non-compliant legacy feeds, no?
#[manton]That's what I was trying to get at with my original GitHub issue, to "relax" it to allow other implementations that aren't defined in the spec. But maybe it needs to be re-worded. (I'll also review 0.4, since I'm curious about the change now.)
#voxpelliYeah, the wording of the current issue became such that it suggested that the relaxing should happen by not imposing any kind of standard discovery mechanism at all
#aaronpkthat's what I was saying about jumping to solutions. it frames the discussion around the particular solution rather than around the actual problem
j12t joined the channel
#[manton]Re-reading the issue, I'm not really sure how to rephrase it without saying the same thing. But I agree that the current issue got derailed and we should start over.
#Loqi[aaronpk] What I would really like to see is a generic link rel discovery method for JSON formats in general. This would be something JSONFeed could adopt, and also something that WebSub could recommend as the discovery format for JSON documents. At least this...
#aaronpkyeah i found that one, it seems to be about <a> links
#voxpelliIt builds upon the Web Linking spec specifically so it should be about <link> ones?
#[manton]One other point: the reason JSON Feed has "hubs" instead of "rels" or "links" is also because I think real-time notifications is critical to building new platforms. Burying it under an abstraction will hide it, meaning fewer people will implement it or know about it. (See Dave Winer's comment today, "What is WebSub?")
#voxpelliunfortunately has to sign out for the night
#[manton]I totally get the desire to have compatibility between multiple JSON formats. But I also think some things are important enough that they can be promoted. For example, we all probably agree that "title" should be a top-level item and not a "name": "title", "value": "Hello" pair.
#aaronpki mean that is another approach websub could take, is to just define "hubs" as a top-level JSON property for discovery in JSON documents
#aaronpkagain why I point out that it's best to start the issue by stating the problem without any proposed solution
#jonnybarnesanyone using bridgy publish with custom twitter text?
#[manton]Understood. I think starting over with a new discussion that doesn't make too many assumptions is a good idea.
#jonnybarnesi.e. having text on your note with class p-bridgy-twitter-content
#jonnybarnesthe bridgy docs suggest a link is added to this unless you use the omit-link feature
#snarfedi think that part of the docs is actually wrong, and the current code will happily still truncate p-bridgy-twitter-content if necessary. i'll update the docs.
#tantekis glad to see websub discovery nitty gritty was in here and not #indieweb :)
#tantekaaronpk, pretty sure we had several issues about other websub discovery either for specific other formats (JSON(LD)) or making it somehow "extensible" so that folks could make up their own formats in the future and somehow make it work (handwave handwave)
[miklb] joined the channel
#aaronpkthe way the current spec is written it does not allow for extensibility for new formats