πŸ—» James Van Dyne

✈️Trips πŸ—ΊοΈMaps ✏️️Blog πŸ”—οΈοΈLinks πŸ‘‰Now πŸƒRuns
  • 🏑Home
  • ✈️Trips
  • πŸ—ΊοΈMaps
  • ✏️Blog
  • πŸ”—οΈLinks
  • πŸ‘‰Now
  • πŸƒRuns
  • ✏️Articles
  • πŸ“€οΈReplies
  • πŸ’¬Status
  • πŸ”–οΈοΈBookmarks
  • πŸ—ΊCheckins
  • πŸ“…The Week
  • πŸ–₯Tech
  • 🌲Sustainability
  • πŸƒRunning
  • 🧠Thoughts
  • πŸ‡―πŸ‡΅Japan
  • πŸ’‘TIL
  • β›°Tanzawa
  • 🏑Home
  • ✏️Articles
  • πŸ“€οΈReplies
  • πŸ’¬Status
  • πŸ”–οΈοΈBookmarks
  • πŸ—ΊCheckins
  • πŸ“…The Week
  • πŸ–₯Tech
  • 🌲Sustainability
  • πŸƒRunning
  • 🧠Thoughts
  • πŸ‡―πŸ‡΅Japan
  • πŸ’‘TIL
  • β›°Tanzawa
  • Jan 29, 2021
    by James
    Refactored 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.
    πŸ”—permalink 7 interactions
  • Jan 28, 2021
    by James

    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. βœŠπŸš€

    πŸ”—permalink
  • Jan 28, 2021
    by James
    I started working on webmention displays for the dashboard in Tanzawa. Preview πŸ‘‡:

    The base webmention layout


    Content is plain text and limited to 140 characters (after which it will truncate nicely). There's a link to review it on the left and the source of the webmention is also linked. The webmention kind is displayed on the bottom right if it can be determined.

    Using the html5 <object> tag I can handle broken images or no author photo quite easily.Β 

    A broken author photo example


    Come to think of it...these could be used as the base for displaying the interactions in a post as well...
    πŸ”—permalink 1 interaction
  • Jan 27, 2021
    by James
    Thank you to Colin for replying and sending Tanzawa its first non-test webmention.Β 

    Today I fixed some layout bugs and started working on a home / dashboard screen for the publishing side of Tanzawa. For starters it's going to display just the last 5 posts / webmentions and a button to write a new status.

    Currently each wbmention shows it's review status (πŸ‘ or πŸ‘‰), source url, and a link to the django admin to review (or delete) it.Β  Instead of the source url (as that's not super helpful) I plan to show who it's from, the kind of webmention, and a link to view it. Eventually I'd like to normalize this data into the database, so I don't need to parse html on each page load, but I'm still working on the table schema in my head.

    Once I get the dashboard "working", I think it's time to expand to other post types. Articles would be easiest - as it's just a status with a title. It will also force me to normalize sidemenus and post listing logic. After that I'd like to support checkins via a micropub endpoint so I can get my swarm checkins from OwnYourSwarm.
    πŸ”—permalink
  • The Week #29

    Jan 26, 2021
    by James


    • President Biden was finally sworn in to office, allowing me to breath a huge sigh of relief. His first actions have been exactly what I'd hoped he'd do (rejoining the Paris climate accords and the WHO, canceling Keystone XL pipeline etc...) and reversing some of the heinous things I'd forgotten about in the avalanche of bs that came out of the prior administration. I feel like I can watch the West Wing again and have it not feel like a cynical joke.

    • Speaking of the West-Wing, I watched the the first press briefing from Jen Psaki and immediately was reminded ow C.J. Cregg from the show. Apparently I wasn't the only one and someone even wrote a column in the LA Times to please stop comparing the two (one being real, one being a fictional character).

    • Covid numbers are finally going in the right direction. Yesterday was in the 600s in Tokyo down from 2000+ a couple of a weeks ago. There is a false sense of security in these numbers though as monday is always the lull of the week and due to the surge, they've stopped doing much (all?) contact tracing.

    • I got my computer back from repair on Saturday. They replaced the battery, top case, and keyboard. It feels like a brand new machine with the new keyboard. The battery itself was manufactured in May of last year, so there shouldn't be much / any aging from it sitting in a warehouse. The only "issue", and I'm not certain it wasn't like this before, is the rubber seal around the edge of the display appears to have been damaged right where you'd usually unlatch the computer. I don't remember it feeling rough and worn down, but it's entirely likely I just didn't notice.

    • I shipped RSS feeds and web mention support in Tanzawa. This now means that Tanzawa can participate in a distributed social web - rss feeds to sending data places and webmentions for receiving comments, likes, and so forth. Tanzawa still has a long ways to go before it's ready for general consumption, but I'm making slow and steady progress.

    πŸ”—permalink
  • Jan 25, 2021
    by James

    Just finished shipping a webmention endpoint in Tanzawa. Actual display of webmentions is a task for another time as it turns out to be quite complex.

    πŸ”—permalink
  • Jan 25, 2021
    by James
    I've got webmentions working with the great django-webmention library. I'm parsing mention's microformats using mf2py and mf2util. It's not too difficult.Β  You can send a webmention and I'll receive it. They just won't show on the page. And that's because I'm not sure how I want them to display.

    For example a "like" doesn't necessarily have an author name, just a url. Or even no author at all. How do I display these? Do I just not display them?Β  What's the appropriate microformat html for this type?Β  Rich content or plain content? What if the plain content is in markdown? And repeat for each different kind.

    I wanted to add support for receiving webmentions, as that way I can see if someone's linking to the tanzawa development blog, but I'll I think I'll hold off on display until I've had a chance to think through the implementations more.
    πŸ”—permalink
  • Jan 24, 2021
    by James

    I got my Mac back from repair and have promptly resumed working on Tanzawa. Today I shipped RSS feeds. Subscribe to the Tanzawa feed to follow development.

    πŸ”—permalink
  • Jan 24, 2021
    by James
    Today IΒ  merged RSS support (feed), properly microformatted statuses, and automatic plain text conversion of statuses. Next up is some basic site settings, so you can set things like site title / feed title and so forth.
    πŸ”—permalink
  • Jan 23, 2021
    by James
    Computer is repaired and I'm making progress on Tanzawa again. Today I've got the statuses rendering as microformats and made an author page. Next up will adding RSS support for statuses.
    πŸ”—permalink
Previous 159 of 358 Next
Reply by email
Powered by
πŸ”Tanzawa

← An IndieWeb Webring πŸ•ΈπŸ’β†’
Photo of James Van Dyne James Van Dyne Japan

Web developer living in Japan.