#[eddie]Awesome, congrats aaronpk! The Microsub stuff is all very easy but my Microsub Server got put on hold because the parsing stuff was so difficult!
#[eddie]So I’m impressed with your h-feed parsing and polling server progress
renem, eli_oat, KartikPrabhu and [eddie] joined the channel
#[eddie]aaronpk: Yeah, with your progress, when I finish up my active work on Indigenous, then I'll probably switch back and install Xray locally and use some of your hardwork :)
tantek, KartikPrabhu, gdelf, snarfed and cweiske joined the channel
#ancardaI have a question around WebMentions and redirects; if the source sends me into an infinite loop (to try and be malicious), would that carry on until the curl timeout? Should I disable all redirects, or limit to something reasonable?
#cweiskeevery client I know of has a redirection limit
#ancardaAlright, I’ll work on Microformats then :) I already have some content
#cweiskeall that matters in my eyes is that you publish what you have to say. everything else is sugar coating
#cweiskeeven microformats are not a must to get your content published
#ancardaI need to buy a server first haha, but I can have something up by the weekend. Unfortunately I spend a lot of time afk so it’ll take some time for anything to be live
#ancardaBut I salvaged over 600 posts from the silo I spent 3 years posting to, so I’d like to put that live
#ancardaAre any of your websites open source? I was thinking of putting mine on GitLab (MIT license) as Zegnat seemed interested in how I was building it (e.g. the blog post editor I’m working on saves drafts automatically when you finish typing)
#ancardaAlthough, isn’t that putting data into another silo? (We need h-repo and u-commit)
#ancardaI was hosting my own so I could have CAA records and SSHFP (needs DNSSEC). CAA is now widely supported and SSHFP wasn’t that useful to me in the end
#ancardaAnyway, half the time my website would be down and it was always BIND needed restarting. I never figured out why it was broken
#ZegnatI just need an easy way to pump HTML in and get a list out, and do that a lot with different inputs. I have no real preference for a framework.
#LoqiZegnat: tantek left you a message 10 hours, 37 minutes ago: is there a place on the IWC Berlin wiki page where it lists all the demos / code produced for it like your https://github.com/Zegnat/php-linkextractor ?
#ancardacweiske, Zegnat: I wrote a very quick sample of what a class and a test often looks like: https://pastebin.com/W5wvbwJ4 this is with mocking an injected database object
#ancardaIt's a bit messy, but hopefully gives an idea of what phpspec looks like? I'll look into phpunit
#ZegnatAll those shouldReturns are what I do not look forward to writing... So I would end up in a place where I am going to be generating the test files dynamically then
#ancardaOne thing I do like is you write the test first, run phpspec, and it'll create empty functions for you, so it can somewhat make it nicer to work with
#ZegnatAlso, big blobs of HTML in the PHP test files...
#ZegnatI guess my main gripe is that I do not want to learn and conform to a testing framework if I am going to have to write 100% own logic to then handle my cases. Could just stick with phpt files then.
#cweiskeyou can even return iterators that lazy-load data on access
#ancardaWhat do you think I should do about models? phpspec would have me mock the database object when I'm testing my blog class, is that the right approach?
#ZegnatI guess that would be memory efficient if the HTML files get too big, haha
#ancardaI've always been uncomfortable with that because I don't actually test if the SQL is correct
#ancardaMaybe run a script to create tables with a test_ prefix, assert they're empty (and were created correctly), run functions to create data, assert there's some data returned?
#[eddie]hmmm I have an Indigenous user who has a profile at the root of their domain. Their blog is at domain/blog/. Their authorization server is set at domain/blog/ (it's indieauth), their twitter rel=me is set on their root domain.
#[eddie]I don't think they've ever fully use indieauth/micropub yet. Because I don't see a way for the connections to successfully be made
#[eddie]So I think the biggest question is what is the best recommendation to make to them. I'm assuming it's adding the endpoint code to the root of their domain
#[eddie]But then I guess the me value will be the root domain and I need to find out if their wordpress plugin will allow the root domain
#[eddie]Is there anyway to add to domain/blog/ to say "hey my identity is over there" and point to the root domain? or is that not a thing?
tantek joined the channel
#[eddie]Ohhh nevermind. I think I might see a solution if it's snarfed's wordpress micropub plugin. I'll have to find out what plugin they are using
[chrisaldrich] joined the channel
#[chrisaldrich]eddie I don't think there are any other Micropub plugins for WordPress other than the one you mentioned.
#[eddie]Yeah, they are having issues authenticating. I think they need to add the endpoint urls to their main domain
#[eddie]that way they authenticate with indieauth, and the wordpress micropub should accept them as long as their profile url matches their root domain
#[chrisaldrich]It seems like the rel-me issue for this had been solved before so one could have their h-card/rel-me on one page but a blog feed on another.
#[eddie]Well, if the user enters their root domain in IndieAuth.com, they can login, but there isn't a micropub endpoint on the root domain
#[chrisaldrich]the only issue I could see one having is if they've got two separate wordpress installs: one at root and a separate one at /blog/
#[chrisaldrich]I know there was discussion of having an h-card on one page with a "fuller" one on a separate page at /rel-me IIRC
#[eddie]Oh, awesome. I'll take a look at that too. Thanks ?
#[chrisaldrich]If they do have a static page on root and a WP install at /blog/ then their problem is the rough equivalent of having two separate WP installs at each.
#[chrisaldrich]They might remedy the issue by manually adding the line: <link rel="micropub" href="http://example.com/blog?micropub=endpoint"> to the header of their static site if they need it for micropub.
#[chrisaldrich]I have to think someone has run across this before and snarfed, pfefferle, or GWG have accounted for it somewhere?
rmk1 joined the channel
#tantekAwesome that people are just showing up and creating their user pages!
KevinMarks_, snarfed and KevinMarks joined the channel
#eli_oatDoes anyone know of documentation for [omnibear](https://omnibear.com)? I'm interested in adding support for reacji, but not certain of what to add to my endpoint. The enty on indieweb.org is pretty sparse: https://indieweb.org/Omnibear
#Loqireacji is an emoji reaction, the use of a single emoji character in response to a post, introduced as a feature by Slack[1] https://indieweb.org/reacji
#sknebelyou could try posting an emoji manually or with a different client?
#eli_oat1It isn't an issue with emoji. I can post them just fine using quill and the micro.blog app. The issue seems to be that I can't post anything with omnibear
#eli_oat1which is almost certainly a problem with my micropub endpoint
#ZegnatDid you switch token endpoint at some point maybe? That would’ve made the token in Omnibear’s memory go stale, and I am not sure it actually checks for anything like that
KevinMarks_ joined the channel
#eli_oat1I upgraded to a new version of FF, which may have impacted something?
#tantek.comedited /Leaders (+293) "next IWS mid 2018 will likely have a LS, if you're planning an IWC and want to organize one, add it here" (view diff)
#Loqiok, I added "https://twitter.com/martijnvdven/status/930878863302971392 Current Firefox extension is outdated" to the "See Also" section of /Reading.am
#loqi.meedited /Reading.am (+99) "Zegnat added "https://twitter.com/martijnvdven/status/930878863302971392 Current Firefox extension is outdated" to "See Also"" (view diff)
#tantek.comedited /WebRTC (+397) "is a spec, not just a "project", link to spec with status, move advocacy site to see also, spec status flow chart" (view diff)