-
byMostly bug fixes today. Colin let me know about a bug how Tanzawa was interpreting webmentions from his blog. The basic issues was that Colin keeps all posts for the day on a single page and uses an anchor tag to link to the different posts e.g. blog.php?date=2021-01-28#p4 . So a single webmention request will include all posts for that day.
The mf2py-utils library I'm using to classify the microformated data as a comment works under the assumption that each post will have its own webmention. So when he linked to Tanzawa as post number two, Tanzawa showed the comment for post number one. It was an easy fix to make sure that the comment interpreting function filters by the target url as well.
The other minor change is I've added the interaction count to the status list page as well. I haven't styled it yet, but I imagine it will become a brown circle. This makes it easier for me to see which posts have comments/likes and so forth. -
π Cook: Companies like Facebook donβt deserve praise, βthey deserve reformβ
byTechnology does not need vast troves of personal data, stitched together across dozens of websites and apps, in order to succeed. Advertising existed and thrived for decades without it.
From Tim Cookβs remarks last week at Computers, Privacy & Data Protection 2021 conference. All I can say is: A-fucking-men. macOS may annoy me sometimes, but thereβs no other company Iβd trust with my location and health data.- Tagged with
- social media
- privacy apple
-
bySlept on the bug and yes appears that django-webmention is not decoding the response body before saving it to the database. I opened issue #23 to fix the issue.
-
byI'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.Β -
by
Leoβs taken to my old dslr. We took photos for a couple minutes of his favorite subject: trains. π
-
byFigured 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! -
byShipped 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! -
by
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!
-
byRefactored the design of the webmentions this morning. I added the number of un-reviewed webmentions at the top and put them in a details/summary tag. The author name links to their homepage. Below that is a link to the webmention source displaying only the domain.
Reviews are handled via a big thumbs up or thumbs down on the far right. This bit isn't hooked up yet, but it will be soon enough. I also added a button to quickly take you to the new status page.Webmentions refactored
Next I need to add an api / view to handling the approval / disapproval click. And a menu item on the left to view all webmentions would be handy as well. -
by
With /r/wallstreetbets going private because the people are taking a bail out from the hedge funds, I can't help but think that we're on the first steps of a swing away from a centralized web. Finally. βπ