#aaronpki'm not talking about doing anything with e-* classes, only u-* since the parser knows the value is supposed to be a URL in that case
#KartikPrabhuaaronpk: people might have accidently put a "u-*" when tey meant "p-*". might be better to just expose that to keep thigns visible. COmsuming code can always validate
mlncn joined the channel
#sknebel(thinking of protocols: is there anything "established" about webmention endpoints being HTTP vs HTTPS?)
#sknebel(+ it would be interesting if any webmention endpoints accidentially or intentionally work with ftp:// or other source urls as well, there are some nasty issues hidden in that kind of thing)
#aaronpkwell the webmention endpoint itself has to be http/https because the spec requires you make an HTTP request to send the webmention
#aaronpkbut i think it doesn't say anything about the source URL needing to be HTTP
#gRegorLoveIn the ProcessWire Webmention plugin, it always attempts to send a vouch parameter with a webmention, if possible. There is a checkbox, off by default, for "require webmention with vouch" for incoming wm
#gRegorLove(I have that checkbox off on my site currently)
#gRegorLoveThere's a textarea for "Approved vouch domains", one domain per line. I populated it manually at first, but just recently added an option to enter a URL that the plugin will periodically parse for h-cards and add the URLs it finds to the approved vouch domains.
#gRegorLoveSo now I just need to add people I follow / will accept as vouches to http://gregorlove.com/following/ and it will be parsed within ~24 hours to the list of approved vouch domains
#GWGMy plan right now is to just make it so the parameter is passed and work on what it does later.
#tantekkylewm, GWGW, there is no requirement to "start with a list" - that's just one possible (common?) way to start with a simple implementation. The spec does not require it.
#Loqitantek meant to say: kylewm, GWG, there is no requirement to "start with a list" - that's just one possible (common?) way to start with a simple implementation. The spec does not require it.
#gRegorLove!tell aaronpk it looks like that test is ambiguous with authorship step 7.3. Step 7.4 would return the http u-url, though.
#aaronpk!tell gRegorLove interesting point. however the authorship algorithm results in an author h-card, not an author URL, so the xmpp URL in that test case could still be used to match that h-card.
#aaronpk!tell gRegorLove XRay in particular looks for http/https URLs and will ignore anything else, so that's why the test is looking for that URL and not the xmpp one
#aaronpki haven't finished the home page yet or written really anything that tells you how this works, but basically the tests here are posts that accept comments, and you can use them to help debug your webmention sending
#aaronpki have the main functionality of handling webmentions and parsing the source URL for comment data working for the most part, so i'm adding more helpful debugging tools to it now
#bearso you want me to add a mention of that test/1 url to my sight and have it send a webmention now?
#aaronpkyeah, feel free to try to send webmentions to it, and let me know if you see anything weird.
#aaronpkreally? php is pretty explicit about whether you're doing case sensitive or insensitive comparison
#bearso the python requests lib happily converts the headers into a dictionary with the key being "Link"
#aaronpki always have to double check how the HTTP header is going to show up in whatever framework i'm using tho
#bearI wouldn't know - I remember reading some discussion about this from earlier on stackoverflow and the person implied that php was very happy to compare link to Link in headers
#aaronpkthe $_SERVER variable converts them all to uppercase and prefixes with "HTTP_", other frameworks have methods to retrieve HTTP headers that handles the case insensitive matching internally
#bearyea, i'm mostly being verbose for anyone reading this to learn - what my webmention library should have done was checked
#bearyea, that is why I am kinda surprised that python requests gave me "Link" back when I asked for the header keys
#aaronpkyeah i've seen some libraries that try to be "smart" about it, but then you're never sure if it's going to return "Content-Type" or "Content-type"
#beartime for me to create a simple map/helper function