<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>
<channel>
	<title>Bram.us &#187; The Box Office</title>
	<atom:link href="http://www.bram.us/category/projects/the-box-office/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bram.us</link>
	<description>A rather geeky/technical weblog by Bram(us) Van Damme</description>
	<lastBuildDate>Fri, 03 Feb 2012 12:33:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>My Lazy Saturday (My Box Office 0.4.2)</title>
		<link>http://www.bram.us/2007/01/06/my-lazy-saturday-my-box-office-042/</link>
		<comments>http://www.bram.us/2007/01/06/my-lazy-saturday-my-box-office-042/#comments</comments>
		<pubDate>Sat, 06 Jan 2007 17:16:41 +0000</pubDate>
		<dc:creator>Bramus!</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[The Box Office]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<guid isPermaLink="false">http://www.bram.us/2007/01/06/my-lazy-saturday-my-box-office-042/</guid>
		<description><![CDATA[The Box Office, the tool to wrap text around a freeform image by using CSS (CSS text wrap), got updated to version 0.4.2. Changes in this version are: Fixed the bug that got introduced in the last version.(the ignored whitespace &#8230; <a href="http://www.bram.us/2007/01/06/my-lazy-saturday-my-box-office-042/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img title="The Box Office" style="margin: 0px 10px 5px 0px; display: block; float: left" id="image167" alt="The Box Office" src="http://www.bram.us/wordpress/wp-content/uploads/2006/06/theboxofficeicon.jpg" /><a href="http://www.theboxoffice.be/" title="The Box Office - Automatically wrap text around freeform images using XHTML and CSS">The Box Office</a>, the tool to <strong>wrap text around a freeform image by using CSS (<em>CSS text wrap</em>)</strong>, got updated to version <strong>0.4.2</strong>.</p>
<p style="clear: both;"><span id="more-355"></span></p>
<p>Changes in this version are:</p>
<ul>
<li>Fixed the bug that got introduced in the last version.<br />(<em>the ignored whitespace problem</em>)</li>
</ul>
<p>Go check out the changes yourself over at <a href="http://www.theboxoffice.be/" title="The Box Office - Automatically wrap text around freeform images using XHTML and CSS">http://www.theboxoffice.be/</a></p>
<p style="text-align: center;"><img id="image356" src="http://www.bram.us/wordpress/wp-content/uploads/2007/01/the_box_office-0_4_2.jpg" title="The Box Office 0.4.2" alt="The Box Office 0.4.2" /></p>
<p>Reason the bug got fixed only now is that today actually is the first free (as in &#8216;no obligations&#8217;) Saturday I&#8217;ve had in a long time (and this due the fact that we had a scouting activity from 6 till 8 this morning &#8211; tnx to Mathias for calling me, or I would&#8217;ve kept on snoozing &#8211; instead  of the normal from 2 till 5 in the afternoon).</p>
<p>Planned on doing some more (UX) changes in the future but that&#8217;ll be for the next Lazy Saturday (TM), if one should occur&#8230;</p>
<p>B!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bram.us/2007/01/06/my-lazy-saturday-my-box-office-042/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Box Office 0.4.1</title>
		<link>http://www.bram.us/2006/06/01/my-box-office-041/</link>
		<comments>http://www.bram.us/2006/06/01/my-box-office-041/#comments</comments>
		<pubDate>Thu, 01 Jun 2006 20:19:53 +0000</pubDate>
		<dc:creator>Bramus!</dc:creator>
				<category><![CDATA[Another Dailie]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[The Box Office]]></category>
		<guid isPermaLink="false">http://www.bram.us/2006/06/01/my-box-office-041/</guid>
		<description><![CDATA[The Box Office got updated to version 0.4.1 somewhere last week. Here&#8217;s what has been changed (not much though): Changed internal remote file handling after servermove This results in the fact that even GIF files are now valid to enter. &#8230; <a href="http://www.bram.us/2006/06/01/my-box-office-041/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img title="The Box Office" style="margin: 0px 10px 5px 0px; display: block; float: left" id="image167" alt="The Box Office" src="http://www.bram.us/wordpress/wp-content/uploads/2006/06/theboxofficeicon.jpg" /><a title="The Box Office" href="http://www.theboxoffice.be/">The Box Office</a> got updated to version 0.4.1 somewhere last week.</p>
<p><span id="more-168"></span></p>
<p style="clear: both">Here&#8217;s what has been changed (not much though):</p>
<ul>
<li>Changed internal remote file handling after servermove</li>
<li>This results in the fact that even GIF files are now valid to enter.<br />
Though, when having a gif with whitespace at its top (<a title="http://www.fredcrystal.com/circle.gif" href="http://www.fredcrystal.com/circle.gif"><em>http://www.fredcrystal.com/circle.gif</em></a> for example), the whitespace is misteriously ignored&#8230;</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.bram.us/2006/06/01/my-box-office-041/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The Box Office 0.4 &#8211; Finally here!</title>
		<link>http://www.bram.us/2005/12/13/the-box-office-04-finally-here/</link>
		<comments>http://www.bram.us/2005/12/13/the-box-office-04-finally-here/#comments</comments>
		<pubDate>Tue, 13 Dec 2005 20:29:48 +0000</pubDate>
		<dc:creator>Bramus!</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[The Box Office]]></category>
		<guid isPermaLink="false">http://www.bram.us/2005/12/13/the-box-office-04-finally-here/</guid>
		<description><![CDATA[Well, it took some time since I first announced it (erm, 5 months to be exactly), but finally, The Box Office 0.4 has landed! 3 steps of separation : Define &#8211; Adjust &#8211; Result Drag support for manual adjustments Added &#8230; <a href="http://www.bram.us/2005/12/13/the-box-office-04-finally-here/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Well, it took some time since I <a title="http://www.bram.us/2005/07/13/the-box-office-04-soon/" href="http://www.bram.us/2005/07/13/the-box-office-04-soon/">first announced it</a> (erm, 5 months to be exactly), but finally, <a title="The Box Office" href="http://www.theboxoffice.be/">The Box Office 0.4</a> has landed!</p>
<ul>
<li>3 steps of separation : Define &#8211; Adjust &#8211; Result</li>
<li>Drag support for manual adjustments</li>
<li>Added extra padding option</li>
<li>New and improved website</li>
</ul>
<p>Go check it out yourself at <del>http://www.bram.us/_theboxoffice/</del> <ins><a title="The Box Office" href="http://www.theboxoffice.be/">http://www.theboxoffice.be/</a></ins></p>
<p>B!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bram.us/2005/12/13/the-box-office-04-finally-here/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Box Office 0.4 &#8230; Soon</title>
		<link>http://www.bram.us/2005/07/13/the-box-office-04-soon/</link>
		<comments>http://www.bram.us/2005/07/13/the-box-office-04-soon/#comments</comments>
		<pubDate>Wed, 13 Jul 2005 21:46:14 +0000</pubDate>
		<dc:creator>Bramus!</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[The Box Office]]></category>
		<guid isPermaLink="false">http://www.bram.us/2005/07/13/the-box-office-04-soon/</guid>
		<description><![CDATA[The Box Office version 0.4 is near completion and it&#8217;ll be all about improved user-experience The Box Office 0.4 will feature a nifty 3 step system which will be extremely easy to use: Step 1 &#8211; define : enter parameters &#8230; <a href="http://www.bram.us/2005/07/13/the-box-office-04-soon/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a title="The Box Office" href="http://www.theboxoffice.be/">The Box Office</a> version 0.4 is near completion and it&#8217;ll be all about <strong>improved user-experience</strong></p>
<p><span id="more-226"></span></p>
<p>The Box Office 0.4 will feature a nifty 3 step system which will be extremely easy to use:</p>
<ul>
<li><em>Step 1 &#8211; define</em> : enter parameters (like it is now)</li>
<li><em>Step 2 &#8211; adjust</em> : view what The Box Office spits out and adjust the generated stuff just by dragging and moving the elements around</li>
<li><em>Step 3 &#8211; confirm</em> : receive a piece of code which is easy to copy-n-paste for usage</li>
</ul>
<p>Other minor improvements will also be implemented.</p>
<p>Expect this new version soon , but not that soon <img src='http://www.bram.us/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>cu</p>
<p>B!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bram.us/2005/07/13/the-box-office-04-soon/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The Box Office 0.3</title>
		<link>http://www.bram.us/2005/05/24/the-box-office-03/</link>
		<comments>http://www.bram.us/2005/05/24/the-box-office-03/#comments</comments>
		<pubDate>Tue, 24 May 2005 17:30:45 +0000</pubDate>
		<dc:creator>Bramus!</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[The Box Office]]></category>
		<guid isPermaLink="false">http://www.bram.us/2005/05/24/the-box-office-03/</guid>
		<description><![CDATA[Yeah, it&#8217;s here. Changes since last version: Added support for images with the content on the right Script now checks for approximations of the ignore color instead of an exact match URL still is http://www.bram.us/_theboxoffice/ http://www.theboxoffice.be/ Enjoy! B!]]></description>
			<content:encoded><![CDATA[<p>Yeah, it&#8217;s here.</p>
<p>Changes since last version:</p>
<ul>
<li>Added support for images with the content on the right</li>
<li>Script now checks for approximations of the ignore color instead of an exact match</li>
</ul>
<p>URL still is <del>http://www.bram.us/_theboxoffice/</del> <ins><a title="The Box Office" href="http://www.theboxoffice.be/">http://www.theboxoffice.be/</a></ins></p>
<p>Enjoy!</p>
<p>B!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bram.us/2005/05/24/the-box-office-03/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Box Office 0.2</title>
		<link>http://www.bram.us/2005/05/18/the-box-office-02/</link>
		<comments>http://www.bram.us/2005/05/18/the-box-office-02/#comments</comments>
		<pubDate>Wed, 18 May 2005 19:22:45 +0000</pubDate>
		<dc:creator>Bramus!</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[The Box Office]]></category>
		<guid isPermaLink="false">http://www.bram.us/2006/08/22/the-box-office-02/</guid>
		<description><![CDATA[Already an update on this one: It&#8217;s now platform independant cos&#8217; it has been converted to PHP!. Above that you can test it too! One URL to spread: http://www.bram.us/_theboxoffice/ http://www.theboxoffice.be/ Enjoy! Bramus!]]></description>
			<content:encoded><![CDATA[<p>Already an update on this one: <strong>It&#8217;s now platform independant cos&#8217; it has been converted to PHP!</strong>. Above that you can test it too!</p>
<p>One URL to spread: <del>http://www.bram.us/_theboxoffice/</del> <ins><a title="The Box Office" href="http://www.theboxoffice.be/">http://www.theboxoffice.be/</a></ins></p>
<p>Enjoy!</p>
<p>Bramus!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bram.us/2005/05/18/the-box-office-02/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Box Office : Automating a time-consuming job</title>
		<link>http://www.bram.us/2005/05/17/the-box-office-automating-a-time-consuming-job/</link>
		<comments>http://www.bram.us/2005/05/17/the-box-office-automating-a-time-consuming-job/#comments</comments>
		<pubDate>Tue, 17 May 2005 16:32:00 +0000</pubDate>
		<dc:creator>Bramus!</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[The Box Office]]></category>
		<guid isPermaLink="false">http://www.bram.us/2005/05/17/the-box-office-automating-a-time-consuming-job/</guid>
		<description><![CDATA[Mike from Mikeindustries has launched his second iPod Giveaway. Hurray hurray &#8230; but why I am then talking about &#8220;the box office&#8221; and &#8220;automating a time-consuming job&#8221;? Let me start at the beginning. At the iPod giveaway page Mike uses &#8230; <a href="http://www.bram.us/2005/05/17/the-box-office-automating-a-time-consuming-job/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Mike from <a title="http://www.mikeindustries.com/" href="http://www.mikeindustries.com/">Mikeindustries</a> has launched his second <a title="iPod Giveaway" href="http://www.mikeindustries.com/blog/archive/2005/05/ipod-giveaway-2">iPod Giveaway</a>.</p>
<p>Hurray hurray &#8230; but why I am then talking about &#8220;the box office&#8221; and &#8220;automating a time-consuming job&#8221;?</p>
<p><span id="more-230"></span></p>
<p>Let me start at the beginning. At the iPod giveaway page Mike uses a nice trick: the usage of empty div&#8217;s so that the text is aligned next to the countour of the image:</p>
<p style="text-align: center;"><img id="image265" src="http://www.bram.us/wordpress/wp-content/uploads/2006/10/mike_snap.jpg" alt="mike_snap.jpg" /></p>
<p>You, you don&#8217;t see the divs cos&#8217; they just are empty. Using a handy <a title="Bookmarklets" href="http://www.squarefree.com/bookmarklets/webdevel.html">Bookmarklet</a> called <em>topo with borders</em> we can make them visible though:</p>
<p style="text-align: center;"><img id="image266" src="http://www.bram.us/wordpress/wp-content/uploads/2006/10/mike_snap_topo.jpg" alt="mike_snap_topo.jpg" /></p>
<p>When looking at the source, you can see that Mike has put loads of work into it &#8230; always creating div&#8217;s with the height set to the line height of the text (17px in his case) and then stretching it out.</p>
<p>Since I am lame at doing stuff manually, the idea of creating a program that automates this popped up into my head.</p>
<p>1 hour and some cursing later, &#8220;The Box Office 0.1&#8243; was put to the test and considered rather okay for a 0.1 <img src='http://www.bram.us/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The program reads in an image file that you specify, along with some parameters:</p>
<ul>
<li>the used line-height</li>
<li>the color that is considered as ignorable</li>
<li>the position where to float the divs</li>
</ul>
<p>In Mike&#8217;s case the line-height is <strong>17</strong>, the ignore-color is <strong>#FFFFFF</strong> and the position is <strong>left</strong>, cos that&#8217;s where the actual image is.</p>
<p>So I&#8217;ve created myself a (very ugly) <a href="http://www.bram.us/wordpress/wp-content/uploads/2006/10/boxofficetest3.jpg" alt="boxofficetest3.jpg" title="" />test image</a> and let &#8220;The Box Office&#8221; do it&#8217;s job.</p>
<p style="text-align: center;"><img id="image264" src="http://www.bram.us/wordpress/wp-content/uploads/2006/10/boxoffice_0.1.jpg" alt="boxoffice_0.1.jpg" /></p>
<p>And yes, the following code popped out:</p>
<pre class="brush: xml; title: ; notranslate">&lt;!-- BEGIN AUTO GENERATED BY &quot;THE BOX OFFICE 0.1&quot; - BY BRAMUS!- HTTP://BRAM.US/ --&gt;
&lt;div style=&quot;height: 20px; width: 233px; float: left; clear: left;&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;height: 20px; width: 241px; float: left; clear: left;&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;height: 20px; width: 241px; float: left; clear: left;&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;height: 20px; width: 241px; float: left; clear: left;&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;height: 20px; width: 241px; float: left; clear: left;&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;height: 20px; width: 233px; float: left; clear: left;&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;height: 20px; width: 177px; float: left; clear: left;&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;height: 20px; width: 121px; float: left; clear: left;&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;height: 20px; width: 97px; float: left; clear: left;&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;height: 20px; width: 89px; float: left; clear: left;&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;height: 20px; width: 73px; float: left; clear: left;&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;height: 20px; width: 73px; float: left; clear: left;&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;height: 20px; width: 89px; float: left; clear: left;&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;height: 20px; width: 97px; float: left; clear: left;&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;height: 20px; width: 137px; float: left; clear: left;&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;height: 20px; width: 185px; float: left; clear: left;&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;height: 20px; width: 201px; float: left; clear: left;&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;height: 20px; width: 209px; float: left; clear: left;&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;height: 20px; width: 209px; float: left; clear: left;&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;height: 20px; width: 209px; float: left; clear: left;&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;height: 20px; width: 209px; float: left; clear: left;&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;height: 20px; width: 201px; float: left; clear: left;&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;height: 20px; width: 177px; float: left; clear: left;&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;height: 20px; width: 153px; float: left; clear: left;&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;height: 20px; width: 121px; float: left; clear: left;&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;height: 20px; width: 113px; float: left; clear: left;&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;height: 20px; width: 105px; float: left; clear: left;&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;height: 20px; width: 95px; float: left; clear: left;&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;height: 20px; width: 95px; float: left; clear: left;&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;height: 20px; width: 97px; float: left; clear: left;&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;!-- END AUTO GENERATED BY &quot;THE BOX OFFICE 0.1&quot; - BY BRAMUS!- HTTP://BRAM.US/ --&gt;</pre>
<p>When placing all that code into testpage, one can see that the result is quite the wanted effect! <img src='http://www.bram.us/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style="text-align: center;"><img id="image268" src="http://www.bram.us/wordpress/wp-content/uploads/2006/10/boxoffice_0.1_result.jpg" alt="boxoffice_0.1_result.jpg" /><br />Screenshot of the testpage, with the text highlighted.</p>
<p>So why is this program still 0.1 and not available for download?</p>
<p>Plain simple:</p>
<ul>
<li>the ignore color option doesn&#8217;t work yet (currently it is fixed to #FFFFFF)</li>
<li>the float param doesn&#8217;t work yet (currently it is fixed to &#8220;left&#8221;), although it&#8217;s only a minor adaptation to make it accept &#8220;right&#8221; too (the loop just has to go backwards)</li>
<li>Only works with images that don&#8217;t have the ignore color as first vertical row per bar</li>
</ul>
<p>This last item can actually be ignored a bit, since the program does like over 90% of the job. You then can manually adjust it by messing in the generated code, or by using your favorite editor <img src='http://www.bram.us/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>So far my talking about this, expect more soon <img src='http://www.bram.us/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>cu</p>
<p>Bramus!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bram.us/2005/05/17/the-box-office-automating-a-time-consuming-job/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

