• I'm on a roll with webmentions today. While I initially planned to hold off on displaying them publicly until a while later, since I figured out a good design, I decided to ship them in detail pages as well. They're hidden by default with a badge indicating the number of interactions.Β  All mentions must be πŸ‘ed before they appear. Pages without interactions do not show anything.

    Webmentions show inline with their content.


    One thing I'm not entirely happy about is that by using the object tag to allow me to detect broken images is I lose the ability to lazy load them. i.e. img supports loading="lazy" and object does not. A waste of bandwidth and resources.

    It's not a huge issue as icons are small. Once I start integrating turbo I plan to to lazy load the webmentions as a whole, so no content is event sent until requested.

    I've also found a bug (or what I consider a bug) somewhere in the webmention stack (either in mf2py or in the webmention test tool, I think). The basic issue is emoji and other unicode characters come across as escaped unicode like \xf0\x9f\x98\xa2, Cleaning it the response body with the excellent ftfy (fixes text for you) takes care of the issue for now, but it feels like that should be unnecessary.Β 
  • Leo’s taken to my old dslr. We took photos for a couple minutes of his favorite subject: trains. πŸš…



  • Figured it out. My handler wasn't running because I forgot to set the default app config in my __init__.py. One hotfix later and now we're cookin' with gas.

    Webmentions working in prod!
  • Shipped the new webmention display in Tanzawa πŸŽ‰. There is one bug. When django-webmention registers a model, I have a signal listening to register my own TWebmention record to store parsed data, moderation data and so forth.

    Testing locally it worked fine, but my test webmention didn't seem to register it. Here's what it's looking like in prod:
    Real life webmentions in Tanzawa!
  • Shipped my new webmentions dashboard in Tanzawa. You can see a preview of them on this post on the Tanzawa development blog.

    And we're live on prod!

Previous 333 of 732 Next