#tantekaaronpk - 48 line http_rels() php function ready for testing. I've been trying it on aaronparecki.com in case you've been seeing a strange useragent.
#aaronpkI can just namespace it under IndieWeb without making it into a class
#tantekyes that would be great. in reading that spec I need to add just a bit more defensiveness.
scor joined the channel
#tantekaaronpk - right now I'm doing the curl in the function, I wonder is it better to split it into two functions, one that just extracts the rels from a headers string.
#tantekexcept they made the mistake of putting a registry in there (which HTML has promptly ignored and is officially using the microformats existing-rel-values registry)
#aaronpknew rule: spec authors should be required to give a complete list of examples that can be used as tests
#tantekaaronpk - did you notice how it parses out the X-Pingback as if it is a Link header too and returns it like a rel?
mikeal, dybskiy, josephboyle, michaelrhodes, shaners, scor, tpinto, acegiak and tantek joined the channel
#tantek!tell aaronpk re: "must have a lower threshold of error reporting" - not sure - I was just testing it with the default php install on MacOS X 10.7
#christopheducamp.comedited /webmention-fr (+12312) "[fr: synchro - french translation to be achieved and checked. still searching french help to test on Jekyll ?)]" (view diff)
#tantektommoris - does Ferocity (especially the version you're running on your site) accept webmentions? or send? (or only send pingbacks?)
#tantek.comedited /webmention (+501) "/* Discovery in PHP */ HTTP HEAD request and rel parsing library now implemented and shared on github! brief notes about how to use in this context" (view diff)
Acidnerd, glennjones, Acidnerd1 and xtof joined the channel
#tantekhey xtof - what are you running on your main site now?
#xtofbonjour tantek : currently studying jekyll on a local instance. Think I should be ready next monday.
#xtofWill start at the root name on christopheducamp.com and will describe indiemark first steps learning in french...
#aaronpkI need to display "comments" under my blog posts now
#Loqiaaronpk: tantek left you a message 7 hours, 22 minutes ago: re: "must have a lower threshold of error reporting" - not sure - I was just testing it with the default php install on MacOS X 10.7
#aaronpkjust had someone email me a link to their blog post they wrote because they "didn't find a trackback feature" on my site!
#tobiastomon the website you say that persona and SMS are supported providers. How does that work?
#bretaaronpk: I wanted to ask you about how you do flat file storage for your site... thinking of building off of my existing content that works in jekyll, and I know you had similar roots for your site
#brettobiastom: for SMS, you list a phone number on your site, and it sends you a one time authentication token via sms to that number
#brettobiastom: for persona, you list an email on your site and lets indieauth if you own it or not
#barnabywalterstantek: yep, that’s really useful for PHP curl handling
#tantekexactly - hence I also included the function to *do* a PHP curl HEAD request to a URL for the Link headers if that's all you want to do: head_http_rels()
#barnabywaltersso crazy that PHP doesn’t have string HTTP headers -> normalised array built in
#tantekbarnabywalters - I don't see how I'd use sandeepshetty's function to parse HTTP headers - looks like you have to do some preprocessing first
#barnabywalterstantek: not advocating its use (haven’t used it myself), just making sure you knew it existed :)
#tantekI've been fairly convinced by Crockford's JSLint coding guidelines
#tantek.comedited /webmention (+331) "add link_rel_parser to webmention endpoint discovery section in libraries" (view diff)
#tantekbarnabywalters - how do you iterate through the hyperlinks in your posts when doing webmentions? do you iterate through the HTML output of your system, or do you iterate through some sort of pre-output like markdown etc.?
#barnabywaltersIIRC I use the cassis URL regex to find all the URLs in my HTML
#barnabywaltersI try not to use too many relative URLs, having seen how awkward it is to implement spec-compliant software which consumes them correctly