-
Checkin to Kinuta Park (η §ε ¬ε)
by in Tokyo, Tokyo, Japan -
byIβve got all of my extractors written. Next up is actually importing the content. In my import Iβm also going to automate cleaning up some of the markup.Β
- Removing link wrappers around images. I.e. images posted from Sunlit wrap all images with an a tag. I want to strip that.Β
- Rewriting all attachment links to their new Tanzawa permalink.
- Rewriting all internal links to their new Tanzawa permalink.
I have a few pages on blog. Iβm not sure I want to support pages yet (at least not in such a free form). I could import them as posts, so the content moves over. But instead I think Iβm going to move them to my wiki instead. -
byThere's still a slog ahead for importing posts, but it seems manageable. I wrote a bunch of utility functions (with tests) to extract and normalize individual fields of data from a post.Β
The idea being, once I can extract the data easily, I should be able construct my records by simply calling each function (more or less).
Migrating comments is going to be tricky as I only support webmentions in Tanzawa and not all comments on my blog originate from webmentions. I think I'll probably just not import comments/webmentions until after I migrate my blog to Tanzawa. -
byAfter a day-ish of trying to figure out a nice clean ( Javascript-less ) way to make a queue to import images, I decided to just forget the queue and let Tanzawa import images as fast as possible. The number of simultaneous requests seems to be limited by the browser anyways.
The last thing I need to do is import individual post content. Maybe it's because I'm not building fun features, but this last Wordpress import feels like such a slog. -
Checkin to Starbucks
by in Kanagawa, Japan