Publ: Development Blog

Entries tagged import or process

Tests removed from main site

Posted Sunday, March 3 at 4:29 PM (6 months ago)

I finally got my first contribution to Publ, which is really great, but it led to me finally realizing that putting the smoke tests for the software in the main site wasn’t so great. So the tests have been moved into the library itself, so they’re only really visible to people who are actually working on the code for Publ itself.

Eventually I’ll make a “features” section that demonstrates the features of Publ instead, since some of the tests were used (clumsily) for that purpose.

While I’m here, I figured I’d mention that the day job’s website is now running on Publ. Woo.

An early-alpha Movable Type importer

Posted Wednesday, February 20 at 3:42 PM (7 months ago)

For those folks who want to import their content from Movable Type over to Publ, I’ve finally gotten around to writing an importer. Currently it only attempts to convert entry content and category metadata, and only using SQLite-formatted database dumps.

See its README.md for the (incredibly rough) usage instructions.

Eventually I want to try to automatically convert templates from MT’s scripting language to Jinja-Publ templates, although there’s a bunch of stuff that’s going to be difficult to port across and a lot of stuff is just plain not feasible to even try, so don’t expect that to become a major thing any time soon.