Dogfood, September 2016 edition

By Serdar Yegulalp | 2016/09/02 15:00

There hasn't been much progress with Mercury this month -- other things have me by the tail -- but I have some improvements to note.

Publishing queue cleanup for templates

This is a work-in-progress -- the way the publishing queue works for templates (e.g., pushing all files related to a given template to the queue) has been reworked. It's far from where I want it to be, but it's unquestionably better than before.

Proper XML escaping functionality

The new core.utils.xml_escape function provides escaping of & signs when included in XML. This proved useful when I realized some of my themes were generating invalid RSS feeds because of ampersands in titles and whatnot.

Editable KVs

Previously, if you wanted to edit a key-value object, you had to delete it and re-enter it. Clicking on an existing KV object will pop open a modal window that will let you edit the key and value directly. This is really handy for when you have a large, complex KV that is a pain to re-enter each time you want to make a change to it.

Manual media insertion

It's now possible to insert media into a page that's already been uploaded to a blog, but isn't available in the media list for the current page. Right now the interface for this is a little clunky -- you have to provide a media ID number manually -- but you can pop open the media browser in another tab and look up the number there.

Tags: dogfooding key-value media publishing queue

comments powered by Disqus