{"id":3797,"date":"2010-01-29T13:09:10","date_gmt":"2010-01-29T11:09:10","guid":{"rendered":"http:\/\/ospublish.constantvzw.org\/?p=3797"},"modified":"2010-02-08T00:08:37","modified_gmt":"2010-02-07T22:08:37","slug":"valentine-scripting","status":"publish","type":"post","link":"http:\/\/ospublish.constantvzw.org\/blog\/works\/valentine-scripting","title":{"rendered":"Valentine scripting"},"content":{"rendered":"

\"\"<\/a>
\nPoster and flyer designed and produced in OpenOffice<\/small><\/p>\n

This week and next, colleague and friend An Mertens<\/a> (a.k.a. Ana Foor) works out of the Elsene local library Sans Souci<\/a>. She’ll be listening to your account of meeting a loved one for the first time, those habits that keep your relationship alive or which imaginary place you would like to visit with your best friend. Just like an oldfashioned Ecrivain Public<\/em>, Ana Foor will transform these conversations into unique Valentine letters and -stories published on the fly. In the waiting room, a selection of (Dutch language) romantic literature is available, plus a choice of styles and formats presented in a catalog developed\/designed by OSP’s Femke, Ludivine, Ivan, Nicolas and Pierre M.
\n
\nFor practical and conceptual reasons, we wanted to produce the customised stories and letters with the help of the well-known word processing tool OpenOffice, and were curious to see what could happen if we’d use that same tool for designing and printing the catalog, poster and invitation too. Most of all we couldn’t resist to play with
odfpy<\/a>, a Python library that can generate .odt documents from scratch. It got us into various strange and exotic problems, just the way we like it \ud83d\ude42<\/p>\n

Templates<\/strong><\/p>\n

\"\"
\n
This form<\/a> lists all possible styles presented in the catalog<\/small><\/p>\n

We designed a set of 6 basic lay-outs mixed with 9 different decorative ‘spices’ and this for three different types of content (story, poem or letter). On top of that, there are three types of media to choose from (web, A4 sheet and booklet). To help identify each of the styles, we came up with a flexible system of re-combinatorial template names that also somehow explains how the project works:<\/p>\n