This post is being written on the 21st but will be published only tomorrow, the 22nd, the reason will follow.
Today is the birthday of a very good friend of mine ( we’ll call him Y ). He is celebrating together with 2 other friends (A and G) this evening. I’ve spent about 4 hours together with some buddies to try and find gifts, resulting in great presents found for the other 2 guys, but not for Y.
As I arrived back home, the idea just struck me. I decided to make a printed book version of a widely unpopular, fictional blog that he had written together with G. I will not link to the blog in order to keep their identity secret. (Identifying themselves with this blog will make them look quite mad, sick, twisted, and plain stupid).
I was very excited and highly motivated about this project. The time was 16:00. I set down to write a script in perl that will fetch me all the posts from the blog. Perl kept crashing for some reason, so I switched to python. The problem was that this blog (hosted on www.israblog.co.il) was nowhere near valid XHTML, and was lacking advanced RSS syndication (I later found out that there is an RSS feed, but only for the last posts). After 1.5 hours (17:30) I had a working script, using sgmlop – a library for python for SGML parsing (I’m still not sure what it means, but it worked). Only then did I realize, that there could be multiple pages per month. I gave up on trying to figure the number of pages and fetch the posts in each page, and I fell back to the simple method of Copy-Paste. In retrospect, the scripting time could have been used to finish it, If I had used the copy-paste method instead.
After some work (and with some help from a friend), I had all the posts in a Word document, in a chronological order, ready to be printed. Now I only had to figure out how to print it, so that the pages could be folded to form the booklets that form a binded book. As seen in the following illustration ( Notice that being an Hebrew speaker, I printed a right-to-left book, and so is the book in the diagram. For left-to-right, you’ll have to reverse the order ):
This is the base “structure” of our book. If you look at the point where the pages are attached to each other, in a hardcover book, you will notice the book is organized into several booklets that are binded together. I got a recommendation to have 5-6 pages (sheets of paper) from Here , but I ended up working with 7-pages booklets. Each sheet of paper is printed with 2 pages, on both sides, in landscape orientation.
In order to print those booklets ( the sample 2 sheets one in the diagram ) the pages have to be ordered as follows (again, for right-to-left books):
- first page – first side: A | H
- first page – second side: G | B
- second page – first side: C | F
- second page – second side: E | D
I knew most of the above at this point, but I had no idea about how I’m going to achieve this goal.
Then, a guy named Stephen, from Canada – who has been my team leader in two HL2 mod projects :Shock and Price of Peace – said ‘Hi’ on MSN. It turns out that he is some extreme Word guru, and that he had some free time (and, well, that he just couldn’t miss the opportunity to share his knowledge :P) so he decided to help me.
Our first approach was to use “Columns”. Found under the “Format” menu, it’s a neat feature that let you format your document into columns. The idea was that each page will have 2 columns, that will represent the pages in the booklet, and that the page will fold in between them. We discussed this option a bit, and I started my work. It basically consisted of having 2 open documents at a time – the original and the columned – and having to mix and match, using copy-paste, the different pages from the original, into the appropriate columns. It was certainly doable, but at the same time a nightmare, prone to errors and limits further editing.
Stephen then had an epiphany – he introduced me to a very cool feature in word called textbox linking. Apparently, it is possible to link two (or more) textboxes – in a certain order – so that when the text entered to the first textbox exceeds the textbox’s space, it flows into the next textbox in order. He sent me a file aptly named “Ben is so lucky to have me.doc” – I sure was. The file consisted of two large textboxes, set in a landscape oriented page, with equal margins etc.
From there, I’ve create my 7 pages booklet “template” [Edit – I thought that I should post a sample template , so here it is (left-to-right version) – click me], using linked textboxes, ordered as explained above. Now, all that was left was to paste the original document inside the first textbox, cut everything after the last line on the last textbox (it’s the rest of the document that won’t fit in the current booklet), print, and repeat.
2:25AM, stitching the booklets together, using the method explained in Here with some improvisation.
3:05AM – all done stitching, applied some glue over the stitches using improvised clamps. One hour left for the 12 hours mark – and I went to sleep . Well, I cheated on the title – it took a bit more than 24 Hours because you have to wait for the glue to dry. However, I think that now I can cut most of the time that went into research and printing failures, and meet the 24 hours limit.
Got up at 10:15AM – by now the glue has mostly dried, and we have a perfect (in first-time DIY scale…) cover-less book !
Time to create the cover. I cut three pieces of cardboard (not sure if that’s the right term, only familiar with the Hebrew name for it), two 16cm x 22cm for the sides and one 1.5cm x 22cm for the spine. I connected them using electric tape (that’s what I had around), the result :
Finally, applied glue to the cover and the spine, and let dry between two heavy books (with some metal parts on the stitched booklets, pushing them downwards):
It’s 11:20AM, so that’s 12 hours + 5 minutes. Now we just have to wait for the glue to dry, and then maybe decorate the cover.
At 16:00 – 24 hours mark – the glue was not fully dried, but I had to leave the house, and it was not only until around 22:00 that I had to deliver the present. So yes, not really 24 hours, as stated above, but it can be done in 24 hours !
I aimed (yeah right) for an underground look and feel, so I was ok with the cardboard and electric tape cover, but for the next time I’ll try to achieve higher quality (by covering it with some decorative paper etc). I’d also leave two empty pages, at the beginning and the end, to glue to the cover in order to secure the cover better, and hide the internal spine.
Anyway, I’ve linked to the sites that helped me, here are my thanks. I also greatly thank Stephen who really saved me. This post is getting way too long and unfocused, so if I find anything missing or not detailed enough, I’ll post a follow-up.
I can just tell you that the gift was a success , and that the cover fell off :(. It says on the cover of my glue ( I used carpenter’s glue, figured that both paper and cardboard are made of wood guess I should have used PVC glue ) that it takes 12-24 to completely dry, well, that’s a lesson for next time.