mblaneyI haven't added the UI yet to create photo posts myself (I would like to though), but I'm still adding u-photo to images in my post for brid.gy.
vanderven.se martijnedited /IndieAuth (-125) "Updating definition and #Why to start clearing some confusion. Add a clear note about the naming issue right after the description of IndieAuth." (view diff)
jeremycherfasI see that in the code for mentionclient.php, aaron says “If you want to collect debugging information so you can see the steps the library is doing, run IndieWeb\MentionClient::enableDebug(); before calling any other function.
ZegnatIf you get the “Sending webmention now!” debug message after enabling debug in MentionClient, that means you reach sendWebmentionToEndpoint() right before its _post() call.
ZegnatOh, you can select any line on GitHub by clicking the line number. That will link to the specific line. If you want to do a multiline select, click on the first line and hold shift to click on the last line of your select.
ZegnatBasically we are telling cURL to time out connection if it can’t establish it in 5 seconds, and to stop running completely if it is still working after 10 seconds.
sebselYeah, I once had a problem when mentioning myself... The code got executed on first page-view, but since the endpoint does a GET on the source page, that first-page-view code got triggered again. The problems of sync webmention handling
ZegnatI can’t recall how to dump the entire cURL from PHP off the top of my head. (There is an option for that, I believe, that gives basically the output -v does on the command line where it will show the exact request cURL makes and the exact response.)
jeremycherfasThanks zegnat. But that’s the biggest mystery of all, that it works live WITHOUT those options. I am trying to get it to work properly locally. That’s what this is all about!
jeremycherfasYup. On the other hand, as my eventual goal is to work with XRay, I’m tempted to go back to the version aaron helped me with ihn Nurnberg and debug that properly.
sknebelwhat's "indieweb information"? there are APIs for the microformat parsers, and x-ray does a bunch of stuff on top of that (authorship, post type, ...)
LoqiXRay is an open source API that returns structured data for a URL by parsing microformats and following other indieweb algorithms, and is part of the p3k suite of applications https://indieweb.org/XRay
prtksxnaI think what I am looking for is a service that'll take a URL, try to parse mf2/do post type discovery, if that fails, look at open graph data if present, and if that fails fallback to scraping. And return this information in a somewhat consistent manner.
tantek!tell aaronpk question about the federation support demonstrated by https://aaronparecki.com/2017/07/19/24/webmention-io - when you're looking at that post yourself when signed-into your site, do you have/see "Reply" or "Like" buttons yourself on the comments? And if you reply right there, do they get threaded with the original comment on micro.blog?
tantek(basically I'm wondering if how hard/easy it is for you to reply/back forth with someone who is on micro.blog, without either of you having to do anything "special")