<?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; Projects</title>
	<atom:link href="http://www.bram.us/category/projects/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>Sat, 04 Feb 2012 11:59:08 +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>Introducing Yummy! &#8212; A self hosted Delicious</title>
		<link>http://www.bram.us/2010/12/21/introducing-yummy-a-self-hosted-delicious/</link>
		<comments>http://www.bram.us/2010/12/21/introducing-yummy-a-self-hosted-delicious/#comments</comments>
		<pubDate>Tue, 21 Dec 2010 14:19:33 +0000</pubDate>
		<dc:creator>Bramus!</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[delicious]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[yummy]]></category>
		<guid isPermaLink="false">http://www.bram.us/?p=2777</guid>
		<description><![CDATA[After having quickly written DeliciousBackup I couldn&#8217;t resist myself into adding a wee bit more functionality to it. The result is a project called Yummy!. It&#8217;s goal: to become a self hosted Delicious. New and improved One of the new &#8230; <a href="http://www.bram.us/2010/12/21/introducing-yummy-a-self-hosted-delicious/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><span style="display: block; width: 48px; height: 48px; padding: 22px; float: left; margin: 0 10px 10px 0;"><img src="http://www.bram.us/wordpress/wp-content/uploads/2010/12/logo.png" title="Yummy!"></span>After having quickly written <a href="http://www.bram.us/2010/12/16/deliciousbackup-running-a-local-browsable-backup-of-your-delicous-bookmarks/">DeliciousBackup</a> I couldn&#8217;t resist myself into adding a wee bit more functionality to it. The result is a project called <a href="http://github.com/bramus/yummy">Yummy!</a>. It&#8217;s goal: to become a self hosted Delicious.<br style="clear: both;" /></p>
<p><span id="more-2777"></span></p>
<h3>New and improved</h3>
<p>One of the new features in Yummy! which immediately stands out is that it&#8217;s been styled in a true Delicious-style, making it more attractive. Other visible features include the pagination and tags list.</p>
<p style="text-align: center;"><a href="http://farm6.static.flickr.com/5207/5280321300_c529c7d42a_o.png" title="Yummy! — A self hosted Delicious (version 2.1)" rel="lightbox"><img alt="" src="http://farm6.static.flickr.com/5207/5280321300_ec476b3bbd_z.jpg" title="Yummy! — A self hosted Delicious (version 2.1)" class="alignnone" width="425" height="640" /></a></p>
<p>With this version, private links are also hidden unless one is logged in. What&#8217;s also possible is something called <em>tag plussing</em>: you can filter out links having multiple tags (click on a related tag from the related tags list and you&#8217;re there).</p>
<p>In the back, most of the queries have been rewritten to support the mentioned <em>tag plussing</em>. Along with that I&#8217;ve also wiped out that one ugly (and slow) subquery which sported DeliciousBackup <img src='http://www.bram.us/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Finally, Yummy! also sports nice urls and comes with a simple installer.</p>
<h3>Plonk</h3>
<p>Codewise, Yummy! is now OO driven and based upon a little PHP library called <strong>Plonk</strong>, which I developed to use in the PHP courses I&#8217;m teaching. Plonk itself partially inspired upon <a href="http://www.spoon-library.com/">Spoon Library</a>, which is the library of my choice (Since Yummy! isn&#8217;t that big I found Plonk to be more than sufficient).</p>
<p>I&#8217;m quite sure you&#8217;ll find some suggestions for Plonk, feel free to send them over. Please do note that I&#8217;ve deliberately kept some stuff in Plonk low-tech to not discourage my students when learning it &mdash; Spoon&#8217;s Template class for example is a few 100 times more powerful than Plonk&#8217;s <img src='http://www.bram.us/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<h3>Download and installing Yummy!</h3>
<p>Yummy&#8217;s source code can be found over at GitHub. Installation instructions are provided in the attached <code>readme.md</code> file.</p>
<p style="text-align: center; padding: 12px 0;"><a href="https://github.com/bramus/yummy" class="button button-big"><strong>&#9660;</strong> Download Yummy! from GitHub</a></p>
<h3>The Future, Feature Requests &amp; Bugs</h3>
<p>For now, Yummy! only lets you browse your imported links. Planned features of course are the ability add and edit links. Providing an RSS feed is also on the menu. If you&#8217;ve got some features or have found a bug, feel free to suggest/mention them via <a href="https://github.com/bramus/yummy/issues">Yummy&#8217;s issues page on GitHub</a>, or Fork off and do a pull request after you&#8217;ve implemented/fixed it <img src='http://www.bram.us/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.bram.us/2010/12/21/introducing-yummy-a-self-hosted-delicious/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Introducing Gowalla Missing Items Location Finder (Gowalla MILF)</title>
		<link>http://www.bram.us/2010/08/12/introducing-gowalla-missing-items-location-finder-gowalla-milf/</link>
		<comments>http://www.bram.us/2010/08/12/introducing-gowalla-missing-items-location-finder-gowalla-milf/#comments</comments>
		<pubDate>Thu, 12 Aug 2010 15:51:46 +0000</pubDate>
		<dc:creator>Bramus!</dc:creator>
				<category><![CDATA[Another Dailie]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[gowalla]]></category>
		<category><![CDATA[location]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[webapp]]></category>
		<guid isPermaLink="false">http://www.bram.us/?p=2536</guid>
		<description><![CDATA[Today I released a tool named Gowalla Missing Items Location Finder (Gowalla MILF for short) which lets you locate Gowalla spots near you which contain items which are missing from your vault. Gowalla Missing Items Location Finder &#8212; Welcome Screen &#8230; <a href="http://www.bram.us/2010/08/12/introducing-gowalla-missing-items-location-finder-gowalla-milf/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p class="clearfix"><img src="http://www.bram.us/wordpress/wp-content/uploads/2010/08/gowalla_original.jpg" alt="" title="" style="display: block; width: 80px; height: 80px; float: left; margin: 10px 10px 0 0" />Today I released a tool named <a href="http://gowallamilf.bram.us/">Gowalla Missing Items Location Finder</a> (<a href="http://gowallamilf.bram.us/">Gowalla MILF</a> for short) which lets you locate <a href="http://www.gowalla.com/">Gowalla</a> spots near you which contain items which are missing from your vault.<span id="more-2536"></span></p>
<p style="text-align: center;"><a href="http://farm5.static.flickr.com/4117/4884812389_8409ae0f55_b.jpg" title="Gowalla Missing Items Location Finder &mdash; Welcome Screen" rel="lightbox[gmilf]"><img src="http://farm5.static.flickr.com/4117/4884812389_8409ae0f55.jpg" alt="Gowalla Missing Items Location Finder &mdash; Welcome Screen" /></a><br /><em>Gowalla Missing Items Location Finder &mdash; Welcome Screen</em></p>
<h3>Development</h3>
<p>The project was built in an afternoon, excluding the time fiddling with the (basic) <a href="http://gowalla.com/api/docs">Gowalla API</a> and excluding the styling. Under the hood of Gowalla MILF one can find PHP, <a href="http://www.spoon-library.com/">Spoon Library</a>, <a href="http://github.com/Dextro/Google-Geocoding-Class">Google-Geocoding-Class</a> along with some extra custom classes such as one which communicates with the Gowalla API. Other technologies used are <a href="http://code.google.com/apis/maps/documentation/javascript/v2/">Google Maps (V2)</a> and <a href="http://jquery.com/">jQuery</a>.</p>
<p style="text-align: center;"><a href="http://farm5.static.flickr.com/4118/4884812603_c9acd9e5b7_b.jpg" title="Gowalla Missing Items Location Finder &mdash; The results" rel="lightbox[gmilf]"><img src="http://farm5.static.flickr.com/4118/4884812603_c9acd9e5b7.jpg" alt="Gowalla Missing Items Location Finder &mdash; The Results" /></a><br /><em>Gowalla Missing Items Location Finder &mdash; The Results</em></p>
<p>A vast amount of time was spent on minimizing the load on both my server and the Gowalla (API) server:</p>
<ul>
<li>Templates are pre-compiled, which is done by Spoon itself.</li>
<li>All calls made to the API are cached into a database for two hours. This to prevent hitting a rate limit (is there any?)</li>
<li>The coordinates used for fetching of the locations/items near a lat-lng pair are rounded to three digits, resulting in the same API calls for two sets of coordinates which are very close to eachother (and resulting in more cache hits).</li>
<li>The transparent images used &#8211; which are fetched from Gowalla and then processed by PHP &#8211; are cached on disk, taking some load off my server when the same image is requested over and over.</li>
</ul>
<p><del datetime="2010-08-18T19:05:37+00:00">For now the tool does not use Gowalla&#8217;s OAuth capabilities as I wanted to keep it simple to implement. However, OAuth might make into it as it would no long require one to have Gowalla Passport Security set to <em>off</em> whilst fechting his/her user info.</del> <ins datetime="2010-08-18T19:05:37+00:00">Gowalla MILF now sports OAuth, <a href="http://www.bram.us/2010/08/17/gowalla-milf-now-with-oauth/">read the announcement here</a>.</ins></p>
<h3>Design</h3>
<p>The design &mdash; if you can call that a design &mdash; is pretty straight forward and is built around the main map which one can see. Below are some extra screenshots of some special scenarios that might appear <em>(no location, no items, no interesting spots or no spots at all)</em></p>
<p style="text-align: center;"><a href="http://farm5.static.flickr.com/4141/4885018297_943d6d8b6b_b.jpg" title="Gowalla Missing Items Location Finder &mdash; No location (hometown not set)" rel="lightbox[gmilf]"><img src="http://farm5.static.flickr.com/4141/4885018297_943d6d8b6b.jpg" alt="Gowalla Missing Items Location Finder &mdash; No location (hometown not set)" /></a><br /><em>Gowalla Missing Items Location Finder &mdash; No location (hometown not set)</em></p>
<p style="text-align: center;"><a href="http://farm5.static.flickr.com/4073/4885615970_8ef66bf732_b.jpg" title="Gowalla Missing Items Location Finder &mdash; Passport Privacy (No items)" rel="lightbox[gmilf]"><img src="http://farm5.static.flickr.com/4073/4885615970_8ef66bf732.jpg" alt="Gowalla Missing Items Location Finder &mdash; Passport Privacy (No items)" /></a><br /><em>Gowalla Missing Items Location Finder &mdash; Passport Privacy (No items)</em></p>
<p style="text-align: center;"><a href="http://farm5.static.flickr.com/4136/4885014009_6b2fbfc930_b.jpg" title="Gowalla Missing Items Location Finder &mdash; No loot (no interesting spots around here)" rel="lightbox[gmilf]"><img src="http://farm5.static.flickr.com/4136/4885014009_6b2fbfc930.jpg" alt="Gowalla Missing Items Location Finder &mdash; No loot (no interesting spots around here)" /></a><br /><em>Gowalla Missing Items Location Finder &mdash; No loot (no interesting spots around here)</em></p>
<p style="text-align: center;"><a href="http://farm5.static.flickr.com/4118/4885014323_43db99636d_b.jpg" title="Gowalla Missing Items Location Finder &mdash; No dice (no spots around here)" rel="lightbox[gmilf]"><img src="http://farm5.static.flickr.com/4118/4885014323_43db99636d.jpg" alt="Gowalla Missing Items Location Finder &mdash; No dice (no spots around here)" /></a><br /><em>Gowalla Missing Items Location Finder &mdash; No dice (no spots around here)</em></p>
<p>The used icons in the sidebar were all found via <a href="http://iconfinder.net/">iconfinder.net</a></p>
<p>Happy item hunting! Now, go check out <a href="http://gowallamilf.bram.us/">Gowalla Missing Items Location Finder</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bram.us/2010/08/12/introducing-gowalla-missing-items-location-finder-gowalla-milf/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Accessing data saved in the class property of DOM-elements with jQuery</title>
		<link>http://www.bram.us/2009/02/09/accessing-data-saved-in-the-class-property-of-dom-elements-with-jquery/</link>
		<comments>http://www.bram.us/2009/02/09/accessing-data-saved-in-the-class-property-of-dom-elements-with-jquery/#comments</comments>
		<pubDate>Mon, 09 Feb 2009 20:01:56 +0000</pubDate>
		<dc:creator>Bramus!</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[plugin]]></category>
		<guid isPermaLink="false">http://www.bram.us/?p=1914</guid>
		<description><![CDATA[A few weeks ago former colleague Jurriaan wrote a PrototypeJS extension to accessing data stored within classes of HTML elements. Basically it comes down to assigning extra classes (classes such as gender_male for example, which represent a property and a &#8230; <a href="http://www.bram.us/2009/02/09/accessing-data-saved-in-the-class-property-of-dom-elements-with-jquery/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img src="/wordpress/wp-content/uploads/2008/10/jquery.gif" style="display: block; float: left; margin: 0 10px 10px 0;" alt="" title="" />A few weeks ago former colleague <a href="http://www.jurriaanpersyn.com/">Jurriaan</a> wrote <a href="http://www.jurriaanpersyn.com/archives/2009/01/21/accessing-data-saved-in-the-class-property-of-dom-elements-with-prototype/">a PrototypeJS extension to accessing data stored within classes of HTML elements</a>. Basically it comes down to assigning extra classes (<em>classes such as <code>gender_male</code> for example, which represent a property and a value</em>) on an element, which you then read/write via Jurriaan&#8217;s extension. As this way of assigning data is a technique I&#8217;ve been using too, I took the liberty of writing a jQuery blend of his script.</p>
<p><span id="more-1914"></span></p>
<h2>Ow ow, what is this all about?</h2>
<div class="BramusBlock">
<p>I suggest you read <a href="http://www.jurriaanpersyn.com/archives/2009/01/21/accessing-data-saved-in-the-class-property-of-dom-elements-with-prototype/">Jurriaan&#8217;s excellent post on the subject</a> if you&#8217;re not acquainted with the subject. It situates the problem and explains the necessity of this plugin.</div>
<h2>Cool, any demo?</h2>
<div class="BramusBlock">
<p>Elementary my dear Watson, elementary:</p>
<p style="text-align: center;"><a href="http://www.bram.us/demo/projects/jquery_classdata/" title="jQuery ClassData Demo"><img src="http://www.bram.us/wordpress/wp-content/uploads/2009/02/jquery-classdata-demo.gif" alt="" title="jQuery ClassData Demo" width="500" height="132" class="alignnone size-full wp-image-1919" /></a></p>
</div>
<h2>Gimme gimme gimme (Download)!</h2>
<div class="BramusBlock">
<p><a href="https://github.com/bramus/jquery_classdata/">Find the source on GitHub</a> (click on the Download button)</p>
</div>
<h2>Okay I downloaded it: How to I use this thing / Any differences between yours and Jurriaan&#8217;s version?</h2>
<div class="BramusBlock">
<p>Usage is simple: include the script after you&#8217;ve included jQuery. From then on you can use the <code>classData()</code> function on a jQuery Object:</p>
<pre class="brush: jscript; title: ; notranslate">// Set data - this will set the class 'extradata_yes' on the elements that match the selector (note that the plugin does not break chaining)
$('.mySelector').classData('extradata','yes').css('backgroundColor','lime');
// Get data - alerts the extradata value of the elements that match the selector
alert($('.mySelector').classData('extradata'));
</pre>
<p>Please note that the setting of data does not break jQuery&#8217;s chaining.</p>
<p>As you might have noticed the getter and setter functions are non-existent: there&#8217;s one function to handle both the mutation and accessing of the data (this differs from Jurriaan&#8217;s approach: he has two functions)</p>
<p>Now, you might have noticed that there&#8217;s no way to set the glue (which defaults to an underscore) used in the call itself. Therefor an extra function comes in handy: <code>classDataGlue()</code>. Via that function you can set glue before getting and/or setting data.</p>
<pre class="brush: jscript; title: ; notranslate">// Set data with custom glue - this will set the class 'extradata-yes' on the elements that match the selector (note that the plugin does not break chaining)
$('.mySelector').classDataGlue('-').classData('extradata','yes').css('backgroundColor','lime');
// Alert current glue (note that we need to have a jQuery object for this)
alert($('').classDataGlue());
// Get data (note that the glue is still known to the plugin) - alerts the extradata value of the elements that match the selector
alert($('.mySelector').classData('extradata'));
// Get data that uses % as glue:
alert($('.mySelector').classDataGlue('%').classData('otherdata'));
</pre>
<p>Again note that the setting of the <code>classDataGlue</code> does not break jQuery&#8217;s chaining. Also note that when you set the glue, the calls that happen after it will still use that glue (<em>viz: once the glue is set, it keeps using that glue. Make an extra call to <code>classDataGlue()</code> to set it to an other value</em>).</p>
</div>
<h2 id="donate" style="margin-top: 25px;">Thanks a bunch, how can I thank you?</h2>
<div class="BramusBlock">
<p>You may always leave a comment below and/or &#8211; <em>it certainly is no obligation but it would most certainly put a smile on my face</em> &#8211; make a donation.</p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but04.gif" style="border: 0;" name="submit" alt="Make a donation" /><img alt="" style="border: 0;" src="https://www.paypal.com/nl_NL/i/scr/pixel.gif" width="1" height="1" /><br />
<input type="hidden" name="cmd" value="_xclick" style="display: none;" />
<input type="hidden" name="business" value="paypal@bram.us" style="display: none;" />
<input type="hidden" name="item_name" value="Bram Van Damme (Bram.us)" style="display: none;" />
<input type="hidden" name="no_shipping" value="0" style="display: none;" />
<input type="hidden" name="no_note" value="1" style="display: none;" />
<input type="hidden" name="currency_code" value="EUR" style="display: none;" />
<input type="hidden" name="tax" value="0" style="display: none;" />
<input type="hidden" name="lc" value="BE" style="display: none;" />
<input type="hidden" name="bn" value="PP-DonationsBF" style="display: none;" /></form>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.bram.us/2009/02/09/accessing-data-saved-in-the-class-property-of-dom-elements-with-jquery/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>PS_BRAMUS.TextConvert: PSD2TXT and TXT2PSD for the masses!</title>
		<link>http://www.bram.us/2008/10/30/ps_bramustextconvert-psd2txt-and-txt2psd-for-the-masses/</link>
		<comments>http://www.bram.us/2008/10/30/ps_bramustextconvert-psd2txt-and-txt2psd-for-the-masses/#comments</comments>
		<pubDate>Thu, 30 Oct 2008 17:40:47 +0000</pubDate>
		<dc:creator>Bramus!</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<category><![CDATA[export]]></category>
		<category><![CDATA[import]]></category>
		<category><![CDATA[photoshop]]></category>
		<category><![CDATA[psd2txt]]></category>
		<category><![CDATA[tool]]></category>
		<category><![CDATA[txt2psd]]></category>
		<guid isPermaLink="false">http://www.bram.us/?p=1821</guid>
		<description><![CDATA[What if you could extract all text strings from a PSD file into a TXT file? Sure, it&#8217;s possible, thanks to PS_BRAMUS.TextExport, the PSD2TXT script I wrote a few months ago. Now, what if you wanted to do that in &#8230; <a href="http://www.bram.us/2008/10/30/ps_bramustextconvert-psd2txt-and-txt2psd-for-the-masses/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img alt="JSX" title="JSX" id="image240b" style="margin: 0px 10px 5px 0px; display: block; float: left" src="http://www.bram.us/wordpress/wp-content/uploads/2006/08/jsxfile1.gif" />What if you could extract all text strings from a PSD file into a TXT file? Sure, it&#8217;s possible, thanks to <code><a href="http://www.bram.us/2008/03/16/ps_bramustextexport-13-automatically-export-all-text-layers-from-photoshop-psd-to-a-text-file/">PS_BRAMUS.TextExport</a></code>, the PSD2TXT script I wrote a few months ago. Now, what if you wanted to do that in the opposite direction and import strings from a TXT file into a PSD file (viz. TXT2PSD)? Look no further, <code>PS_BRAMUS.TextConvert</code> is here, and does both!<br style="clear: both;" /></p>
<p><span id="more-1821"></span></p>
<h2 style="margin-top: 25px;">What is <code>PS_BRAMUS.TextConvert</code></h2>
<div class="BramusBlock">
<p class="alert">Don&#8217;t like reading? Member of the lazyweb? Savvy enough? You might as well just <a href="#example">skip to the example</a> then <img src='http://www.bram.us/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><code>PS_BRAMUS.TextConvert</code> is the successor of <code>PS_BRAMUS.TextExport</code> and consists out of two scripts:</p>
<ol>
<li><code>PS_BRAMUS.TextConvert.Export</code> (PSD2TXT)</li>
<li><code>PS_BRAMUS.TextConvert.Import</code> (TXT2PSD)</li>
</ol>
<p>The first script is a modded version of <code>PS_BRAMUS.TextExport</code> which scans your PSD file for text strings. After retrieving all text, the output is saved into a TXT file in your Documents folder.</p>
<p>The second script is the counterpart: it reads in TXT files (which you first exported via the first script) and replaces all text layers with the new content in your PSD file.</p>
</div>
<h2 style="margin-top: 25px;">Is <code>PS_BRAMUS.TextConvert</code> something for me?</h2>
<div class="BramusBlock">
<p><code>PS_BRAMUS.TextConvert</code> is ideal for agencies/companies who need to translate Photoshop mockups: Export all text layers via <code>PS_BRAMUS.TextConvert.Export</code> to a text file, send that text file to the translation agency and let them do the translation, then import the translated file via <code>PS_BRAMUS.TextConvert.Import</code> into the PSD file.</p>
<p><img src="http://farm4.static.flickr.com/3253/2986296259_94f1b5934a_o.gif" alt="PS_BRAMUS.TextConvert" title="PS_BRAMUS.TextConvert"/></p>
<p>Of course its usage is not limited to the example above. The <code>Export</code> part of <code>PS_BRAMUS.TextConvert</code> can be used for (speed)slicing for example</p>
</div>
<h2 style="margin-top: 25px;">Requirements</h2>
<div class="BramusBlock">
<ul>
<li>Photoshop CS2 or newer is required</li>
<li><code>PS_BRAMUS.TextConvert</code> has been tested and verified working with Photoshop CS2 and CS3 (<em>CS4 untested but should work. Can anyone verify?</em>)</li>
</ul>
</div>
<h2 id="download" style="margin-top: 25px;">Download / License</h2>
<div class="BramusBlock">
<p><code>PS_BRAMUS.TextConvert</code> released under a <a href="http://creativecommons.org/licenses/by-sa/2.5/">creative commons Attribution-ShareAlike 2.5 license</a>. Should you use the script within a commercial context, or for any other reason you fancy, please consider <a href="#donate">clicking the PayPal donate button</a>.</p>
<p style="text-align: center;"><a href="http://www.bram.us/wordpress/wp-content/uploads/2008/10/ps_bramustextconvert-10.zip" class="button button-big"><strong>&#9660;</strong> Download PS_BRAMUS.TextConvert 1.0</a></p>
<p><small>Note: <code>PS_BRAMUS.TextConvert</code> was made possible by means of <a href="http://www.lexiapark.com/">lexia:park</a>, Barcelona, Spain.</small></p>
</div>
<h2 style="margin-top: 25px;">Installation</h2>
<div class="BramusBlock">
<ul>
<li>Download <code>PS_BRAMUS.TextConvert</code> from the link above</li>
<li>Extract it to the <em>Presets/Scripts</em> folder of your Photoshop installation folder (<em>defaults to <code>C:\Program Files\Adobe\Adobe Photoshop CS3\Presets\Scripts</code> on Windows</em>)</li>
<li>Restart Photoshop if it was already running (<strong>important!</strong>)</li>
</ul>
</div>
<h2 style="margin-top: 25px;">How to use <code>PS_BRAMUS.TextConvert</code></h2>
<div class="BramusBlock">
<p>Once installed, usage is simple:</p>
<h3>1. Exporting text (PSD2TXT)</h3>
<p><a href='http://farm4.static.flickr.com/3217/2987196938_c0e86a4351_o.jpg' title='PS_BRAMUS.TextConvert.Export' style='display: block; margin: 0 0 12px 12px; float: right;' rel='lightbox[textconvert1]'><img src='http://farm4.static.flickr.com/3217/2987196938_0e7de52fd2_m.jpg' alt='PS_BRAMUS.TextConvert.Export' style='display: block;  margin: 0 auto 0;' /></a></p>
<ul>
<li>In Photoshop go to <em>File</em> &gt; <em>Scripts</em> and select <code>PS_BRAMUS.TextConvert.Export-1.0</code> from the list to export all text.</li>
<li>Per open PSD file, a <em><code>TextConvert-[NAME_OF_YOUR_PSD_FILE].txt</code></em> file will appear in your Documents folder<br />(<em>if multiple files are open, you can choose to only run <code>PS_BRAMUS.TextConvert.Export</code> on the currently active file or on all files</em>)</li>
<li>After the export was done, you&#8217;ll get a little notification of this<br />(<em>if  <code>PS_BRAMUS.TextConvert.Export</code> ran with a single file, the .txt file will open instead)</em></li>
</ul>
<h3>2. Reworking text</h3>
<ul>
<li>Locate the exported .txt file in your Documents folder and open it with your favorite text editor</li>
<li>Translate the strings you find in there, but make sure that you leave the <code>[BEGIN /XXXX ]</code> and <code>[END /XXXX ]</code> lines untouched! (<em>If changed importing will fail</em>)</li>
<li>Save the text file with the same name in the same location.</li>
</ul>
<h3>3. Importing text (TXT2PSD)</h3>
<p><a href='http://farm4.static.flickr.com/3047/2986340185_4876c7eed5_o.jpg' title='PS_BRAMUS.TextConvert.Import' style='display: block; margin: 0 0 12px 12px; float: right;' rel='lightbox[textconvert1]'><img src='http://farm4.static.flickr.com/3047/2986340185_f83f4bcce9_m.jpg' alt='PS_BRAMUS.TextConvert.Import' style='display: block;  margin: 0 auto 0;' /></a></p>
<ul>
<li>In Photoshop go to <em>File</em> &gt; <em>Scripts</em> and select <code>PS_BRAMUS.TextConvert.Import-1.0</code> from the list to import all text.</li>
<li>Per open PSD file, the script will look if the <em><code>TextConvert-[NAME_OF_YOUR_PSD_FILE].txt</code></em> file exists in your Documents folder, read it in (if it exists) and update the text layers of your PSD file<br />(<em>if multiple files are open, you can choose to only run <code>PS_BRAMUS.TextConvert.Import</code> on the currently active file or on all files</em>)</li>
<li>After the import was done, you&#8217;ll get a little notification of the number of files updated<br /><em>(if no txt files were found, then it will state that 0 files where changed)</em></li>
</ul>
<h3>Warning!</h3>
<ul>
<li>Please note that <code>PS_BRAMUS.TextConvert.Import</code> is not compatible with any version <code>PS_BRAMUS.TextExport</code>!</li>
<li>Please note that in between the running of the Export and Import <strong>NO CHANGES TO THE PSD FILE</strong> can be done!</li>
</ul>
</div>
<h2 id="example" style="margin-top: 25px;">Example</h2>
<div class="BramusBlock">
<p>Given the fact that the image pictured on the left is a normal Photoshop file (<em>viz. background layer, image elements on different layers, text layers, layer groups, etc</em>) I&#8217;m quite sure the figure below explains it all:</p>
<p><a href="http://farm4.static.flickr.com/3293/2986442779_3990e5b069_o.jpg" title="PS_BRAMUS.TextConvert.Example" rel="lightbox[textconvert1]"><img src="http://farm4.static.flickr.com/3293/2986442779_f250edfd2a.jpg?v=1225387823" alt="PS_BRAMUS.TextConvert.Example" /></a></p>
<p>Now, did you <a href="#download">download</a> <code>PS_BRAMUS.TextConvert</code> already?</p>
</div>
<h2 id="donate" style="margin-top: 25px;">Make a donation</h2>
<div class="BramusBlock">
<p>It certainly is no obligation but it would most certainly put a smile on my face <img src='http://www.bram.us/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but04.gif" style="border: 0;" name="submit" alt="Make a donation" /><img alt="" style="border: 0;" src="https://www.paypal.com/nl_NL/i/scr/pixel.gif" width="1" height="1" /><br />
<input type="hidden" name="cmd" value="_xclick" style="display: none;" />
<input type="hidden" name="business" value="paypal@bram.us" style="display: none;" />
<input type="hidden" name="item_name" value="Bram Van Damme (Bram.us)" style="display: none;" />
<input type="hidden" name="no_shipping" value="0" style="display: none;" />
<input type="hidden" name="no_note" value="1" style="display: none;" />
<input type="hidden" name="currency_code" value="EUR" style="display: none;" />
<input type="hidden" name="tax" value="0" style="display: none;" />
<input type="hidden" name="lc" value="BE" style="display: none;" />
<input type="hidden" name="bn" value="PP-DonationsBF" style="display: none;" /></form>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.bram.us/2008/10/30/ps_bramustextconvert-psd2txt-and-txt2psd-for-the-masses/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>flashLightBoxInjector 1.2 and Lightbox 2.0.4</title>
		<link>http://www.bram.us/2008/04/15/flashlightboxinjector-12-and-lightbox-204/</link>
		<comments>http://www.bram.us/2008/04/15/flashlightboxinjector-12-and-lightbox-204/#comments</comments>
		<pubDate>Tue, 15 Apr 2008 19:51:57 +0000</pubDate>
		<dc:creator>Bramus!</dc:creator>
				<category><![CDATA[JS_BRAMUS]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<guid isPermaLink="false">http://www.bram.us/2008/04/15/flashlightboxinjector-12-and-lightbox-204/</guid>
		<description><![CDATA[It has been brought to my attention that the release of Lightbox 2.0.4 broke some stuff in flashLightBoxInjector 1.2. After investigating the issue, it turns out that one (1) tiny change to the lightbox.js file is needed in order to &#8230; <a href="http://www.bram.us/2008/04/15/flashlightboxinjector-12-and-lightbox-204/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img id="image976" src="http://www.bram.us/wordpress/wp-content/uploads/2007/08/bridgedgap2.jpg" alt="bridgedGap2" style="display: block; float:left; margin: 0 10px 10px 0;" />It has been <a href="http://www.bram.us/projects/flashlightboxinjector/#comment-207300">brought to my attention</a> that the release of <a href="http://www.lokeshdhakar.com/projects/lightbox2/">Lightbox 2.0.4</a> broke some stuff in <a href="http://www.bram.us/projects/flashlightboxinjector/">flashLightBoxInjector 1.2</a>. After investigating the issue, it turns out that one (1) tiny change to the <code>lightbox.js</code> file is needed in order to get <code>flashLightBoxInjector</code> working with Lightbox 2.0.4.<br style="clear: both;" /></p>
<p><span id="more-1609"></span></p>
<p>In Lightbox 2.0.4 Lokesh (the author of Lightbox) decided to create the Lightbox instance without storing it into a variable. As <code>flashLightBoxInjector</code> relies on that variable, things broke. Now, to fix this follow this tiny procedure and it&#8217;ll work just fine, as it did with version 2.0.3:</p>
<ol>
<li>Open <code>lightbox.js</code> with your favorite texteditor</li>
<li>Scroll down to the very last line where it reads
<pre class="brush: jscript; title: ; notranslate">document.observe('dom:loaded', function () { new Lightbox(); });</pre>
</li>
<li>Replace that line with this
<pre class="brush: jscript; title: ; notranslate">document.observe('dom:loaded', function () { myLightbox = new Lightbox(); });</pre>
</li>
<li>Save your file and &#8230; that&#8217;s it <img src='http://www.bram.us/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ol>
<p>I&#8217;ve changed the online example and <a href="http://www.bram.us/projects/flashlightboxinjector/#download"><code>flashLightBoxInjector 1.2</code> download</a> and <a href="http://www.bram.us/demo/projects/flashlightboxinjector/">demos</a> here on bram.us to include that change, so you can roll with it &ldquo;out of the box&rdquo;. Above that I&#8217;ve mailed Lokesh about this issue, hoping to see the variable reappear in a next release.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bram.us/2008/04/15/flashlightboxinjector-12-and-lightbox-204/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>PS_BRAMUS.TextExport 1.3 &#8211; Automatically export all Text layers from Photoshop PSD to a Text file (PSD2TXT)</title>
		<link>http://www.bram.us/2008/03/16/ps_bramustextexport-13-automatically-export-all-text-layers-from-photoshop-psd-to-a-text-file/</link>
		<comments>http://www.bram.us/2008/03/16/ps_bramustextexport-13-automatically-export-all-text-layers-from-photoshop-psd-to-a-text-file/#comments</comments>
		<pubDate>Sun, 16 Mar 2008 13:07:50 +0000</pubDate>
		<dc:creator>Bramus!</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<category><![CDATA[photoshop]]></category>
		<category><![CDATA[psd2txt]]></category>
		<category><![CDATA[tool]]></category>
		<guid isPermaLink="false">http://www.bram.us/2008/03/16/ps_bramustextexport-13-automatically-export-all-text-layers-from-photoshop-psd-to-a-text-file/</guid>
		<description><![CDATA[Colleague Johan asked whether someone could knock up a script which exports all text layers from a Photoshop document to a text file (viz. a PSD2TXT tool/script), enabling one to slice even faster than he already can. Last week I &#8230; <a href="http://www.bram.us/2008/03/16/ps_bramustextexport-13-automatically-export-all-text-layers-from-photoshop-psd-to-a-text-file/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img alt="JSX" title="JSX" id="image240b" style="margin: 0px 10px 5px 0px; display: block; float: left" src="http://www.bram.us/wordpress/wp-content/uploads/2006/08/jsxfile1.gif" />Colleague Johan <a href="http://www.wolfslittlestore.be/productivity/quick-script-idea-for-faster-slicing">asked</a> whether someone could knock up a script which exports all text layers from a Photoshop document to a text file (viz. a PSD2TXT tool/script), enabling one to slice even faster than he already can. Last week <a href="http://www.bram.us/2008/03/12/ps_bramustextexport-12-automatically-export-all-text-layers-from-photoshop-psd-to-a-text-file/">I released the first version of the script (v 1.2)</a>, now it&#8217;s time for an update.<br style="clear: both;" /></p>
<p><span id="more-1530"></span></p>
<h3>What has changed?</h3>
<div class="BramusBlock">
<ul>
<li>UPD: Base rewrite, now gets all layers (sets &#038; regular ones) in one variable.</li>
<li>UPD: Gives a nice warning, instead of a javascript error, when no file is open.</li>
<li>ADD: Layer Path &#038; Layer Name in export.</li>
<li>ADD: Cycle Multiple Files when more than one file is open (user can still choose to only parse the current document though).</li>
</ul>
</div>
<h3>Download PS_BRAMUS.TextExport (PSD2TXT)</h3>
<div class="BramusBlock">
<p class="alert"><strong>Update November 2008:</strong><br /><code>PS_BRAMUS.TextExport</code> is outdated and has been replaced with <a href="http://www.bram.us/2008/10/30/ps_bramustextconvert-psd2txt-and-txt2psd-for-the-masses/"><code>PS_BRAMUS.TextConvert</code></a> which does both import and export!</p>
<p style="text-align: center;"><a href="http://www.bram.us/wordpress/wp-content/uploads/2008/03/ps_bramustextexport-13.zip" class="button button-big"><strong>&#9660;</strong> Download PS_BRAMUS.TextExport 1.3</a></p>
<h3>Installation / How to use</h3>
<div class="BramusBlock">
<ul>
<li>Download <code>PS_BRAMUS.TextExport</code> from the link above</li>
<li>Extract it to <em>Presets/Scripts</em> folder of your Photoshop installation folder (defaults to <em>C:\Program Files\Adobe\Adobe Photoshop CS3\Presets\Scripts</em> on Windows)</li>
<li>Restart Photoshop if it was already running</li>
<li>Open the PSD you wish to export text from</li>
<li>Now, when having a file opened, go to <em>File</em> &gt; <em>Scripts</em> and select <em>PS_BRAMUS.TextExport.1.3</em> from the list. <a href='http://www.bram.us/wordpress/wp-content/uploads/2008/03/textexport-big.jpg' title='textexport-big.jpg' style='display: block; margin: 12px;' rel='lightbox'><img src='http://www.bram.us/wordpress/wp-content/uploads/2008/03/textexport-small.jpg' alt='textexport-small.jpg' style='display: block;  margin: 0 auto 0;' /></a></li>
<li>Wait until the output file appears <img src='http://www.bram.us/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ul>
</div>
<h3>Configuration</h3>
<div class="BramusBlock">
<p>Three settings in <code>PS_BRAMUS.TextExport</code> can be configured, all to be found in the <code>.jsx</code> file itself.</p>
<ul>
<li>Open up <code>PS_Bramus.TextExport-1.3.jsx</code> with your favorite texteditor</li>
<li>If you want to choose where to save the file to, set <code>useDialog</code> to <code>true</code>. If set to <code>false</code> (default), the output file will be saved into your documents folder</li>
<li>If you don&#8217;t want the exported file to be openend after the export has run, set <code>openFile</code> to <code>false</code>. If set to <code>true</code> (default), the output file will automatically be opened by your default text editor.</li>
<li>In the export file, each line is separated by a <code>separator</code> string. Change this one to use one you like (defaults to <code>*************************************</code>).</li>
</ul>
<p class="alert">When running <code>PS_BRAMUS.TextExport</code> on multiple files, the <code>useDialog</code> &amp; <code>openFile</code> parameters will be overriden. All files will be saved as <code><em>nameofyourpsdfile</em>.txt</code> in your documents folder and only a notice that the files were saved will be shown.</p>
</div>
<h3>Example</h3>
<div class="BramusBlock">
<p>I&#8217;ve tested <code>PS_BRAMUS.TextExport</code> with a pretty complex PSD, which holds the design of <a href="http://www.3rds.be/">3RDS</a>. Here are the results:</p>
<h4>Input PSD</h4>
<p><a href='http://www.bram.us/wordpress/wp-content/uploads/2008/03/textexport-input.jpg' title='TextExport Input' rel='lightbox[textexport_13]'><img src='http://www.bram.us/wordpress/wp-content/uploads/2008/03/textexport-input.thumbnail.jpg' alt='TextExport Input' /></a></p>
<h4>Output TXT</h4>
<p><a href='http://www.bram.us/wordpress/wp-content/uploads/2008/03/textexport-output2.jpg' title='TextExport Output' rel='lightbox[textexport_13]'><img src='http://www.bram.us/wordpress/wp-content/uploads/2008/03/textexport-output2.thumbnail.jpg' alt='TextExport Output' /></a></p>
</div>
<h3>Make a donation</h3>
<div class="BramusBlock">
<p>It certainly is no obligation but it would most certainly put a smile on my face <img src='http://www.bram.us/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but04.gif" style="border: 0;" name="submit" alt="Make a donation" /><img alt="" style="border: 0;" src="https://www.paypal.com/nl_NL/i/scr/pixel.gif" width="1" height="1" /><br />
<input type="hidden" name="cmd" value="_xclick" style="display: none;" />
<input type="hidden" name="business" value="paypal@bram.us" style="display: none;" />
<input type="hidden" name="item_name" value="Bram Van Damme (Bram.us)" style="display: none;" />
<input type="hidden" name="no_shipping" value="0" style="display: none;" />
<input type="hidden" name="no_note" value="1" style="display: none;" />
<input type="hidden" name="currency_code" value="EUR" style="display: none;" />
<input type="hidden" name="tax" value="0" style="display: none;" />
<input type="hidden" name="lc" value="BE" style="display: none;" />
<input type="hidden" name="bn" value="PP-DonationsBF" style="display: none;" /></form>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.bram.us/2008/03/16/ps_bramustextexport-13-automatically-export-all-text-layers-from-photoshop-psd-to-a-text-file/feed/</wfw:commentRss>
		<slash:comments>30</slash:comments>
		</item>
		<item>
		<title>PS_BRAMUS.TextExport 1.2 &#8211; Automatically export all Text layers from Photoshop PSD to a Text file</title>
		<link>http://www.bram.us/2008/03/12/ps_bramustextexport-12-automatically-export-all-text-layers-from-photoshop-psd-to-a-text-file/</link>
		<comments>http://www.bram.us/2008/03/12/ps_bramustextexport-12-automatically-export-all-text-layers-from-photoshop-psd-to-a-text-file/#comments</comments>
		<pubDate>Tue, 11 Mar 2008 23:12:50 +0000</pubDate>
		<dc:creator>Bramus!</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<guid isPermaLink="false">http://www.bram.us/2008/03/12/ps_bramustextexport-12-automatically-export-all-text-layers-from-photoshop-psd-to-a-text-file/</guid>
		<description><![CDATA[Colleague Johan asked whether someone could knock up a script which exports all text layers from a Photoshop document to a text file. Since I&#8217;ve scripted Photoshop before (heck, I even steered Photoshop from within C#) it was no biggie &#8230; <a href="http://www.bram.us/2008/03/12/ps_bramustextexport-12-automatically-export-all-text-layers-from-photoshop-psd-to-a-text-file/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img alt="JSX" title="JSX" id="image240" style="margin: 0px 10px 5px 0px; display: block; float: left" src="http://www.bram.us/wordpress/wp-content/uploads/2006/08/jsxfile1.gif" />Colleague Johan <a href="http://www.wolfslittlestore.be/productivity/quick-script-idea-for-faster-slicing">asked</a> whether someone could knock up a script which exports all text layers from a Photoshop document to a text file. Since <a href="http://www.bram.us/2006/08/30/my-photoshop-scripting/">I&#8217;ve scripted Photoshop before</a> (heck, <a href="http://www.bram.us/2006/06/26/my-gazette/">I even steered Photoshop from within C#</a>) it was no biggie for me to knock up a simple script, which I dubbed <code>TextExport</code><br style="clear: both;" /></p>
<p><span id="more-1509"></span></p>
<p>After Johan placed his request, I quickly knocked up a script which loops all layers (1.0), then (pretty important) expanded it to loop groups of layers too (1.1) and finally added some user friendly stuff like giving one the option to choose where to save the file holding all text elements (1.2).</p>
<h3>Download</h3>
<div class="BramusBlock">
<p class="alert"><strong>Update November 2008:</strong><br /><code>PS_BRAMUS.TextExport</code> is outdated and has been replaced with <a href="http://www.bram.us/2008/10/30/ps_bramustextconvert-psd2txt-and-txt2psd-for-the-masses/"><code>PS_BRAMUS.TextConvert</code></a> which does both import and export!</p>
<p style="text-align: center;"><a href="http://www.bram.us/wordpress/wp-content/uploads/2008/03/ps_bramustextexport-12.zip" class="button button-big"><strong>&#9660;</strong> Download PS_BRAMUS.TextExport 1.2</a></p>
<h3>Installation / How to use</h3>
<div class="BramusBlock">
<ul>
<li>Download <code>PS_BRAMUS.TextExport</code> from the link above</li>
<li>Extract it to <em>Presets/Scripts</em> folder of your Photoshop installation folder (defaults to <em>C:\Program Files\Adobe\Adobe Photoshop CS3\Presets\Scripts</em> on Windows)</li>
<li>Restart Photoshop if it was already running</li>
<li>Open the PSD you wish to export text from</li>
<li>Now, when having a file opened, go to <em>File</em> &gt; <em>Scripts</em> and select <em>PS_BRAMUS.TextExport.1.2</em> from the list. <a href='http://www.bram.us/wordpress/wp-content/uploads/2008/03/textexport-big.jpg' title='textexport-big.jpg' style='display: block; margin: 12px;' rel='lightbox'><img src='http://www.bram.us/wordpress/wp-content/uploads/2008/03/textexport-small.jpg' alt='textexport-small.jpg' style='display: block;  margin: 0 auto 0;' /></a></li>
<li>Wait until the output file appears <img src='http://www.bram.us/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ul>
</div>
<h3>Configuration</h3>
<div class="BramusBlock">
<p>Three settings in <code>PS_BRAMUS.TextExport</code> can be configured, all to be found in the <code>.jsx</code> file itself.</p>
<ul>
<li>Open up <code>PS_Bramus.TextExport-1.2.jsx</code> with your favorite texteditor</li>
<li>If you want to choose where to save the file to, set <code>useDialog</code> to <code>true</code>. If set to <code>false</code> (default), the output file will be saved into your documents folder</li>
<li>If you don&#8217;t want the exported file to be openend after the export has run, set <code>openFile</code> to <code>false</code>. If set to <code>true</code> (default), the output file will automatically be opened by your default text editor.</li>
<li>In the export file, each line is separated by a <code>separator</code> string. Change this one to use one you like (defaults to <code>*************************************</code>).</li>
</ul>
</div>
<h3>Example</h3>
<div class="BramusBlock">
<p>I&#8217;ve tested <code>PS_BRAMUS.TextExport</code> with a pretty complex PSD, which holds the design of <a href="http://www.3rds.be/">3RDS</a>. Here are the results:</p>
<h4>Input PSD</h4>
<p><a href='http://www.bram.us/wordpress/wp-content/uploads/2008/03/textexport-input.jpg' title='TextExport Input' rel='lightbox[textexport]'><img src='http://www.bram.us/wordpress/wp-content/uploads/2008/03/textexport-input.thumbnail.jpg' alt='TextExport Input' /></a></p>
<h4>Output TXT</h4>
<p><a href='http://www.bram.us/wordpress/wp-content/uploads/2008/03/textexport-output.jpg' title='TextExport Output' rel='lightbox[textexport]'><img src='http://www.bram.us/wordpress/wp-content/uploads/2008/03/textexport-output.thumbnail.jpg' alt='TextExport Output' /></a></p>
</div>
<h3>Make a donation</h3>
<div class="BramusBlock">
<p>It certainly is no obligation but it would most certainly put a smile on my face <img src='http://www.bram.us/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but04.gif" style="border: 0;" name="submit" alt="Make a donation" /><img alt="" style="border: 0;" src="https://www.paypal.com/nl_NL/i/scr/pixel.gif" width="1" height="1" /><br />
<input type="hidden" name="cmd" value="_xclick" style="display: none;" />
<input type="hidden" name="business" value="paypal@bram.us" style="display: none;" />
<input type="hidden" name="item_name" value="Bram Van Damme (Bram.us)" style="display: none;" />
<input type="hidden" name="no_shipping" value="0" style="display: none;" />
<input type="hidden" name="no_note" value="1" style="display: none;" />
<input type="hidden" name="currency_code" value="EUR" style="display: none;" />
<input type="hidden" name="tax" value="0" style="display: none;" />
<input type="hidden" name="lc" value="BE" style="display: none;" />
<input type="hidden" name="bn" value="PP-DonationsBF" style="display: none;" /></form>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.bram.us/2008/03/12/ps_bramustextexport-12-automatically-export-all-text-layers-from-photoshop-psd-to-a-text-file/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>JS_BRAMUS.lazierLoad 0.4</title>
		<link>http://www.bram.us/2008/02/28/js_bramuslazierload-04/</link>
		<comments>http://www.bram.us/2008/02/28/js_bramuslazierload-04/#comments</comments>
		<pubDate>Thu, 28 Feb 2008 19:49:22 +0000</pubDate>
		<dc:creator>Bramus!</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[JS_BRAMUS]]></category>
		<category><![CDATA[Projects]]></category>
		<guid isPermaLink="false">http://www.bram.us/2008/02/28/js_bramuslazierload-04/</guid>
		<description><![CDATA[JS_BRAMUS.lazierLoad, a Javascript Image Lazy Loader has been updated to version 0.4 thanks to some excellent suggestions by mo from pictor.us What is lazierLoad? lazierLoad is a little JavaScript wichh automatically hooks itself to the page, finds all images and &#8230; <a href="http://www.bram.us/2008/02/28/js_bramuslazierload-04/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img src='http://www.bram.us/wordpress/wp-content/uploads/2007/09/lazy.gif' alt='' style="display: block; float: left; margin: 0 10px 10px 0;" /><a href="http://www.bram.us/projects/js_bramus/lazierload/"><code>JS_BRAMUS.lazierLoad</code>, a Javascript Image Lazy Loader</a> has been updated to version 0.4 thanks to some <a href="http://www.bram.us/projects/js_bramus/lazierload/#comment-181700">excellent suggestions</a> by mo from <a href="http://pictor.us/">pictor.us</a><br style="clear: both;" /></p>
<p><span id="more-1483"></span></p>
<h2>What is lazierLoad?</h2>
<div class="BramusBlock">
<p><a href="http://www.bram.us/projects/js_bramus/lazierload/"><code>lazierLoad</code></a> is a little JavaScript wichh automatically hooks itself to the page, finds all images and only loads those appearing &ldquo;<a href="http://en.wikipedia.org/wiki/Above_the_fold">above the fold</a>&rdquo; resulting in <strong>faster page loads</strong> as the images not located in the <a href="http://en.wikipedia.org/wiki/Viewport">viewport</a>, are not loaded until they appear within it (<em>viz. when the user scrolls down</em>).</p>
<p>The idea for <code>lazierLoad</code> was inspired upon <a href="http://www.appelsiini.net/projects/lazyload/">Lazy Load</a> (which is built for use with jQuery), yet the code differs quite a lot.</p>
</div>
<h2>What is new in this version?</h2>
<div class="BramusBlock">
<p>The most important (and only) change is that version 0.4 brings back the option to override the default settings from within the constructor. This behavior was available in 0.2 (but kinda undocumented), but dropped in 0.3 (<em>in a lesser bright moment of me pondering</em>). Upon request by mo from pictor.us, the option has been brought back.</p>
<p>To easily implement this, a <code>lazierLoadAutoHook</code> parameter got introduced. If set to <code>true</code>, <code>JS_BRAMUS.lazierLoad</code> will automagically start itself. When set to <code>false </code>one must manually invoke a new instantiation of <code>JS_BRAMUS.lazierLoad</code>.</p>
<p>Since version 0.3, the possible options to tweak are:</p>
<ul>
<li><code>treshold</code>: images which appear <em>treshold</em> pixels from the bottom will be loaded <br />(<em>defaults to &ldquo;100&rdquo;</em>)</li>
<li><code>replaceImage</code>: image to replace the non-loaded images with until they are loaded (most likely a transparent 1 by 1 pixel image)<br />(<em>defaults to &ldquo;blank.gif&rdquo;</em>)</li>
<li><code>loadingImage</code>: image to show while a non-loaded image is being loaded<br />(<em>defaults to &ldquo;spinner.gif&rdquo;</em>)</li>
<li><code>extensions</code>: array of extensions to lazyLoad<br />(<em>defaults to &ldquo;['gif','jpg','png','jpg']&rdquo;</em>)</li>
<li><code>minWidth</code>: minimum width an image must have in order to be lazyLoaded<br />(<em>defaults to &ldquo;100&rdquo;</em>)</li>
<li><code>minHeight</code>: minimum height an image must have in order to be lazyLoaded<br />(<em>defaults to &ldquo;100&rdquo;</em>)</li>
</ul>
<p>These default options can now be easily overriden from within the constructor.</p>
</div>
<h2>Cool, is there a demo?</h2>
<div class="BramusBlock">
<p style="text-align: center; font-size: smaller;"><a href="http://www.bram.us/demo/projects/lazierload/" title="lazierLoad Demo"><img src='http://www.bram.us/wordpress/wp-content/uploads/2007/09/lazierload.gif' alt='lazierload.gif' /></a></p>
<p>TIP: scroll down really really fast <img src='http://www.bram.us/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
</div>
<h2>Where can I download it?</h2>
<div class="BramusBlock">
<p>Right here:</p>
<p><download>http://www.bram.us/wordpress;/wp-content/uploads/2008/02/lazierload_04.zip;Download lazierLoad 0.4;</download>
</div>
<h2>Wow, you’re going to fast: I have a question, I need help, I need more info, how do I configure this thing?</h2>
<div class="BramusBlock">
<p>Don’t worry my friend, <a href="http://www.bram.us/projects/js_bramus/lazierload/">there’s a full page here on bram.us devoted to <code>lazierLoad</code> where you can find all info about it</a>.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.bram.us/2008/02/28/js_bramuslazierload-04/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>JS_BRAMUS.lazierLoad 0.3</title>
		<link>http://www.bram.us/2008/02/27/js_bramuslazierload-03/</link>
		<comments>http://www.bram.us/2008/02/27/js_bramuslazierload-03/#comments</comments>
		<pubDate>Tue, 26 Feb 2008 23:38:34 +0000</pubDate>
		<dc:creator>Bramus!</dc:creator>
				<category><![CDATA[JS_BRAMUS]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<guid isPermaLink="false">http://www.bram.us/2008/02/27/js_bramuslazierload-03/</guid>
		<description><![CDATA[JS_BRAMUS.lazierLoad, a Javascript Image Lazy Loader has been updated to version 0.3. Changes are compatibility with the latest Prototype version (1.6.0.2), the introduction of a global options object to easily configure lazierLoad and some extra options such as minWidth, minHeight &#8230; <a href="http://www.bram.us/2008/02/27/js_bramuslazierload-03/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img src='http://www.bram.us/wordpress/wp-content/uploads/2007/09/lazy.gif' alt='' style="display: block; float: left; margin: 0 10px 10px 0;" /><a href="http://www.bram.us/projects/js_bramus/lazierload/"><code>JS_BRAMUS.lazierLoad</code>, a Javascript Image Lazy Loader</a> has been updated to version 0.3. Changes are compatibility with the latest Prototype version (1.6.0.2), the introduction of a global options object to easily configure <code>lazierLoad</code> and some extra options such as minWidth, minHeight and extensions.<br style="clear: both;" /></p>
<p><span id="more-1478"></span></p>
<h2>What is lazierLoad?</h2>
<div class="BramusBlock">
<p><a href="http://www.bram.us/projects/js_bramus/lazierload/"><code>lazierLoad</code></a> is a little JavaScript wichh automatically hooks itself to the page, finds all images and only loads those appearing &ldquo;<a href="http://en.wikipedia.org/wiki/Above_the_fold">above the fold</a>&rdquo; resulting in <strong>faster page loads</strong> as the images not located in the <a href="http://en.wikipedia.org/wiki/Viewport">viewport</a>, are not loaded until they appear within it (<em>viz. when the user scrolls down</em>).</p>
<p>The idea for <code>lazierLoad</code> was inspired upon <a href="http://www.appelsiini.net/projects/lazyload/">Lazy Load</a> (which is built for use with jQuery), yet the code differs quite a lot.</p>
</div>
<h2>What is new in this version?</h2>
<div class="BramusBlock">
<p>The most important change is that version 0.3 introduces compatibility with Prototype 1.6 final or higher, something 0.2 was not capable of due to a rather huge change in how events are named between rc1 and the final.</p>
<p>Next to this compatibility issue, <code>lazierLoad</code> now holds a global config Object named <code>lazyLoadOptions</code>. This variable can easily be altered to reflect the options you want to use it with. In version 0.3 some new options were introduced: <code>minWidth</code>, <code>minHeight </code>and <code>extensions</code>.</p>
<p>In version 0.3, the possible options to tweak are:</p>
<ul>
<li><code>treshold</code>: images which appear <em>treshold</em> pixels from the bottom will be loaded <br />(<em>defaults to &ldquo;100&rdquo;</em>)</li>
<li><code>replaceImage</code>: image to replace the non-loaded images with until they are loaded (most likely a transparent 1 by 1 pixel image)<br />(<em>defaults to &ldquo;blank.gif&rdquo;</em>)</li>
<li><code>loadingImage</code>: image to show while a non-loaded image is being loaded<br />(<em>defaults to &ldquo;spinner.gif&rdquo;</em>)</li>
<li><code>extensions</code>: array of extensions to lazyLoad<br />(<em>defaults to &ldquo;['gif','jpg','png','jpg']&rdquo;</em>)</li>
<li><code>minWidth</code>: minimum width an image must have in order to be lazyLoaded<br />(<em>defaults to &ldquo;100&rdquo;</em>)</li>
<li><code>minHeight</code>: minimum height an image must have in order to be lazyLoaded<br />(<em>defaults to &ldquo;100&rdquo;</em>)</li>
</ul>
</div>
<h2>Cool, is there a demo?</h2>
<div class="BramusBlock">
<p style="text-align: center; font-size: smaller;"><a href="http://www.bram.us/demo/projects/lazierload/" title="lazierLoad Demo"><img src='http://www.bram.us/wordpress/wp-content/uploads/2007/09/lazierload.gif' alt='lazierload.gif' /></a></p>
<p>TIP: scroll down really really fast <img src='http://www.bram.us/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
</div>
<h2>Where can I download it?</h2>
<div class="BramusBlock">
<p>Right here:</p>
<p><download>http://www.bram.us/wordpress;/wp-content/uploads/2008/02/lazierload_03.zip;Download lazierLoad 0.3;</download>
</div>
<h2>Wow, you’re going to fast: I have a question, I need help, I need more info, how do I configure this thing?</h2>
<div class="BramusBlock">
<p>Don’t worry my friend, <a href="http://www.bram.us/projects/js_bramus/lazierload/">there’s a full page here on bram.us devoted to <code>lazierLoad</code> where you can find all info about it</a>.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.bram.us/2008/02/27/js_bramuslazierload-03/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Commenting and Real Names</title>
		<link>http://www.bram.us/2008/02/24/commenting-and-real-names/</link>
		<comments>http://www.bram.us/2008/02/24/commenting-and-real-names/#comments</comments>
		<pubDate>Sun, 24 Feb 2008 21:43:05 +0000</pubDate>
		<dc:creator>Bramus!</dc:creator>
				<category><![CDATA[Elsewhere]]></category>
		<category><![CDATA[JS_BRAMUS]]></category>
		<category><![CDATA[link]]></category>
		<guid isPermaLink="false">http://www.bram.us/2008/02/24/commenting-and-real-names/</guid>
		<description><![CDATA[iA states to Use Your Real Name When You Comment (or a name that identifies you).]]></description>
			<content:encoded><![CDATA[<p>iA states to <a href="http://informationarchitects.jp/use-your-real-name-when-you-comment/">Use Your Real Name When You Comment</a> (or a name that identifies you).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bram.us/2008/02/24/commenting-and-real-names/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

