2016-07-13 UTC
tantek, KevinMarks, KevinMarks_ and miklb_ joined the channel
# 02:01 aaronpk I really wanted to avoid using a CSS framework for the IRC logs but I'm getting to the point that I think it might be worth it
KevinMarks_, tantek, tantek_, KevinMarks and gRegorLove joined the channel
# 04:31 miklb GWG might be getting into dev talk :) What do you mean mapping to post meta?
# 04:32 GWG I want to create a class that accepts a post_id or a post object and allows outputting jf2 and mf2
# 04:38 GWG Everything that isn't an existing post object property
# 04:41 miklb a bit above my skill set, but makes sense. Are you having trouble or just slow going?
# 04:41 GWG I just decided to do it this week.
# 04:42 GWG As an enhancement to one of my plugins that could have use beyond it.
# 04:42 GWG I've been trying to design it in my mind.
# 04:44 miklb yeah, that can be the hardest part. Project I'm working on that requires post2post I finally had to do a mind map so I can almost physically draw the connections
# 04:46 GWG Well, I have written and rewritten things dozens of times. I'd like to not rewrite this because I'm hoping it will be adopted by others.
# 04:46 miklb I understand. Just meant that sometimes physically mapping out the connections can help visual
cweiske, tantek, KevinMarks, lukasros and KevinMarks_ joined the channel
# 14:07 voxpelli GWG: two things: 1. it works on latest version of node.js and with the latest version of the microformat parser 2. it is now prepared for basic Salmention functionality
# 14:07 voxpelli the preparing for Salmention required some substantial refactoring
# 14:08 voxpelli (and a bonus change: I moved to a common js coding standard so I had to change lots of the coding style as well)
# 14:27 voxpelli GWG: can you see if your webmention got sent correctly? I can see now POST to my endpoint in my logs :/
# 14:33 GWG Well, not effectively. I don't log outgoing.
# 14:43 voxpelli GWG: it got through when I manually sent the ping, thanks!
# 14:43 GWG voxpelli: There is a reason I'm sending PRs to try and change the webmention plugin. One of the ones on my list is logging.
# 14:45 voxpelli GWG: I'm creating an issue for it so that there's a note on the benefits of it :)
# 14:46 GWG I'm looking. I think it might be my wp-cron job.
# 14:47 GWG The webmention plugin uses a _mentionme post meta tag. It is still on the post.
tantek and gRegorLove joined the channel
tantek and tantek_ joined the channel
# 18:31 KevinMarks_ Minor thing with chat.indieweb.org - if multiple tabs are yellow, and you click one, the others stop being yellow
KevinMarks__ joined the channel
# 19:22 GWG How do people log their Webmentions?
# 19:23 GWG aaronpk, I meant outgoing, not incoming? Do you keep logs?
# 19:24 aaronpk oh, I send mine using Telegraph, and it keeps logs
# 19:24 miklb the jekyll plugin I use creates a cache of sent & received mentions
# 19:25 bear I log mine to disk as json, a redis entry and to the app log that handles them
# 19:27 GWG I am trying to figure out what to do after this morning.
# 19:27 GWG Where voxpelli didn't get my webmention.
# 19:28 bear in my app log I record all of the things relevant to the receiving: domain, vouch, auth items and the json of what will be stored in redis
# 19:29 bear then in redis I store the session id info and the webmention "task"
# 19:29 bear and then in the static generator I move that task to an archive and then write that json to a disk as a cache
# 19:29 miklb hmm. My sent only logs the source and target URLs
# 19:29 bear it allows me to recreate or rollback any event using the command line
# 19:29 bear (yes, probably overboard, but I am an ops person)
# 19:30 sknebel timestamp + HTTP response + if it exists status URL would be useful to log as well I think
# 19:31 sknebel (and of course if possible any low-level errors you encounter, like "host not found", "unsupported TLS cipher", "invalid TLS certificate)
# 19:32 sknebel (in my case, it's a text log that contains the python traceback if something breaks)
# 19:33 GWG Do you ever get alerted to failures?
# 19:35 sknebel I don't use my site enough, so I'm still manually checking every time because I don't quite believe yet that it works :/
# 19:35 sknebel (but good point, need to plan some feedback mechanism)
# 19:36 GWG I am trying to troubleshoot an existing problem, but prepare for future ones.
# 19:38 GWG aaronpk, how often do you need to check them?
# 19:38 aaronpk not often, mostly if I think something went wrong
# 19:55 gRegorLove GWG: send queue is in the db. Fields: source, target, vouch, processwire page id, created, modified, processed. Last 3 are datetime fields.
# 19:57 gRegorLove I log a lot of things to flat file "initiated sending from [url] to [url]", "no endpoint found for [url]" I log the http response code when sent, serialized post parameters, and response body.
# 19:57 gRegorLove And "error sending from [url] to [url]" if I don't get a 20x code.
# 19:59 gRegorLove I'm in the process of reworking it a bit, so I can re-send to URLs that were removed, to pass that webmention.rocks test.
# 19:59 gRegorLove The send queue in the db makes that relatively easy, thankfully
# 20:21 bear if I get more than one webmention a month I might consider alerting to failure ;)
tantek joined the channel
KevinMarks joined the channel