-
Just finished migrating my blog to Tanzawa! Got some CSS tweaks to make, but super pumped! π
-
by
Transferred my past project pages, which are more evergreen non-streamy data to my garden. With that finished I just need to find an hour for the migration from Wordpress to Tanzawa.
-
byI think I've done it. I got all post content importing how I'd like. I've got view to redirect requests to old Wordpress post urls / categories / categories feeds to their new uuid based permalink. I can customize the site name. And I've added pagination to all of the public views.
Now all I have to do is actually make the switch! -
byGot image rewriting working so all posts will use the Tanzawa standard photo insert...and noticed a bug when I import images.
Photos taken with an iPhone rely on the exif data to indicate the proper orientation. However, I strip all exif data from photos when I save them for saving size and enhancing privacy....
No exif data to orient the image and vertical images appear sideways. Β The solution is simple: Β rotate the image before stripping / extracting the exif data. Thankfully the fix is simple. -
Checkin to Starbucks
by in Kanagawa, Japanγγ£γͺγ§γγγγ©γ³γη΅γγ£γγγε·ηγ γΌ -
byI've got streams being set properly for each category. The last bit is to clean up the content automatically and rewrite / swap out image tags. Particularly photos posted with Sunlit. Posts made with Sunlit are displayed as an <a> tag (which links to your original image with a "-scaled" suffix) and an <img> tag with a source that proxies through micro.blog.
It also has an attachment of the second photo, which I am automatically inserting into the post.
I need to extract all <a> tags, detect if their href attribute has a "-scaled" in it, and strip that. Then I can look in my database for that attachment entry in my db and rewrite the tag as a Tanzawa image insert. Shouldn't take too long. Maybe tomorrow. -
byThere's light at the end of the tunnel. I can import all of my post content, including check meta-data, bookmark urls β everything. The only remaining tasks is to build a custom 404 handler that will redirect visits to the old Wordpress urls to their new Tanzawa permalinks and to use the configured Category -> Stream mapping record.
-
Checkin to Iida Farm (ι£―η°η§ε ΄)
Took the bike to get some fresh gelato π -
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.