πŸ—» 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
  • Mar 20, 2021
    by James
    Shipped full support for checkins and syndication urls . Yay! πŸŽ‰ Next up is support for importing posts from Wordpress...😬
    πŸ”—permalink
  • Mar 19, 2021
    by James
    I got the web interface working for adding and removing of syndication urls. Nice and simple. Once I've got them marking up properly, I think they're ready to ship!

    Adding syndication urls in Tanzawa
    πŸ”—permalink
  • Response to inessential: New in NetNewsWire 6: Twitter Search Feeds

    Mar 18, 2021
    by James
    in Yokohama, Kanagawa Prefecture, Japan
    What’s cool about this: you can watch for mentions of whatever you want, and those come to you in the same app where your other feeds live.
    Following Twitter searches in NetNewsWire looks super handy. Will have to add the #IndieWeb hashtag once this is released.Β 
    πŸ”—permalink
  • Mar 18, 2021
    by James
    Back to building some base infrastructure again. This time for adding / deleting syndication urls. Deleting is simple enough – it's just a (hidden) checkbox with a small stimulus controller setup to toggle its label text between "Remove" and "Undo".

    Adding a secondary form also works. I output an empty formset form into my template then use a small action to copy it, replace the id and update the management form, 5 lines of code, half of which is variable definitions.

    My goal is to be able to reuse this whenever I need to add multiple related records to a post without any modifications.
    πŸ”—permalink
  • Response to Colin Walker - Mar 17, 2021

    Mar 17, 2021
    by James
    in Yokohama, Kanagawa Prefecture, Japan
    It's a little bittersweet β€” on the one hand it feels good as I know that I have a new solution but, on the other, it feels a little sad that the fruits of so much time and effort are now redundant.
    I feel this when I improve implementations all the time. Code reflects our best understanding of a given problem to a given solution at a given time. Requirements changing naturally means that the problem has also changed.

    When writing code I try to remind myself that all is temporary and will be deleted or rewritten at some point, so I best not grow too fond of it.
    πŸ”—permalink 1 interaction
  • Mar 17, 2021
    by James
    Creating a slick checkin experience is out of the scope of a personal website, so you'll need to use Swarm (or such) to checkin and backfeed them into Tanzawa. However, I often find myself wanting to expand that check into a proper blog post – to tell a story about what happened. So you should be able to edit a checkin on your blog.

    The edit checkin page is the same all other edit pages, except it has two fields at the top: Where did you go? and What's its url?

    Extra fields on checkin posts


    I also started working on being able to add syndication urls to posts. I've already added support via micropub to save syndication urls. This lets you add / remove them for non-micropub posts.

    Syndication urls

    When you can eventually set your identities on other sites in Tanzawa, it might be fun to customize the placeholder text. For example you could get it to use your username or randomly use different sites e.g. twitter on the first load, flickr on the second load etc...
    πŸ”—permalink
  • Response to jlelse's Blog

    Mar 16, 2021
    by James
    I just took a quick look at my server logs. And I see that there are some bots that are constantly crawling my site. If that would be search engines, feed readers etc. that wouldn’t be a problem. But this are crawlers by companies whose websites try to se
    I wonder if there isn't a list of these cralwers out there that you could then automatically block at the nginx/apache level. Even handling it at the app server level would discourage them from crawling your site too much.
    πŸ”—permalink
  • Mar 16, 2021
    by James
    Just a small update today – posts made with micropub respect the published datetime and I'm saving /showing syndication urls. I still need a proper interface for both of these in the admin. This is what syndication links will look like in a post.

    Syndication links now appear in the post meta
    πŸ”—permalink
  • The Week #36

    Mar 16, 2021
    by James


    • Sophie turned 9 years old – she's old enough now that she has to take medicine twice a day. Rather than making her a little doggie cake, kept up the tradition of singing happy birthday before giving her a bit of chicken and carrots. She always looks at as funny whenever we sing to her.

    • I shipped locations in Tanzawa this week and started a new weekly round up style post on the development blog. Once I add support for checkins (backfed from Swarm) I've got the minimum viable blog for me to switch over full-time. Already I find myself wanting to author posts with Tanzawa instead of Wordpress.

    • As for the migration – I've got two basic paths forward. 1) Turning my current site into a static site and use nginx to redirecting existing urls to the static site. 2) Parse the Wordpress XML file and import it into Tanzawa. Option 1 will "buy me time" to get the Wordpress import flow working. 2 is probably at least a week long project like locations were. I'll have to blog about possible workflows on the Tanzawa blog while I stew on the path forward.

    • Jacob linked me to this new creator on youtube: Beau Miles. Specifically this great film of his called The Commute: Walking 90km to Work. It's refreshing to see someone talk about just how much cars remove us from our environment. The description about the video says more than I ever could.



    Setting off with no food, water or shelter, I walked 90km to work a bunch of years ago to see if a stripped back adventure could give me the kind of buzz that far away, exotic, heavily planned expeditions have given me over the years. It did. Different, but familiar feelings of challenge and insight came through. When I was asked to give a lecture about adventuring at a new building at my university, I said β€˜no worries, why don’t I walk to work and deliver the lecture as soon as I get there’? So I walked to work, again.

    Go watch it. Now.Then follow up with his The Human Bean: 40 days on a tin-bean diet.

    πŸ”—permalink
  • Mar 15, 2021
    by James
    With support for locations finished, I was able to add support for checkins in a couple of hours this morning. You can only post a checkin via micropub, but you can edit them like any other post locally.

    There's three remaining "tidbits" to be completed before I can mark location/checkin support is complete:Β  use the sent published date time in the micropub request as the posts' published datetime, store/display the syndication urls in the post meta, and confirm microformat my location data. This is what they look like – checkin is from January 2nd :-)

    An example checkin post with a photo
    πŸ”—permalink
Previous 149 of 357 Next
Reply by email
Powered by
πŸ”Tanzawa

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

Web developer living in Japan.