Tag: perl

Utterson Renamed To Newcomen

While Utterson was a much nicer name, there already is a static blog generator with this name. So I decided to rename it to Newcomen, another character in Robert Louis Stevenson’s novella “The Strange Case of Dr. Jekyll and Mr. Hyde”. There are probably better names, but Newcomen had the same number of letters, saving me some potential reformatting work after the search and replace. Basically all I had to do was a

find . -type f -exec \
    sed -i 's/Utterson/Newcomen/g' {} \;

and rename a few files and folders. Due to the new name, I changed the version number of all modules to 2014052501, but apart from the name nothing has changed.

I also changed all previous blog posts, category and tag names. That wasn’t really necessary, but it’s easier to keep all related stuff in one place. So the URLs have changed, too, but you should be redirected to the new one if you try to access an old Utterson URL.

Formatter Caching In Newcomen

A new release of Newcomen is available. It introduces a mechanism to cache the results of formatter backends, improving the performance, as promised.

Formatters were applied to every content item before. Different content items made from the same source items would cause the formatter to run once for every item, even though the output would be the same for the same input. The new release fixes this and caches the results, to be reused if some content appears on another page. It shouldn’t cause any problems, but if it does, it can be disabled.

Read the full article…

Newcomen Released

The first public release of Newcomen, a static blog/website/content generator written in Perl, is now available.

It is more or less a beta release. All essential features are implemented and working (as far as I know), and I don’t think there will be a lot of incompatible changes in future releases. The next release(s) will focus on improving the performance, which — at the moment — sucks.

Check out this great example of a blog generated by Newcomen. ☺