Publ: Development Blog

News and updates about Publ

Pushl v0.1.5

Posted Saturday, December 22 at 1:35 AM (5 years ago)

While I’m fixing random stuff in Publ, I figured I’d finally fix some problems with Pushl too. Nothing major here, just:

  • Stability: Fixed a bug where feeds that don’t declare links caused the worker to die before entries got processed
  • Performance: Now we use a global connection pool (so connections can be reused)
  • Fixed a minor correctness issue with archive feeds (which actually doesn’t make any difference in the real world but whatever)

v0.3.13 (spoooooky)

Posted Friday, December 21 at 11:29 PM (5 years ago)

Happy solstice! I seem to be finding lots of stuff to fix and improve these days. Huh.

Changes since v0.3.12:

  • Fixed a date display issue on databases other than SQLite
  • Fixed an issue where markup was being emitted in the <og:title> element for OpenGraph cards
  • Fixed a bug which prevented entry files from being moved (a side-effect of the Windows compatibility fixes)
  • Added the ability to override title sort
  • Also added the ability to use anchors on resolved entry links

Embedding webmention.io pings on your site

Posted Thursday, December 20 at 11:14 PM (5 years ago)

Are you using webmention.io as your webmention endpoint? Want to get your incoming webmentions displayed on your website?

Well you’re in luck, I wrote a simple-ish script for that. (You’ll probably also want to see the accompanying stylesheet too.) And it doesn’t even require that you use Publ – it should work with any CMS, static or dynamic. The only requirement is that you use either webmention.io or something that has a similar enough retrieval API.

I wrote more about it on my blog, where you can also see it in use. For now, I’m just going to use the sample site repository to manage it (and issues against it).

It’s MIT-licensed, so feel free to use it wherever and however you want and to modify it for your needs. I might improve it down the road but for now it’s mostly just a quick itch-scratching hack that does things the way I want it to.

v0.3.12: now we do Windows

Posted Sunday, December 16 at 11:36 PM (5 years ago)

Big news: I finally fixed a long-standing issue, where Publ wouldn’t work on Windows due to how Windows uses a different path separator from every other OS on the planet.

(Okay, to be fair, macOS technically does too; internally it has a path separator of : instead of /. But the POSIX API transparently hides that.)

Anyway, I’ve updated the getting started guide accordingly, and now it shouldn’t be any more inconvenient to build Publ sites from a Windows machine as from Linux or macOS.

Also a few other smol bug fixes, like max_width now works correctly on remote images where width isn’t specified.

I’ve also added a bunch more deployment HOWTOs although they’re in a very rough state right now. As always, I welcome assistance in this regard.

Below the cut, some more thoughts on federated identity.

v0.3.11

Posted Saturday, December 15 at 1:08 AM (5 years ago)

v0.3.11 is now released, with the following changes:

  • A more complete fix for how to handle image sets and inline images with respect to paragraphs
  • Better cleanup for spurious empty paragraphs
  • Improved internal entry link handling

Detailed descriptions of the changes are below.

v0.3.10 released

Posted Monday, December 10 at 8:37 PM (5 years ago)

Just some bug fixes with view caching and image handling; in particular, remote and static images will now respect max_width and max_height for the sizing, and I fixed the way that inline images work (insofar as now inline images can work).