#gRegorLove*shrug* no real reason. I guess we do that with IndieWeb Examples but I was thinking it'd be interesting to see how recently support was added
#gRegorLoveRight now I suppose it doesn't matter since they're so closely clustered.
#gRegorLoveIt would be funny if the ordered changed randomly :)
#[cleverdevil]Thanks for the reply, manton. I'm back in the air for my last leg of my trip back home. I'll see if I can adjust my Known request to more closely match mf2 on my flight.
#miklbGWG when you said check the classes, which one? If I'm reading micropub plugin correctly, it only supports like, repost and reply currently?
KevinMarks, [kevinmarks], [colinwalker], jeremycherfas and persand joined the channel
#jeremycherfasIf I want a php plugin to simply quit working and return to whatever comes next if a certain condition is met, would I use `return;` or `quit;` or something else?
#schmartyjeremycherfas: depends on what the code is expected to do. do you have a link to the code online somewhere? or can you say more about where the plugin? is it WP? known?
#sknebeljeremycherfas is this about your webmention-in-feeds problem?
#schmartythe short answer is that "return;" will stop the current function and go back to the caller. what that means for the final output depends on what the caller expects.
#jeremycherfasThanks schmarty. Plugin for Grav. But actually, my problem is more serious than that. Looking deeper into other plugins.
#jeremycherfasSknebel yes it is. One of the Grav developers suggested I could test whether the page format was html, and block the plugin if it is not html.
#jeremycherfasI found a way to do that, but the bad link is still appearring in the feed.
#jeremycherfasSo now I am looking at the plugin that produces the feed to see if I can see what it does.
#sknebel(I see the webmention plugin has a "ignore_path" option in the receiver settings, "The ignore_paths field lists paths you will not accept webmentions for nor advertise webmention functionality ") A more general solution would be nicer, but could be a workaround until then?
#aaronpk[kevinmarks]: I think the thought is that it's harder to screw up writing a JSON feed than rss?
#sknebel(or even set the advertise_method to "header". Additional link headers shouldn't confuse feed readers)
#jeremycherfasSknebel Those are good thoughts, but they don’t work. Those ignore routes do not prevent the plugin adding a line to HEAD that somehow appears also in the feeds.
singpolyma joined the channel
#sknebeljeremycherfas: ok, then that is badly documented, or something is broken in some other strange way
#jeremycherfasI am trying to see why they are output on the feed page, because the feed plugin does not appear to call them directly. I think they may be a leftover of some sort.
#jeremycherfasThe pity is that the chap who wrote the webmentions plugin seems really good, but not very active either on github or in the grav slack channel
KevinMarks and [manton] joined the channel
#sknebelwith all this talk about feed readers: how do you guys deal with "scheduled tasks" in your backends? e.g. for rate-limiting, feed-fetching, ...
#sknebeldo you use something centralized (e.g. a job queue framework) that handles that?
tantek, KevinMarks_ and [kevinmarks] joined the channel
#aaronpkI use beanstalk as a queue for immediate background processing, or I use a table in a database for longer scheduled jobs
#LoqiGlitch (formerly Gomix) is a tool by Fog Creek Software to allow you to quickly prototype web applications in a complete IDE with built in version control, sharing, and more https://indieweb.org/Glitch
#sknebel(currently playing with it. some limitations, for us most critically no direct support for custom domains yet, and node-js only, but might be neat for small tools)
#sknebel(e.g. someone could host the WM or micropub-endpoint for a static site there)
#sknebelcurrently I'm trying to make a thing that does /authorship *and explains* how it found the result
#jeremycherfasZegnat: Well, there are two problems. One is that the plugin inserts a rel=“mention” link even in the feed pages, which breaks them for some readers. The other is getting it to work with Xray. I’ve tried everything to solve the first problem, with no luck so far. So the second has had to wait.
#ZegnatThat’s really odd. Do you have a link for that plugin? I might have a gander after dinner
#Loqi[Perlkonig] grav-plugin-webmention: Implements the Webmention protocol (with the Vouch extension) for the Grav CMS
#jeremycherfasThe crucial stuff happens around this comment // inject before closing </head> tag
#jeremycherfasBut I cannot for the life of me see why the $output variable set before that seems to hang around and gets stuck into the Atom and RSS feeds too.
[kevinmarks] joined the channel
#ZegnatIt seems to just always add it to any path that is not in ignore_routes
gRegorLove joined the channel
#jeremycherfasBut adding ignore routes doesn’t stop it adding to the feed, as far as I could tell.
#Zegnatjeremycherfas if you just var_dump $currRoute in that function, what do you get when visiting the feed? Because it had to match that exactly.
KevinMarks, barpthewire, persand and [eddie] joined the channel
#[eddie]!tell aaronpk: person-tags are urls that point to a user with a u-category attached. Obviously in practice your site treats person tags and post tags differently. I know your storage is based on a yamlfication of mf2 json. Just curious do you store your person-tags in the category array and then just filter based on if it has http* (person tag) or doesn’t have http* (post tag)
#[eddie]:thumbsup: That seemed like the way to go (because I’m doing a similar yamlfication of mf2 for my storage) but figured if there was any downsides to that you would have discovered it ?
#sknebel[eddie]: you have a bunch of node-js stuff, right?
#sknebelhave you looked at glitch.com? It seems like it could be interesting to get people quickly up and running with node-based services (esp those that have a static site somewhere else)
#[eddie]sknebel: Thanks for the heads up. I haven’t even heard of glitch yet, I’ll take a look. I do a bunch of node.js stuff
#sknebelthey give you small playground-containers with a web editor, and have a neat "fork this" feature
#tantek.comedited /framework (+263) "a bit more specific definition of a framework, and explanation of a how a library might not be a framework" (view diff)
#tantekI just add a few fields (country, state, city, org, email) and pick 2048, and click "create" and boom my site is being served with the new self-signed cert
#aaronpkokay then that host should really add support for letsencrypt
#aaronpkthey have no excuse if they're already doing that much
#dougbeal|imacaaronpk: what do you run indieauth under?