Publ: Development Blog

News and updates about Publ

Publ v0.3.16

Posted Wednesday, February 20 at 9:45 PM (5 years ago)

Just another minor release of Publ! Mostly bugfixes. Here’s what’s new:

  • Fixed an issue with HTML <img> rewriting with non-lowercase attribute names
  • Fixed a bug with missing entries causing Publ to die when it tried to remove them from the index
  • Added category.root
  • Some code cleanups, especially removing some unneeded backwards compatibility shims for unsupported versions of Python
  • Redirect-To will now resolve link targets

Relatedly to category.root, I’d neglected to add category.breadcrumb to the manual when that functionality went in, and I’ve also added some usage examples, including something useful for fancy navigation bars.

An early-alpha Movable Type importer

Posted Wednesday, February 20 at 3:42 PM (5 years 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.