<?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>[schuchlenz.com] &#187; Tech Stuff</title>
	<atom:link href="http://www.schuchlenz.com/category/tech/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.schuchlenz.com</link>
	<description>posts.each do { &#124;p&#124; read(p) }</description>
	<lastBuildDate>Thu, 25 Feb 2010 13:25:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>GimpShop &amp; Photoshop Shortcut File</title>
		<link>http://www.schuchlenz.com/gimpshop-photoshop-shortcut-file/</link>
		<comments>http://www.schuchlenz.com/gimpshop-photoshop-shortcut-file/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 13:08:41 +0000</pubDate>
		<dc:creator>Stefan Schuchlenz</dc:creator>
				<category><![CDATA[Tech Stuff]]></category>
		<category><![CDATA[alternative]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[gimp]]></category>
		<category><![CDATA[gimpshop]]></category>
		<category><![CDATA[menurc]]></category>
		<category><![CDATA[photoshop]]></category>
		<category><![CDATA[shortcuts]]></category>

		<guid isPermaLink="false">http://www.schuchlenz.com/gimpshop-photoshop-shortcut-file/</guid>
		<description><![CDATA[For all of you who need/want to do graphics work on Linux, the Gimp is praised as an alternative to Photoshop. Well, I tend to use CS4 for the more complex work since Gimp simply isn&#8217;t that powerful and comfortable&#8230; wait. There&#8217;s GimpShop!
What&#8217;s that?
GimpShop (http://plasticbugs.com/?page_id=294) is a hack for Gimp to change the menu structure [...]]]></description>
			<content:encoded><![CDATA[<p>For all of you who need/want to do graphics work on Linux, the Gimp is praised as an <a href="http://www.schuchlenz.com/tag/alternative/" class="st_tag internal_tag" rel="tag" title="Posts tagged with alternative">alternative</a> to Photoshop. Well, I tend to use CS4 for the more complex work since Gimp simply isn&#8217;t that powerful and comfortable&#8230; wait. There&#8217;s <a href="http://www.schuchlenz.com/tag/gimpshop/" class="st_tag internal_tag" rel="tag" title="Posts tagged with gimpshop">GimpShop</a>!</p>
<p><strong>What&#8217;s that?</strong></p>
<p><a href="http://www.schuchlenz.com/tag/gimpshop/" class="st_tag internal_tag" rel="tag" title="Posts tagged with gimpshop">GimpShop</a> (<a href="http://plasticbugs.com/?page_id=294" target="_blank">http://plasticbugs.com/?page_id=294</a>) is a hack for Gimp to change the menu structure and tools to a Photoshop layout (which it seems to do quite neatly). Combined with Photoshop <a href="http://www.schuchlenz.com/tag/shortcuts/" class="st_tag internal_tag" rel="tag" title="Posts tagged with shortcuts">shortcuts</a> for Gimp (found here: <a href="http://epierce.freeshell.org/gimp/gimp_ps.php" target="_blank">http://epierce.freeshell.org/gimp/gimp_ps.php</a>) the Gimp starts to really make sense for people like me who try to do a switchover from Adobe&#8217;s overpriced solutions to <a href="http://www.schuchlenz.com/tag/free/" class="st_tag internal_tag" rel="tag" title="Posts tagged with free">free</a> alternatives but who don&#8217;t want to miss out on Photoshop&#8217;s massive and innovative features.</p>
<p><strong>EDIT</strong>: In case you don&#8217;t like <a href="http://www.schuchlenz.com/tag/gimpshop/" class="st_tag internal_tag" rel="tag" title="Posts tagged with gimpshop">GimpShop</a> in German either (it was because of my general DE locale that Linux decided a german Gimp would be good for me):</p>
<p>I hacked together a quick Perl script, just put it somewhere, give it 755 perms and add a symlink to the file to your /usr/local/bin.</p>
<p>Step 1:</p>
<p>Create a file (I called it gimp_en.pl) and add the following:</p>
<p><code>#!/usr/bin/perl</code><br />
<code>system("LANG=EN gimp")</code></p>
<p>Step 2:</p>
<p>Create a symlink (after chmod 755 on gimp_en.pl) in /usr/local/bin:</p>
<p><code>sudo ln -s /path/to/gimp_en.pl gimp_en</code></p>
<p>Step 3:</p>
<p>Put a launcher on your desktop (or wherever you like it) pointing to &#8220;gimp_en&#8221;</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share this on:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.schuchlenz.com%2Fgimpshop-photoshop-shortcut-file%2F&amp;partner=sociable" title="Print"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.schuchlenz.com%2Fgimpshop-photoshop-shortcut-file%2F&amp;title=GimpShop%20%26%20Photoshop%20Shortcut%20File&amp;bodytext=For%20all%20of%20you%20who%20need%2Fwant%20to%20do%20graphics%20work%20on%20Linux%2C%20the%20Gimp%20is%20praised%20as%20an%20alternative%20to%20Photoshop.%20Well%2C%20I%20tend%20to%20use%20CS4%20for%20the%20more%20complex%20work%20since%20Gimp%20simply%20isn%27t%20that%20powerful%20and%20comfortable...%20wait.%20There%27s%20GimpShop%21%0D%0A%0D%0AWhat%27" title="Digg"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.schuchlenz.com%2Fgimpshop-photoshop-shortcut-file%2F&amp;title=GimpShop%20%26%20Photoshop%20Shortcut%20File&amp;notes=For%20all%20of%20you%20who%20need%2Fwant%20to%20do%20graphics%20work%20on%20Linux%2C%20the%20Gimp%20is%20praised%20as%20an%20alternative%20to%20Photoshop.%20Well%2C%20I%20tend%20to%20use%20CS4%20for%20the%20more%20complex%20work%20since%20Gimp%20simply%20isn%27t%20that%20powerful%20and%20comfortable...%20wait.%20There%27s%20GimpShop%21%0D%0A%0D%0AWhat%27" title="del.icio.us"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.schuchlenz.com%2Fgimpshop-photoshop-shortcut-file%2F&amp;t=GimpShop%20%26%20Photoshop%20Shortcut%20File" title="Facebook"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.schuchlenz.com%2Fgimpshop-photoshop-shortcut-file%2F&amp;title=GimpShop%20%26%20Photoshop%20Shortcut%20File&amp;annotation=For%20all%20of%20you%20who%20need%2Fwant%20to%20do%20graphics%20work%20on%20Linux%2C%20the%20Gimp%20is%20praised%20as%20an%20alternative%20to%20Photoshop.%20Well%2C%20I%20tend%20to%20use%20CS4%20for%20the%20more%20complex%20work%20since%20Gimp%20simply%20isn%27t%20that%20powerful%20and%20comfortable...%20wait.%20There%27s%20GimpShop%21%0D%0A%0D%0AWhat%27" title="Google Bookmarks"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="javascript:AddToFavorites();" title="Add to favorites"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/addtofavorites.png" title="Add to favorites" alt="Add to favorites" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="mailto:?subject=GimpShop%20%26%20Photoshop%20Shortcut%20File&amp;body=http%3A%2F%2Fwww.schuchlenz.com%2Fgimpshop-photoshop-shortcut-file%2F" title="email"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.mister-wong.com/addurl/?bm_url=http%3A%2F%2Fwww.schuchlenz.com%2Fgimpshop-photoshop-shortcut-file%2F&amp;bm_description=GimpShop%20%26%20Photoshop%20Shortcut%20File&amp;plugin=soc" title="MisterWong"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/misterwong.png" title="MisterWong" alt="MisterWong" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.schuchlenz.com%2Fgimpshop-photoshop-shortcut-file%2F&amp;t=GimpShop%20%26%20Photoshop%20Shortcut%20File" title="MySpace"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fwww.schuchlenz.com%2Fgimpshop-photoshop-shortcut-file%2F&amp;title=GimpShop%20%26%20Photoshop%20Shortcut%20File" title="Reddit"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.schuchlenz.com/feed/" title="RSS"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fwww.schuchlenz.com%2Fgimpshop-photoshop-shortcut-file%2F&amp;t=GimpShop%20%26%20Photoshop%20Shortcut%20File&opener=bm&amp;ei=UTF-8&amp;d=For%20all%20of%20you%20who%20need%2Fwant%20to%20do%20graphics%20work%20on%20Linux%2C%20the%20Gimp%20is%20praised%20as%20an%20alternative%20to%20Photoshop.%20Well%2C%20I%20tend%20to%20use%20CS4%20for%20the%20more%20complex%20work%20since%20Gimp%20simply%20isn%27t%20that%20powerful%20and%20comfortable...%20wait.%20There%27s%20GimpShop%21%0D%0A%0D%0AWhat%27" title="Yahoo! Bookmarks"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a></li>
</ul>
</div>

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li>No related posts found at the moment.</li>
	</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.schuchlenz.com/gimpshop-photoshop-shortcut-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Doing UPDATE with Doctrine and a String as Parameter</title>
		<link>http://www.schuchlenz.com/doing-update-with-doctrine-and-a-string-as-parameter/</link>
		<comments>http://www.schuchlenz.com/doing-update-with-doctrine-and-a-string-as-parameter/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 10:55:13 +0000</pubDate>
		<dc:creator>Stefan Schuchlenz</dc:creator>
				<category><![CDATA[Tech Stuff]]></category>
		<category><![CDATA[doctrine]]></category>
		<category><![CDATA[getSql]]></category>
		<category><![CDATA[quotes]]></category>
		<category><![CDATA[string]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[variable]]></category>

		<guid isPermaLink="false">http://www.schuchlenz.com/doing-update-with-doctrine-and-a-string-as-parameter/</guid>
		<description><![CDATA[Today I had to extend a few Doctrine queries and one of these modifications consisted of changing the parameter of an UPDATE query from integer to string &#8211; and whoops! It didn&#8217;t work anymore&#8230;
When using $query-&#62;getSql(); I noticed that it wanted to do something like this:
UPDATE data SET date = 2009-12-14 WHERE ...
and of course [...]]]></description>
			<content:encoded><![CDATA[<p>Today I had to extend a few Doctrine queries and one of these modifications consisted of changing the parameter of an UPDATE query from integer to string &#8211; and whoops! It didn&#8217;t work anymore&#8230;</p>
<p>When using <code>$query-&gt;<a href="http://www.schuchlenz.com/tag/getsql/" class="st_tag internal_tag" rel="tag" title="Posts tagged with getSql">getSql</a>();</code> I noticed that it wanted to do something like this:</p>
<p><code>UPDATE data SET date = 2009-12-14 WHERE ...</code></p>
<p>and of course mySQL doesn&#8217;t like passing date strings without proper <a href="http://www.schuchlenz.com/tag/quotes/" class="st_tag internal_tag" rel="tag" title="Posts tagged with quotes">quotes</a>&#8230;</p>
<p>The query looked like this:</p>
<p><code>$query-&gt;UPDATE('Data')-&gt;set('date', $myNewDate)-&gt;where(...)</code></p>
<p>which I had to subsitute with</p>
<p><code>$query-&gt;UPDATE('Data')-&gt;set('date', '?', $myNewDate)-&gt;where(...)</code></p>
<p>Note the <code>'?'</code> in the middle &#8211; now it works <img src='http://www.schuchlenz.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share this on:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.schuchlenz.com%2Fdoing-update-with-doctrine-and-a-string-as-parameter%2F&amp;partner=sociable" title="Print"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.schuchlenz.com%2Fdoing-update-with-doctrine-and-a-string-as-parameter%2F&amp;title=Doing%20UPDATE%20with%20Doctrine%20and%20a%20String%20as%20Parameter&amp;bodytext=Today%20I%20had%20to%20extend%20a%20few%20Doctrine%20queries%20and%20one%20of%20these%20modifications%20consisted%20of%20changing%20the%20parameter%20of%20an%20UPDATE%20query%20from%20integer%20to%20string%20-%20and%20whoops%21%20It%20didn%27t%20work%20anymore...When%20using%20%24query-%26gt%3BgetSql%28%29%3B%20I%20noticed%20that%20it%20wanted%20" title="Digg"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.schuchlenz.com%2Fdoing-update-with-doctrine-and-a-string-as-parameter%2F&amp;title=Doing%20UPDATE%20with%20Doctrine%20and%20a%20String%20as%20Parameter&amp;notes=Today%20I%20had%20to%20extend%20a%20few%20Doctrine%20queries%20and%20one%20of%20these%20modifications%20consisted%20of%20changing%20the%20parameter%20of%20an%20UPDATE%20query%20from%20integer%20to%20string%20-%20and%20whoops%21%20It%20didn%27t%20work%20anymore...When%20using%20%24query-%26gt%3BgetSql%28%29%3B%20I%20noticed%20that%20it%20wanted%20" title="del.icio.us"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.schuchlenz.com%2Fdoing-update-with-doctrine-and-a-string-as-parameter%2F&amp;t=Doing%20UPDATE%20with%20Doctrine%20and%20a%20String%20as%20Parameter" title="Facebook"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.schuchlenz.com%2Fdoing-update-with-doctrine-and-a-string-as-parameter%2F&amp;title=Doing%20UPDATE%20with%20Doctrine%20and%20a%20String%20as%20Parameter&amp;annotation=Today%20I%20had%20to%20extend%20a%20few%20Doctrine%20queries%20and%20one%20of%20these%20modifications%20consisted%20of%20changing%20the%20parameter%20of%20an%20UPDATE%20query%20from%20integer%20to%20string%20-%20and%20whoops%21%20It%20didn%27t%20work%20anymore...When%20using%20%24query-%26gt%3BgetSql%28%29%3B%20I%20noticed%20that%20it%20wanted%20" title="Google Bookmarks"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="javascript:AddToFavorites();" title="Add to favorites"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/addtofavorites.png" title="Add to favorites" alt="Add to favorites" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="mailto:?subject=Doing%20UPDATE%20with%20Doctrine%20and%20a%20String%20as%20Parameter&amp;body=http%3A%2F%2Fwww.schuchlenz.com%2Fdoing-update-with-doctrine-and-a-string-as-parameter%2F" title="email"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.mister-wong.com/addurl/?bm_url=http%3A%2F%2Fwww.schuchlenz.com%2Fdoing-update-with-doctrine-and-a-string-as-parameter%2F&amp;bm_description=Doing%20UPDATE%20with%20Doctrine%20and%20a%20String%20as%20Parameter&amp;plugin=soc" title="MisterWong"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/misterwong.png" title="MisterWong" alt="MisterWong" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.schuchlenz.com%2Fdoing-update-with-doctrine-and-a-string-as-parameter%2F&amp;t=Doing%20UPDATE%20with%20Doctrine%20and%20a%20String%20as%20Parameter" title="MySpace"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fwww.schuchlenz.com%2Fdoing-update-with-doctrine-and-a-string-as-parameter%2F&amp;title=Doing%20UPDATE%20with%20Doctrine%20and%20a%20String%20as%20Parameter" title="Reddit"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.schuchlenz.com/feed/" title="RSS"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fwww.schuchlenz.com%2Fdoing-update-with-doctrine-and-a-string-as-parameter%2F&amp;t=Doing%20UPDATE%20with%20Doctrine%20and%20a%20String%20as%20Parameter&opener=bm&amp;ei=UTF-8&amp;d=Today%20I%20had%20to%20extend%20a%20few%20Doctrine%20queries%20and%20one%20of%20these%20modifications%20consisted%20of%20changing%20the%20parameter%20of%20an%20UPDATE%20query%20from%20integer%20to%20string%20-%20and%20whoops%21%20It%20didn%27t%20work%20anymore...When%20using%20%24query-%26gt%3BgetSql%28%29%3B%20I%20noticed%20that%20it%20wanted%20" title="Yahoo! Bookmarks"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a></li>
</ul>
</div>

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.schuchlenz.com/symfony-allowing-extra-field-in-validated-forms/" title="Symfony: Allowing extra field in validated forms (04.11.2009)">Symfony: Allowing extra field in validated forms</a> (0)</li>
	<li><a href="http://www.schuchlenz.com/doctrine-queries/" title="Doctrine Queries (04.11.2009)">Doctrine Queries</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.schuchlenz.com/doing-update-with-doctrine-and-a-string-as-parameter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IRC server &amp; channels added!</title>
		<link>http://www.schuchlenz.com/irc-server-channels-added/</link>
		<comments>http://www.schuchlenz.com/irc-server-channels-added/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 13:11:24 +0000</pubDate>
		<dc:creator>Stefan Schuchlenz</dc:creator>
				<category><![CDATA[Tech Stuff]]></category>
		<category><![CDATA[chat]]></category>
		<category><![CDATA[client]]></category>
		<category><![CDATA[droom]]></category>
		<category><![CDATA[haml]]></category>
		<category><![CDATA[irc]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[pjirc]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[sass]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[webchat]]></category>

		<guid isPermaLink="false">http://www.schuchlenz.com/irc-server-channels-added/</guid>
		<description><![CDATA[Since the start of this week, there is an own IRC server running at irc.droom.at (webchat or connect directly with your favourite IRC client) which offers support for:

Rails
jQuery
symfony
HAML / SASS

and sports some fun channels. Check it out and populate the server  



Share this on:


	
	
	
	
	
	
	
	
	
	
	
	



	Related posts
	
	How HAML changed my (XHTML) life (0)
	Using jQuery for every [...]]]></description>
			<content:encoded><![CDATA[<p>Since the start of this week, there is an own IRC server running at <a target="_blank" href="http://irc.droom.at">irc.droom.at</a> (<a href="http://www.schuchlenz.com/tag/webchat/" class="st_tag internal_tag" rel="tag" title="Posts tagged with webchat">webchat</a> or connect directly with your favourite IRC client) which offers support for:</p>
<ul>
<li>Rails</li>
<li>jQuery</li>
<li>symfony</li>
<li><a href="http://www.schuchlenz.com/tag/haml/" class="st_tag internal_tag" rel="tag" title="Posts tagged with haml">HAML</a> / SASS</li>
</ul>
<p>and sports some fun channels. Check it out and populate the server <img src='http://www.schuchlenz.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share this on:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.schuchlenz.com%2Firc-server-channels-added%2F&amp;partner=sociable" title="Print"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.schuchlenz.com%2Firc-server-channels-added%2F&amp;title=IRC%20server%20%26%20channels%20added%21&amp;bodytext=Since%20the%20start%20of%20this%20week%2C%20there%20is%20an%20own%20IRC%20server%20running%20at%20irc.droom.at%20%28webchat%20or%20connect%20directly%20with%20your%20favourite%20IRC%20client%29%20which%20offers%20support%20for%3ARailsjQuerysymfonyHAML%20%2F%20SASSand%20sports%20some%20fun%20channels.%20Check%20it%20out%20and%20populat" title="Digg"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.schuchlenz.com%2Firc-server-channels-added%2F&amp;title=IRC%20server%20%26%20channels%20added%21&amp;notes=Since%20the%20start%20of%20this%20week%2C%20there%20is%20an%20own%20IRC%20server%20running%20at%20irc.droom.at%20%28webchat%20or%20connect%20directly%20with%20your%20favourite%20IRC%20client%29%20which%20offers%20support%20for%3ARailsjQuerysymfonyHAML%20%2F%20SASSand%20sports%20some%20fun%20channels.%20Check%20it%20out%20and%20populat" title="del.icio.us"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.schuchlenz.com%2Firc-server-channels-added%2F&amp;t=IRC%20server%20%26%20channels%20added%21" title="Facebook"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.schuchlenz.com%2Firc-server-channels-added%2F&amp;title=IRC%20server%20%26%20channels%20added%21&amp;annotation=Since%20the%20start%20of%20this%20week%2C%20there%20is%20an%20own%20IRC%20server%20running%20at%20irc.droom.at%20%28webchat%20or%20connect%20directly%20with%20your%20favourite%20IRC%20client%29%20which%20offers%20support%20for%3ARailsjQuerysymfonyHAML%20%2F%20SASSand%20sports%20some%20fun%20channels.%20Check%20it%20out%20and%20populat" title="Google Bookmarks"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="javascript:AddToFavorites();" title="Add to favorites"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/addtofavorites.png" title="Add to favorites" alt="Add to favorites" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="mailto:?subject=IRC%20server%20%26%20channels%20added%21&amp;body=http%3A%2F%2Fwww.schuchlenz.com%2Firc-server-channels-added%2F" title="email"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.mister-wong.com/addurl/?bm_url=http%3A%2F%2Fwww.schuchlenz.com%2Firc-server-channels-added%2F&amp;bm_description=IRC%20server%20%26%20channels%20added%21&amp;plugin=soc" title="MisterWong"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/misterwong.png" title="MisterWong" alt="MisterWong" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.schuchlenz.com%2Firc-server-channels-added%2F&amp;t=IRC%20server%20%26%20channels%20added%21" title="MySpace"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fwww.schuchlenz.com%2Firc-server-channels-added%2F&amp;title=IRC%20server%20%26%20channels%20added%21" title="Reddit"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.schuchlenz.com/feed/" title="RSS"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fwww.schuchlenz.com%2Firc-server-channels-added%2F&amp;t=IRC%20server%20%26%20channels%20added%21&opener=bm&amp;ei=UTF-8&amp;d=Since%20the%20start%20of%20this%20week%2C%20there%20is%20an%20own%20IRC%20server%20running%20at%20irc.droom.at%20%28webchat%20or%20connect%20directly%20with%20your%20favourite%20IRC%20client%29%20which%20offers%20support%20for%3ARailsjQuerysymfonyHAML%20%2F%20SASSand%20sports%20some%20fun%20channels.%20Check%20it%20out%20and%20populat" title="Yahoo! Bookmarks"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a></li>
</ul>
</div>

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.schuchlenz.com/how-haml-changed-my-xhtml-life/" title="How HAML changed my (XHTML) life (12.11.2009)">How HAML changed my (XHTML) life</a> (0)</li>
	<li><a href="http://www.schuchlenz.com/using-jquery-for-every-day-tasks/" title="Using jQuery for every day tasks (30.10.2009)">Using jQuery for every day tasks</a> (0)</li>
	<li><a href="http://www.schuchlenz.com/the-numberhelper-in-rails/" title="The NumberHelper in Rails (30.10.2009)">The NumberHelper in Rails</a> (0)</li>
	<li><a href="http://www.schuchlenz.com/rails-predefining-date-formats/" title="Rails: Predefining date formats (30.10.2009)">Rails: Predefining date formats</a> (2)</li>
	<li><a href="http://www.schuchlenz.com/rails-integrate-fckeditor-with-activescaffold/" title="Rails: Integrate FCKEditor with ActiveScaffold (30.10.2009)">Rails: Integrate FCKEditor with ActiveScaffold</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.schuchlenz.com/irc-server-channels-added/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How HAML changed my (XHTML) life</title>
		<link>http://www.schuchlenz.com/how-haml-changed-my-xhtml-life/</link>
		<comments>http://www.schuchlenz.com/how-haml-changed-my-xhtml-life/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 08:00:00 +0000</pubDate>
		<dc:creator>Stefan Schuchlenz</dc:creator>
				<category><![CDATA[Tech Stuff]]></category>
		<category><![CDATA[haml]]></category>
		<category><![CDATA[markup]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://www.schuchlenz.com/how-haml-changed-my-xhtml-life/</guid>
		<description><![CDATA[Using HAML and SASS have streamlined my template and XHTML building in a way I couldn&#8217;t imagine. I&#8217;ve tried some markup/markdown like textile but HAML is so well integrated into Ruby on Rails, it&#8217;s plain amazing. Come on, take a look, I promise you will like that one 

But what is HAML?
HAML (HTML Abstract Markup [...]]]></description>
			<content:encoded><![CDATA[<p>Using <a href="http://haml-lang.com/" target="_blank">HAML</a> and <a href="http://sass-lang.com/" target="_blank">SASS</a> have streamlined my template and <a href="http://www.schuchlenz.com/tag/xhtml/" class="st_tag internal_tag" rel="tag" title="Posts tagged with xhtml">XHTML</a> building in a way I couldn&#8217;t imagine. I&#8217;ve tried some markup/markdown like textile but HAML is so well integrated into Ruby on <a href="http://www.schuchlenz.com/tag/rails/" class="st_tag internal_tag" rel="tag" title="Posts tagged with rails">Rails</a>, it&#8217;s plain amazing. Come on, take a look, I promise you will like that one <img src='http://www.schuchlenz.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
<span id="more-110"></span></p>
<p><strong>But what is HAML?</strong><br />
HAML (HTML Abstract Markup Language) is a markup language that changes the way you write <a href="http://www.schuchlenz.com/tag/xhtml/" class="st_tag internal_tag" rel="tag" title="Posts tagged with xhtml">XHTML</a>. Let me give you a small example:</p>
<p><code>&lt;html&gt;<br />
&lt;head&gt;<br />
&lt;title&gt;a test&lt;/title&gt;<br />
&lt;link rel="stylesheet" type="text/css" href="style.css"/&gt;<br />
&lt;/head&gt;</p>
<p>&lt;body&gt;<br />
&lt;div id="header"&gt;&lt;h1&gt;some headline&lt;/h1&gt;&lt;/div&gt;<br />
&lt;div id="menu"&gt;link1 link2 link3&lt;/div&gt;<br />
&lt;div id="content"&gt;<br />
&lt;p&gt;some text in a paragraph&lt;/p&gt;<br />
&lt;/div&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;<br />
</code></p>
<p>This is standard <a href="http://www.schuchlenz.com/tag/xhtml/" class="st_tag internal_tag" rel="tag" title="Posts tagged with xhtml">XHTML</a> code (OK quick and dirty). With HAML, you can shorten that to</p>
<p><code>!!!<br />
%html<br />
%head<br />
%title a test<br />
%style{:type =&gt; "text/css", :href =&gt; "style.css"}/<br />
%body<br />
#header<br />
%h1 some headline<br />
#menu link1 link2 link3<br />
#content<br />
%p some text in a paragraph</code></p>
<p>As you can see, there are no ending tags anymore, all the structuring is done via python-style indenting. This not only gives you a cleaner code but &#8211; once you are used to it &#8211; provides amazing speed and structure, especially when used in conjunction with Ruby code. The trick is you can add Ruby code directly into the {} and () of the <a href="http://www.schuchlenz.com/tag/xhtml/" class="st_tag internal_tag" rel="tag" title="Posts tagged with xhtml">XHTML</a> tags. One more example which makes things a bit more clear (I hope):</p>
<p><code>&lt;% for m in getMenuItems('mainMenu') %&gt;<br />
&lt;% if m.is_active == false or m.is_active == "" %&gt;<br />
&lt;% next %&gt;<br />
&lt;% end %&gt;<br />
&lt;%= link_to m.name.to_s, '/somecontroller/' + m.id.to_s %&gt;<br />
&lt;% end %&gt;</code></p>
<p>With HAML, it looks like:</p>
<p><code>- for m in getMenuItems('mainMenu')<br />
- if m.is_active == false or m.is_active == ""<br />
- next<br />
= link_to m.name.to_s, '/somecontroller/' + m.id.to_s</code></p>
<p>As this is just a very basic loop with only one condition and no surrounding <a href="http://www.schuchlenz.com/tag/xhtml/" class="st_tag internal_tag" rel="tag" title="Posts tagged with xhtml">XHTML</a> stuff I can only show you how HAML makes the code readable and shortens it (since you don&#8217;t need those pesky <code>&lt;% end %&gt;</code> statements anymore, once you utilize it in your layouts and views you will see how powerful it is.</p>
<p>OK, how can I get it to run with my <a href="http://www.schuchlenz.com/tag/rails/" class="st_tag internal_tag" rel="tag" title="Posts tagged with rails">Rails</a> app?<br />
Just install the gem via</p>
<p><code>sudo gem install haml</code></p>
<p>and add</p>
<p><code>config.gem 'haml'</code></p>
<p>to your <code>config/environment.rb</code>. Then install and unpack the gem with</p>
<p><code>rake gems:install<br />
rake gems:unpack</code></p>
<p>and you&#8217;re set. Now you need to rename the desired views from .html.erb to .html.haml (e.g. app/views/layouts/<a href="http://www.schuchlenz.com/tag/application/" class="st_tag internal_tag" rel="tag" title="Posts tagged with application">application</a>.html.haml) and start changing the code from ERBish style to HAML. Try it! Take a view file, rename it and start changing it to HAML and you will see how cool it is once you have worked with it.</p>
<p>Be sure to check out the documentation @ <a href="http://haml-lang.com/" target="_blank">http://haml-lang.com/</a> it is very useful and the tutorials on the official site are too!</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share this on:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.schuchlenz.com%2Fhow-haml-changed-my-xhtml-life%2F&amp;partner=sociable" title="Print"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.schuchlenz.com%2Fhow-haml-changed-my-xhtml-life%2F&amp;title=How%20HAML%20changed%20my%20%28XHTML%29%20life&amp;bodytext=Using%20HAML%20and%20SASS%20have%20streamlined%20my%20template%20and%20XHTML%20building%20in%20a%20way%20I%20couldn%27t%20imagine.%20I%27ve%20tried%20some%20markup%2Fmarkdown%20like%20textile%20but%20HAML%20is%20so%20well%20integrated%20into%20Ruby%20on%20Rails%2C%20it%27s%20plain%20amazing.%20Come%20on%2C%20take%20a%20look%2C%20I%20promise%20you%20w" title="Digg"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.schuchlenz.com%2Fhow-haml-changed-my-xhtml-life%2F&amp;title=How%20HAML%20changed%20my%20%28XHTML%29%20life&amp;notes=Using%20HAML%20and%20SASS%20have%20streamlined%20my%20template%20and%20XHTML%20building%20in%20a%20way%20I%20couldn%27t%20imagine.%20I%27ve%20tried%20some%20markup%2Fmarkdown%20like%20textile%20but%20HAML%20is%20so%20well%20integrated%20into%20Ruby%20on%20Rails%2C%20it%27s%20plain%20amazing.%20Come%20on%2C%20take%20a%20look%2C%20I%20promise%20you%20w" title="del.icio.us"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.schuchlenz.com%2Fhow-haml-changed-my-xhtml-life%2F&amp;t=How%20HAML%20changed%20my%20%28XHTML%29%20life" title="Facebook"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.schuchlenz.com%2Fhow-haml-changed-my-xhtml-life%2F&amp;title=How%20HAML%20changed%20my%20%28XHTML%29%20life&amp;annotation=Using%20HAML%20and%20SASS%20have%20streamlined%20my%20template%20and%20XHTML%20building%20in%20a%20way%20I%20couldn%27t%20imagine.%20I%27ve%20tried%20some%20markup%2Fmarkdown%20like%20textile%20but%20HAML%20is%20so%20well%20integrated%20into%20Ruby%20on%20Rails%2C%20it%27s%20plain%20amazing.%20Come%20on%2C%20take%20a%20look%2C%20I%20promise%20you%20w" title="Google Bookmarks"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="javascript:AddToFavorites();" title="Add to favorites"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/addtofavorites.png" title="Add to favorites" alt="Add to favorites" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="mailto:?subject=How%20HAML%20changed%20my%20%28XHTML%29%20life&amp;body=http%3A%2F%2Fwww.schuchlenz.com%2Fhow-haml-changed-my-xhtml-life%2F" title="email"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.mister-wong.com/addurl/?bm_url=http%3A%2F%2Fwww.schuchlenz.com%2Fhow-haml-changed-my-xhtml-life%2F&amp;bm_description=How%20HAML%20changed%20my%20%28XHTML%29%20life&amp;plugin=soc" title="MisterWong"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/misterwong.png" title="MisterWong" alt="MisterWong" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.schuchlenz.com%2Fhow-haml-changed-my-xhtml-life%2F&amp;t=How%20HAML%20changed%20my%20%28XHTML%29%20life" title="MySpace"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fwww.schuchlenz.com%2Fhow-haml-changed-my-xhtml-life%2F&amp;title=How%20HAML%20changed%20my%20%28XHTML%29%20life" title="Reddit"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.schuchlenz.com/feed/" title="RSS"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fwww.schuchlenz.com%2Fhow-haml-changed-my-xhtml-life%2F&amp;t=How%20HAML%20changed%20my%20%28XHTML%29%20life&opener=bm&amp;ei=UTF-8&amp;d=Using%20HAML%20and%20SASS%20have%20streamlined%20my%20template%20and%20XHTML%20building%20in%20a%20way%20I%20couldn%27t%20imagine.%20I%27ve%20tried%20some%20markup%2Fmarkdown%20like%20textile%20but%20HAML%20is%20so%20well%20integrated%20into%20Ruby%20on%20Rails%2C%20it%27s%20plain%20amazing.%20Come%20on%2C%20take%20a%20look%2C%20I%20promise%20you%20w" title="Yahoo! Bookmarks"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a></li>
</ul>
</div>

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.schuchlenz.com/irc-server-channels-added/" title="IRC server &#038; channels added! (19.11.2009)">IRC server &#038; channels added!</a> (0)</li>
	<li><a href="http://www.schuchlenz.com/the-numberhelper-in-rails/" title="The NumberHelper in Rails (30.10.2009)">The NumberHelper in Rails</a> (0)</li>
	<li><a href="http://www.schuchlenz.com/rails-predefining-date-formats/" title="Rails: Predefining date formats (30.10.2009)">Rails: Predefining date formats</a> (2)</li>
	<li><a href="http://www.schuchlenz.com/rails-integrate-fckeditor-with-activescaffold/" title="Rails: Integrate FCKEditor with ActiveScaffold (30.10.2009)">Rails: Integrate FCKEditor with ActiveScaffold</a> (0)</li>
	<li><a href="http://www.schuchlenz.com/rails-extracting-fixtures-from-databases/" title="Rails: Extracting fixtures from databases (30.10.2009)">Rails: Extracting fixtures from databases</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.schuchlenz.com/how-haml-changed-my-xhtml-life/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to process multiple checkboxes with jQuery</title>
		<link>http://www.schuchlenz.com/how-to-process-multiple-checkboxes-with-jquery/</link>
		<comments>http://www.schuchlenz.com/how-to-process-multiple-checkboxes-with-jquery/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 11:32:07 +0000</pubDate>
		<dc:creator>Stefan Schuchlenz</dc:creator>
				<category><![CDATA[Tech Stuff]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[checkbox]]></category>
		<category><![CDATA[checked]]></category>
		<category><![CDATA[each()]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://www.schuchlenz.com/how-to-process-multiple-checkboxes-with-jquery/</guid>
		<description><![CDATA[The functionality isn&#8217;t new: you have a list of stuff and want checkboxes before the elements so you can mass-process them. In my case, I wanted to set a number of list elements to a certain state (which in this case means a status flag in the database) so the need arose to fetch all [...]]]></description>
			<content:encoded><![CDATA[<p>The functionality isn&#8217;t new: you have a list of stuff and want checkboxes before the elements so you can mass-process them. In my case, I wanted to set a number of list elements to a certain state (which in this case means a status flag in the database) so the need arose to fetch all selected elements (where the <a href="http://www.schuchlenz.com/tag/checkbox/" class="st_tag internal_tag" rel="tag" title="Posts tagged with checkbox">checkbox</a> is checked), stuff them into an <a href="http://www.schuchlenz.com/tag/ajax/" class="st_tag internal_tag" rel="tag" title="Posts tagged with ajax">AJAX</a> function and deselect the items afterwards.</p>
<p>For this example, my list looks like:</p>
<p><code>&lt;input type="<a href="http://www.schuchlenz.com/tag/checkbox/" class="st_tag internal_tag" rel="tag" title="Posts tagged with checkbox">checkbox</a>" value="1" name="check[]" /&gt; 1&lt;br /&gt;<br />&lt;input type="<a href="http://www.schuchlenz.com/tag/checkbox/" class="st_tag internal_tag" rel="tag" title="Posts tagged with checkbox">checkbox</a>" value="2" name="check[]" /&gt; 2&lt;br /&gt;<br />&lt;input type="<a href="http://www.schuchlenz.com/tag/checkbox/" class="st_tag internal_tag" rel="tag" title="Posts tagged with checkbox">checkbox</a>" value="3" name="check[]" /&gt; 3&lt;br /&gt;<br />&lt;input type="<a href="http://www.schuchlenz.com/tag/checkbox/" class="st_tag internal_tag" rel="tag" title="Posts tagged with checkbox">checkbox</a>" value="4" name="check[]" /&gt; 4&lt;br /&gt;</p>
<p>&lt;button&gt;<a href="http://www.schuchlenz.com/tag/send/" class="st_tag internal_tag" rel="tag" title="Posts tagged with send">send</a>&lt;/button&gt;<br /></code><br />Now I want to get alle checked checkboxes with jQuery and process them with <a href="http://www.schuchlenz.com/tag/ajax/" class="st_tag internal_tag" rel="tag" title="Posts tagged with ajax">AJAX</a>. For this task, I employ jQuery&#8217;s each() functionality:</p>
<p><code>$('button').click(function(){<br />&nbsp; $(':<a href="http://www.schuchlenz.com/tag/checkbox/" class="st_tag internal_tag" rel="tag" title="Posts tagged with checkbox">checkbox</a>:checked').each(function(){<br />&nbsp;&nbsp;&nbsp; $.post('process.php', { <a href="http://www.schuchlenz.com/tag/checkbox/" class="st_tag internal_tag" rel="tag" title="Posts tagged with checkbox">checkbox</a>: $(this).attr('value') });<br />&nbsp; });<br />});</code></p>
<p>Now what does that do?</p>
<p><code>$(':<a href="http://www.schuchlenz.com/tag/checkbox/" class="st_tag internal_tag" rel="tag" title="Posts tagged with checkbox">checkbox</a>:checked').each(function(){</code></p>
<p>tells jQuery to get all checked checkboxes and via each() do something (function()&#8230;)</p>
<p><code>$.post('process.php', { <a href="http://www.schuchlenz.com/tag/checkbox/" class="st_tag internal_tag" rel="tag" title="Posts tagged with checkbox">checkbox</a>: $(this).attr('value') });</code></p>
<p>For each value that we get, we want to <a href="http://www.schuchlenz.com/tag/send/" class="st_tag internal_tag" rel="tag" title="Posts tagged with send">send</a> an <a href="http://www.schuchlenz.com/tag/ajax/" class="st_tag internal_tag" rel="tag" title="Posts tagged with ajax">AJAX</a> call to <code>process.php</code> and pass the current value as parameter &#8220;<a href="http://www.schuchlenz.com/tag/checkbox/" class="st_tag internal_tag" rel="tag" title="Posts tagged with checkbox">checkbox</a>&#8221;, which we can pick up with PHP. If you like, you can also add a callback function to the <a href="http://www.schuchlenz.com/tag/ajax/" class="st_tag internal_tag" rel="tag" title="Posts tagged with ajax">AJAX</a> call (e.g. an alert which says &#8220;Thanks I&#8217;ve used your data&#8221; or something alike).</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share this on:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.schuchlenz.com%2Fhow-to-process-multiple-checkboxes-with-jquery%2F&amp;partner=sociable" title="Print"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.schuchlenz.com%2Fhow-to-process-multiple-checkboxes-with-jquery%2F&amp;title=How%20to%20process%20multiple%20checkboxes%20with%20jQuery&amp;bodytext=The%20functionality%20isn%27t%20new%3A%20you%20have%20a%20list%20of%20stuff%20and%20want%20checkboxes%20before%20the%20elements%20so%20you%20can%20mass-process%20them.%20In%20my%20case%2C%20I%20wanted%20to%20set%20a%20number%20of%20list%20elements%20to%20a%20certain%20state%20%28which%20in%20this%20case%20means%20a%20status%20flag%20in%20the%20databa" title="Digg"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.schuchlenz.com%2Fhow-to-process-multiple-checkboxes-with-jquery%2F&amp;title=How%20to%20process%20multiple%20checkboxes%20with%20jQuery&amp;notes=The%20functionality%20isn%27t%20new%3A%20you%20have%20a%20list%20of%20stuff%20and%20want%20checkboxes%20before%20the%20elements%20so%20you%20can%20mass-process%20them.%20In%20my%20case%2C%20I%20wanted%20to%20set%20a%20number%20of%20list%20elements%20to%20a%20certain%20state%20%28which%20in%20this%20case%20means%20a%20status%20flag%20in%20the%20databa" title="del.icio.us"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.schuchlenz.com%2Fhow-to-process-multiple-checkboxes-with-jquery%2F&amp;t=How%20to%20process%20multiple%20checkboxes%20with%20jQuery" title="Facebook"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.schuchlenz.com%2Fhow-to-process-multiple-checkboxes-with-jquery%2F&amp;title=How%20to%20process%20multiple%20checkboxes%20with%20jQuery&amp;annotation=The%20functionality%20isn%27t%20new%3A%20you%20have%20a%20list%20of%20stuff%20and%20want%20checkboxes%20before%20the%20elements%20so%20you%20can%20mass-process%20them.%20In%20my%20case%2C%20I%20wanted%20to%20set%20a%20number%20of%20list%20elements%20to%20a%20certain%20state%20%28which%20in%20this%20case%20means%20a%20status%20flag%20in%20the%20databa" title="Google Bookmarks"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="javascript:AddToFavorites();" title="Add to favorites"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/addtofavorites.png" title="Add to favorites" alt="Add to favorites" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="mailto:?subject=How%20to%20process%20multiple%20checkboxes%20with%20jQuery&amp;body=http%3A%2F%2Fwww.schuchlenz.com%2Fhow-to-process-multiple-checkboxes-with-jquery%2F" title="email"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.mister-wong.com/addurl/?bm_url=http%3A%2F%2Fwww.schuchlenz.com%2Fhow-to-process-multiple-checkboxes-with-jquery%2F&amp;bm_description=How%20to%20process%20multiple%20checkboxes%20with%20jQuery&amp;plugin=soc" title="MisterWong"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/misterwong.png" title="MisterWong" alt="MisterWong" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.schuchlenz.com%2Fhow-to-process-multiple-checkboxes-with-jquery%2F&amp;t=How%20to%20process%20multiple%20checkboxes%20with%20jQuery" title="MySpace"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fwww.schuchlenz.com%2Fhow-to-process-multiple-checkboxes-with-jquery%2F&amp;title=How%20to%20process%20multiple%20checkboxes%20with%20jQuery" title="Reddit"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.schuchlenz.com/feed/" title="RSS"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fwww.schuchlenz.com%2Fhow-to-process-multiple-checkboxes-with-jquery%2F&amp;t=How%20to%20process%20multiple%20checkboxes%20with%20jQuery&opener=bm&amp;ei=UTF-8&amp;d=The%20functionality%20isn%27t%20new%3A%20you%20have%20a%20list%20of%20stuff%20and%20want%20checkboxes%20before%20the%20elements%20so%20you%20can%20mass-process%20them.%20In%20my%20case%2C%20I%20wanted%20to%20set%20a%20number%20of%20list%20elements%20to%20a%20certain%20state%20%28which%20in%20this%20case%20means%20a%20status%20flag%20in%20the%20databa" title="Yahoo! Bookmarks"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a></li>
</ul>
</div>

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.schuchlenz.com/how-to-ajax-with-jquery/" title="How to AJAX with jQuery (30.10.2009)">How to AJAX with jQuery</a> (0)</li>
	<li><a href="http://www.schuchlenz.com/using-jquery-for-every-day-tasks/" title="Using jQuery for every day tasks (30.10.2009)">Using jQuery for every day tasks</a> (0)</li>
	<li><a href="http://www.schuchlenz.com/javascript-cookies/" title="JavaScript cookies (30.10.2009)">JavaScript cookies</a> (0)</li>
	<li><a href="http://www.schuchlenz.com/irc-server-channels-added/" title="IRC server &#038; channels added! (19.11.2009)">IRC server &#038; channels added!</a> (0)</li>
	<li><a href="http://www.schuchlenz.com/changing-selected-option-in-a-select/" title="Changing selected option in a SELECT (04.11.2009)">Changing selected option in a SELECT</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.schuchlenz.com/how-to-process-multiple-checkboxes-with-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Analytics Desktop Reporting with Polaris</title>
		<link>http://www.schuchlenz.com/analytics-desktop-reporting-with-polaris/</link>
		<comments>http://www.schuchlenz.com/analytics-desktop-reporting-with-polaris/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 13:59:22 +0000</pubDate>
		<dc:creator>Stefan Schuchlenz</dc:creator>
				<category><![CDATA[Tech Stuff]]></category>
		<category><![CDATA[analytics]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[polaris]]></category>

		<guid isPermaLink="false">http://www.schuchlenz.com/analytics-desktop-reporting-with-polaris/</guid>
		<description><![CDATA[Yesterday I&#8217;ve found a nice Adobe AIR application named &#8220;Polaris&#8221; (find it here) which provides a desktop interface to the most important Google Analytics reports. It comes as a free version which limits you to one Analytics account but you can also go premium and pay for it to have multiple Analytics accounts displayed at [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I&#8217;ve found a nice Adobe AIR application named &#8220;Polaris&#8221; (find it <a target="_blank" href="http://www.desktop-reporting.com/polaris.html">here</a>) which provides a desktop interface to the most important <a href="http://www.schuchlenz.com/tag/google/" class="st_tag internal_tag" rel="tag" title="Posts tagged with google">Google</a> Analytics reports. It comes as a free version which limits you to one Analytics account but you can also go premium and pay for it to have multiple Analytics accounts displayed at once.</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share this on:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.schuchlenz.com%2Fanalytics-desktop-reporting-with-polaris%2F&amp;partner=sociable" title="Print"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.schuchlenz.com%2Fanalytics-desktop-reporting-with-polaris%2F&amp;title=Analytics%20Desktop%20Reporting%20with%20Polaris&amp;bodytext=Yesterday%20I%27ve%20found%20a%20nice%20Adobe%20AIR%20application%20named%20%22Polaris%22%20%28find%20it%20here%29%20which%20provides%20a%20desktop%20interface%20to%20the%20most%20important%20Google%20Analytics%20reports.%20It%20comes%20as%20a%20free%20version%20which%20limits%20you%20to%20one%20Analytics%20account%20but%20you%20can%20also%20" title="Digg"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.schuchlenz.com%2Fanalytics-desktop-reporting-with-polaris%2F&amp;title=Analytics%20Desktop%20Reporting%20with%20Polaris&amp;notes=Yesterday%20I%27ve%20found%20a%20nice%20Adobe%20AIR%20application%20named%20%22Polaris%22%20%28find%20it%20here%29%20which%20provides%20a%20desktop%20interface%20to%20the%20most%20important%20Google%20Analytics%20reports.%20It%20comes%20as%20a%20free%20version%20which%20limits%20you%20to%20one%20Analytics%20account%20but%20you%20can%20also%20" title="del.icio.us"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.schuchlenz.com%2Fanalytics-desktop-reporting-with-polaris%2F&amp;t=Analytics%20Desktop%20Reporting%20with%20Polaris" title="Facebook"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.schuchlenz.com%2Fanalytics-desktop-reporting-with-polaris%2F&amp;title=Analytics%20Desktop%20Reporting%20with%20Polaris&amp;annotation=Yesterday%20I%27ve%20found%20a%20nice%20Adobe%20AIR%20application%20named%20%22Polaris%22%20%28find%20it%20here%29%20which%20provides%20a%20desktop%20interface%20to%20the%20most%20important%20Google%20Analytics%20reports.%20It%20comes%20as%20a%20free%20version%20which%20limits%20you%20to%20one%20Analytics%20account%20but%20you%20can%20also%20" title="Google Bookmarks"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="javascript:AddToFavorites();" title="Add to favorites"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/addtofavorites.png" title="Add to favorites" alt="Add to favorites" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="mailto:?subject=Analytics%20Desktop%20Reporting%20with%20Polaris&amp;body=http%3A%2F%2Fwww.schuchlenz.com%2Fanalytics-desktop-reporting-with-polaris%2F" title="email"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.mister-wong.com/addurl/?bm_url=http%3A%2F%2Fwww.schuchlenz.com%2Fanalytics-desktop-reporting-with-polaris%2F&amp;bm_description=Analytics%20Desktop%20Reporting%20with%20Polaris&amp;plugin=soc" title="MisterWong"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/misterwong.png" title="MisterWong" alt="MisterWong" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.schuchlenz.com%2Fanalytics-desktop-reporting-with-polaris%2F&amp;t=Analytics%20Desktop%20Reporting%20with%20Polaris" title="MySpace"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fwww.schuchlenz.com%2Fanalytics-desktop-reporting-with-polaris%2F&amp;title=Analytics%20Desktop%20Reporting%20with%20Polaris" title="Reddit"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.schuchlenz.com/feed/" title="RSS"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fwww.schuchlenz.com%2Fanalytics-desktop-reporting-with-polaris%2F&amp;t=Analytics%20Desktop%20Reporting%20with%20Polaris&opener=bm&amp;ei=UTF-8&amp;d=Yesterday%20I%27ve%20found%20a%20nice%20Adobe%20AIR%20application%20named%20%22Polaris%22%20%28find%20it%20here%29%20which%20provides%20a%20desktop%20interface%20to%20the%20most%20important%20Google%20Analytics%20reports.%20It%20comes%20as%20a%20free%20version%20which%20limits%20you%20to%20one%20Analytics%20account%20but%20you%20can%20also%20" title="Yahoo! Bookmarks"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a></li>
</ul>
</div>

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.schuchlenz.com/quick-and-dirty-guide-to-your-1st-rails-app-part-1/" title="Quick and Dirty Guide to your 1st Rails app &#8211; Part #1 (03.11.2009)">Quick and Dirty Guide to your 1st Rails app &#8211; Part #1</a> (2)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.schuchlenz.com/analytics-desktop-reporting-with-polaris/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mailer HOWTO for Rails</title>
		<link>http://www.schuchlenz.com/mailer-howto-for-rails/</link>
		<comments>http://www.schuchlenz.com/mailer-howto-for-rails/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 11:10:01 +0000</pubDate>
		<dc:creator>Stefan Schuchlenz</dc:creator>
				<category><![CDATA[Tech Stuff]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[mailer]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[send]]></category>

		<guid isPermaLink="false">http://www.schuchlenz.com/mailer-howto-for-rails/</guid>
		<description><![CDATA[Since sending mails via Rails is &#8211; at first sight &#8211; a bit tricky, I want to provide you with a quick heads up on how to do that. 
Fortunately Rails provides us with a mailer generator to set up the basics:
ruby script/generate mailer MyMailer
You can of course call it as you like it to [...]]]></description>
			<content:encoded><![CDATA[<p>Since sending mails via Rails is &#8211; at first sight &#8211; a bit tricky, I want to provide you with a quick heads up on how to do that. </p>
<p><span id="more-104"></span><br />Fortunately Rails provides us with a <a href="http://www.schuchlenz.com/tag/mailer/" class="st_tag internal_tag" rel="tag" title="Posts tagged with mailer">mailer</a> generator to set up the basics:</p>
<p><code>ruby script/generate <a href="http://www.schuchlenz.com/tag/mailer/" class="st_tag internal_tag" rel="tag" title="Posts tagged with mailer">mailer</a> MyMailer</code></p>
<p>You can of course call it as you like it to fit your application. But for this <a href="http://www.schuchlenz.com/tag/howto/" class="st_tag internal_tag" rel="tag" title="Posts tagged with howto">HOWTO</a> let&#8217;s stick to MyMailer. As you have noticed, Rails created some files for us:</p>
<p><code>exists&nbsp; app/models/<br />create&nbsp; app/views/my_mailer<br />exists&nbsp; test/unit/<br />create&nbsp; test/fixtures/my_mailer<br />create&nbsp; app/models/my_mailer.rb<br />create&nbsp; test/unit/my_mailer_test.rb</code></p>
<p>At first, we need to edit app/models/my_mailer.rb and add the following code:</p>
<p><code>def mail(recipient, subject, bodyText)<br />&nbsp; from "no-reply@mydomain.com"<br />&nbsp; recipients recipient<br />&nbsp; subject subject <br />&nbsp; body :bodyText =&gt; bodyText<br />end</code></p>
<p><i><b>Notice: make sure you don&#8217;t use @from or @body &#8211; you maybe won&#8217;t get any error but it simply won&#8217;t work!</b></i><br />This is the function that will be called when we want to <a href="http://www.schuchlenz.com/tag/send/" class="st_tag internal_tag" rel="tag" title="Posts tagged with send">send</a> a mail. You can also use default values (like for the from address) for subject and body if you like. But we want to provide our application with a form to enter subject and body and to <a href="http://www.schuchlenz.com/tag/select/" class="st_tag internal_tag" rel="tag" title="Posts tagged with select">select</a> some recipients (so we have a mass <a href="http://www.schuchlenz.com/tag/mailer/" class="st_tag internal_tag" rel="tag" title="Posts tagged with mailer">mailer</a>, basically). Let&#8217;s edit the mail template &#8211; this is the body of our mail message. It resides in app/views/my_mailer and we call it mail.html.erb (we have to create that). Then we put in:</p>
<p><code>&lt;%= @bodyText %&gt;</code></p>
<p>At the moment, the body text is sufficient, but you can also add a salutation, footer line or whatever you want to be sent alongside the stuff the user puts in the body field in the mail sending form. Here is the code you have to put in the controller which is supposed to <a href="http://www.schuchlenz.com/tag/send/" class="st_tag internal_tag" rel="tag" title="Posts tagged with send">send</a> the mails (I used admin):</p>
<p><code>def sendEmail<br />&nbsp; params[:recipients].each do |r|<br />&nbsp; MyMailer::deliver_mail(r, params[:subject], params[:body])<br />end</code></p>
<p>The each-loop allows for stuffing multiple recipients into our mail sending function. But we need a form to <a href="http://www.schuchlenz.com/tag/select/" class="st_tag internal_tag" rel="tag" title="Posts tagged with select">select</a> these users and provide a subject and body field. So you have to create a view (e.g. admin/sendMyMail.html.erb) and put in something like that:</p>
<p><code>&lt;% form_tag '/admin/sendEmail' do %&gt;<br />&lt;label&gt;Subject:&lt;/label&gt;&lt;br /&gt;<br />&lt;input type="text" name="subject" /&gt;&lt;br /&gt;&lt;br /&gt;<br />&lt;label&gt;Recipients:&lt;/label&gt;&lt;br /&gt;<br />&lt;<a href="http://www.schuchlenz.com/tag/select/" class="st_tag internal_tag" rel="tag" title="Posts tagged with select">select</a> name="recipients[]" multiple&gt;<br />&lt;% Recipient.find(:all).each do |r| %&gt;<br />&lt;option value="&lt;%= r.mail %&gt;"&gt;&lt;%= r.firstname + ' ' + r.lastname %&gt;&lt;/option&gt;<br />&lt;% end %&gt;<br />&lt;/<a href="http://www.schuchlenz.com/tag/select/" class="st_tag internal_tag" rel="tag" title="Posts tagged with select">select</a>&gt;<br />&lt;br /&gt;&lt;br /&gt;<br />&lt;label&gt;Message:&lt;/label&gt;&lt;br /&gt;<br />&lt;textarea name="body"&gt;&lt;/textarea&gt;<br />&lt;br /&gt;&lt;br /&gt;<br />&lt;input type="submit" value="<a href="http://www.schuchlenz.com/tag/send/" class="st_tag internal_tag" rel="tag" title="Posts tagged with send">send</a> 'em" /&gt;<br />&lt;% end %&gt;</code></p>
<p>I used a model Recipient here, you can of course use any model you want, extract the (rather ugly) database querying and put it in a helper etc.</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share this on:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.schuchlenz.com%2Fmailer-howto-for-rails%2F&amp;partner=sociable" title="Print"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.schuchlenz.com%2Fmailer-howto-for-rails%2F&amp;title=Mailer%20HOWTO%20for%20Rails&amp;bodytext=Since%20sending%20mails%20via%20Rails%20is%20-%20at%20first%20sight%20-%20a%20bit%20tricky%2C%20I%20want%20to%20provide%20you%20with%20a%20quick%20heads%20up%20on%20how%20to%20do%20that.%20Fortunately%20Rails%20provides%20us%20with%20a%20mailer%20generator%20to%20set%20up%20the%20basics%3Aruby%20script%2Fgenerate%20mailer%20MyMailerYou%20can%20of" title="Digg"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.schuchlenz.com%2Fmailer-howto-for-rails%2F&amp;title=Mailer%20HOWTO%20for%20Rails&amp;notes=Since%20sending%20mails%20via%20Rails%20is%20-%20at%20first%20sight%20-%20a%20bit%20tricky%2C%20I%20want%20to%20provide%20you%20with%20a%20quick%20heads%20up%20on%20how%20to%20do%20that.%20Fortunately%20Rails%20provides%20us%20with%20a%20mailer%20generator%20to%20set%20up%20the%20basics%3Aruby%20script%2Fgenerate%20mailer%20MyMailerYou%20can%20of" title="del.icio.us"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.schuchlenz.com%2Fmailer-howto-for-rails%2F&amp;t=Mailer%20HOWTO%20for%20Rails" title="Facebook"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.schuchlenz.com%2Fmailer-howto-for-rails%2F&amp;title=Mailer%20HOWTO%20for%20Rails&amp;annotation=Since%20sending%20mails%20via%20Rails%20is%20-%20at%20first%20sight%20-%20a%20bit%20tricky%2C%20I%20want%20to%20provide%20you%20with%20a%20quick%20heads%20up%20on%20how%20to%20do%20that.%20Fortunately%20Rails%20provides%20us%20with%20a%20mailer%20generator%20to%20set%20up%20the%20basics%3Aruby%20script%2Fgenerate%20mailer%20MyMailerYou%20can%20of" title="Google Bookmarks"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="javascript:AddToFavorites();" title="Add to favorites"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/addtofavorites.png" title="Add to favorites" alt="Add to favorites" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="mailto:?subject=Mailer%20HOWTO%20for%20Rails&amp;body=http%3A%2F%2Fwww.schuchlenz.com%2Fmailer-howto-for-rails%2F" title="email"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.mister-wong.com/addurl/?bm_url=http%3A%2F%2Fwww.schuchlenz.com%2Fmailer-howto-for-rails%2F&amp;bm_description=Mailer%20HOWTO%20for%20Rails&amp;plugin=soc" title="MisterWong"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/misterwong.png" title="MisterWong" alt="MisterWong" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.schuchlenz.com%2Fmailer-howto-for-rails%2F&amp;t=Mailer%20HOWTO%20for%20Rails" title="MySpace"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fwww.schuchlenz.com%2Fmailer-howto-for-rails%2F&amp;title=Mailer%20HOWTO%20for%20Rails" title="Reddit"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.schuchlenz.com/feed/" title="RSS"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fwww.schuchlenz.com%2Fmailer-howto-for-rails%2F&amp;t=Mailer%20HOWTO%20for%20Rails&opener=bm&amp;ei=UTF-8&amp;d=Since%20sending%20mails%20via%20Rails%20is%20-%20at%20first%20sight%20-%20a%20bit%20tricky%2C%20I%20want%20to%20provide%20you%20with%20a%20quick%20heads%20up%20on%20how%20to%20do%20that.%20Fortunately%20Rails%20provides%20us%20with%20a%20mailer%20generator%20to%20set%20up%20the%20basics%3Aruby%20script%2Fgenerate%20mailer%20MyMailerYou%20can%20of" title="Yahoo! Bookmarks"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a></li>
</ul>
</div>

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.schuchlenz.com/quick-and-dirty-guide-to-your-1st-rails-app-part-1/" title="Quick and Dirty Guide to your 1st Rails app &#8211; Part #1 (03.11.2009)">Quick and Dirty Guide to your 1st Rails app &#8211; Part #1</a> (2)</li>
	<li><a href="http://www.schuchlenz.com/activescaffold-how-to-get-started/" title="ActiveScaffold: How to get started (02.11.2009)">ActiveScaffold: How to get started</a> (2)</li>
	<li><a href="http://www.schuchlenz.com/the-numberhelper-in-rails/" title="The NumberHelper in Rails (30.10.2009)">The NumberHelper in Rails</a> (0)</li>
	<li><a href="http://www.schuchlenz.com/symfony-how-to-get-data-from-session-into-form/" title="Symfony: How to get data from session into form (02.11.2009)">Symfony: How to get data from session into form</a> (1)</li>
	<li><a href="http://www.schuchlenz.com/svn-a-quick-howto/" title="SVN: A quick HOWTO (04.11.2009)">SVN: A quick HOWTO</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.schuchlenz.com/mailer-howto-for-rails/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Subscribe2: too much MIME prevents mails being sent&#8230;</title>
		<link>http://www.schuchlenz.com/subscribe2-too-much-mime-prevents-mails-being-sent/</link>
		<comments>http://www.schuchlenz.com/subscribe2-too-much-mime-prevents-mails-being-sent/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 13:46:03 +0000</pubDate>
		<dc:creator>Stefan Schuchlenz</dc:creator>
				<category><![CDATA[Tech Stuff]]></category>
		<category><![CDATA[bad header]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[subscribe2]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.schuchlenz.com/subscribe2-too-much-mime-prevents-mails-being-sent/</guid>
		<description><![CDATA[Today I added the subscribe2 plugin to this blog, which in fact is very nice (hey you &#8211; are you subscribed yet?) to notify users of new posts. But when I took the first dry run trying to subscribe and confirm my account, no mail has been sent. Well, in fact the logfiles of my [...]]]></description>
			<content:encoded><![CDATA[<p>Today I added the <a href="http://www.schuchlenz.com/tag/subscribe2/" class="st_tag internal_tag" rel="tag" title="Posts tagged with subscribe2">subscribe2</a> plugin to this blog, which in fact is very nice (hey you &#8211; are you subscribed yet?) to notify users of new posts. But when I took the first dry run trying to subscribe and confirm my account, no mail has been sent. Well, in fact the logfiles of my mailserver proved me wrong: the mail was rejected because of a BAD HEADER error since the MIME version was noted twice and therefore my mailserver decided to dump it. </p>
<p>Due to the fact that that many sysadmins have hardened their security because of spam and virus waves, it is a good idea to check on the error, which in fact resides in wp-content/plugins/<a href="http://www.schuchlenz.com/tag/subscribe2/" class="st_tag internal_tag" rel="tag" title="Posts tagged with subscribe2">subscribe2</a>/<a href="http://www.schuchlenz.com/tag/subscribe2/" class="st_tag internal_tag" rel="tag" title="Posts tagged with subscribe2">subscribe2</a>.php. Just comment out the line</p>
<p><code>$headers .= "MIME-Version: 1.0\n";</code></p>
<p>and you&#8217;re safe.</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share this on:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.schuchlenz.com%2Fsubscribe2-too-much-mime-prevents-mails-being-sent%2F&amp;partner=sociable" title="Print"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.schuchlenz.com%2Fsubscribe2-too-much-mime-prevents-mails-being-sent%2F&amp;title=Subscribe2%3A%20too%20much%20MIME%20prevents%20mails%20being%20sent...&amp;bodytext=Today%20I%20added%20the%20subscribe2%20plugin%20to%20this%20blog%2C%20which%20in%20fact%20is%20very%20nice%20%28hey%20you%20-%20are%20you%20subscribed%20yet%3F%29%20to%20notify%20users%20of%20new%20posts.%20But%20when%20I%20took%20the%20first%20dry%20run%20trying%20to%20subscribe%20and%20confirm%20my%20account%2C%20no%20mail%20has%20been%20sent.%20Well%2C%20" title="Digg"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.schuchlenz.com%2Fsubscribe2-too-much-mime-prevents-mails-being-sent%2F&amp;title=Subscribe2%3A%20too%20much%20MIME%20prevents%20mails%20being%20sent...&amp;notes=Today%20I%20added%20the%20subscribe2%20plugin%20to%20this%20blog%2C%20which%20in%20fact%20is%20very%20nice%20%28hey%20you%20-%20are%20you%20subscribed%20yet%3F%29%20to%20notify%20users%20of%20new%20posts.%20But%20when%20I%20took%20the%20first%20dry%20run%20trying%20to%20subscribe%20and%20confirm%20my%20account%2C%20no%20mail%20has%20been%20sent.%20Well%2C%20" title="del.icio.us"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.schuchlenz.com%2Fsubscribe2-too-much-mime-prevents-mails-being-sent%2F&amp;t=Subscribe2%3A%20too%20much%20MIME%20prevents%20mails%20being%20sent..." title="Facebook"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.schuchlenz.com%2Fsubscribe2-too-much-mime-prevents-mails-being-sent%2F&amp;title=Subscribe2%3A%20too%20much%20MIME%20prevents%20mails%20being%20sent...&amp;annotation=Today%20I%20added%20the%20subscribe2%20plugin%20to%20this%20blog%2C%20which%20in%20fact%20is%20very%20nice%20%28hey%20you%20-%20are%20you%20subscribed%20yet%3F%29%20to%20notify%20users%20of%20new%20posts.%20But%20when%20I%20took%20the%20first%20dry%20run%20trying%20to%20subscribe%20and%20confirm%20my%20account%2C%20no%20mail%20has%20been%20sent.%20Well%2C%20" title="Google Bookmarks"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="javascript:AddToFavorites();" title="Add to favorites"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/addtofavorites.png" title="Add to favorites" alt="Add to favorites" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="mailto:?subject=Subscribe2%3A%20too%20much%20MIME%20prevents%20mails%20being%20sent...&amp;body=http%3A%2F%2Fwww.schuchlenz.com%2Fsubscribe2-too-much-mime-prevents-mails-being-sent%2F" title="email"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.mister-wong.com/addurl/?bm_url=http%3A%2F%2Fwww.schuchlenz.com%2Fsubscribe2-too-much-mime-prevents-mails-being-sent%2F&amp;bm_description=Subscribe2%3A%20too%20much%20MIME%20prevents%20mails%20being%20sent...&amp;plugin=soc" title="MisterWong"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/misterwong.png" title="MisterWong" alt="MisterWong" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.schuchlenz.com%2Fsubscribe2-too-much-mime-prevents-mails-being-sent%2F&amp;t=Subscribe2%3A%20too%20much%20MIME%20prevents%20mails%20being%20sent..." title="MySpace"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fwww.schuchlenz.com%2Fsubscribe2-too-much-mime-prevents-mails-being-sent%2F&amp;title=Subscribe2%3A%20too%20much%20MIME%20prevents%20mails%20being%20sent..." title="Reddit"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.schuchlenz.com/feed/" title="RSS"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fwww.schuchlenz.com%2Fsubscribe2-too-much-mime-prevents-mails-being-sent%2F&amp;t=Subscribe2%3A%20too%20much%20MIME%20prevents%20mails%20being%20sent...&opener=bm&amp;ei=UTF-8&amp;d=Today%20I%20added%20the%20subscribe2%20plugin%20to%20this%20blog%2C%20which%20in%20fact%20is%20very%20nice%20%28hey%20you%20-%20are%20you%20subscribed%20yet%3F%29%20to%20notify%20users%20of%20new%20posts.%20But%20when%20I%20took%20the%20first%20dry%20run%20trying%20to%20subscribe%20and%20confirm%20my%20account%2C%20no%20mail%20has%20been%20sent.%20Well%2C%20" title="Yahoo! Bookmarks"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a></li>
</ul>
</div>

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.schuchlenz.com/mailer-howto-for-rails/" title="Mailer HOWTO for Rails (05.11.2009)">Mailer HOWTO for Rails</a> (2)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.schuchlenz.com/subscribe2-too-much-mime-prevents-mails-being-sent/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing selected option in a SELECT</title>
		<link>http://www.schuchlenz.com/changing-selected-option-in-a-select/</link>
		<comments>http://www.schuchlenz.com/changing-selected-option-in-a-select/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 13:35:31 +0000</pubDate>
		<dc:creator>Stefan Schuchlenz</dc:creator>
				<category><![CDATA[Tech Stuff]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[option]]></category>
		<category><![CDATA[select]]></category>
		<category><![CDATA[selected]]></category>

		<guid isPermaLink="false">http://www.schuchlenz.com/changing-selected-option-in-a-select/</guid>
		<description><![CDATA[In Symfony, nothing is as easy as it might seem. So I ran into the problem to change which element of an autogenerated SELECT is selected. jQuery came in handy to accomplish that.
In this case, my SELECT looks like:
&#60;select id="mySelect"&#62;&#60;option value="0"&#62;please choose&#60;/option&#62;&#60;option value="1" selected&#62;some option&#60;/option&#62;&#60;option value="2"&#62;some other option&#60;/option&#62;&#60;option value="3"&#62;you get it&#60;/option&#62;&#60;/select&#62;
Now, I want to have [...]]]></description>
			<content:encoded><![CDATA[<p>In Symfony, nothing is as easy as it might seem. So I ran into the problem to change which element of an autogenerated SELECT is selected. jQuery came in handy to accomplish that.</p>
<p>In this case, my SELECT looks like:</p>
<p><code>&lt;select id="mySelect"&gt;<br />&lt;option value="0"&gt;please choose&lt;/option&gt;<br />&lt;option value="1" selected&gt;some option&lt;/option&gt;<br />&lt;option value="2"&gt;some other option&lt;/option&gt;<br />&lt;option value="3"&gt;you get it&lt;/option&gt;<br />&lt;/select&gt;</code></p>
<p>Now, I want to have my option no# 2 selected instead of 1:</p>
<p><code>jQuery("select#mySelect option[selected]").removeAttr("selected");<br />jQuery("select#mySelect option[value=2]").attr("selected", "selected");</code></p>
<p>And here we go. Courtesy to <span class="blog_author"><span id="dnn_ctr428_MainView_ViewEntry_lblUserID">Will Strohl (http://www.willstrohl.com) for this tip!<br /></span></span></p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share this on:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.schuchlenz.com%2Fchanging-selected-option-in-a-select%2F&amp;partner=sociable" title="Print"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.schuchlenz.com%2Fchanging-selected-option-in-a-select%2F&amp;title=Changing%20selected%20option%20in%20a%20SELECT&amp;bodytext=In%20Symfony%2C%20nothing%20is%20as%20easy%20as%20it%20might%20seem.%20So%20I%20ran%20into%20the%20problem%20to%20change%20which%20element%20of%20an%20autogenerated%20SELECT%20is%20selected.%20jQuery%20came%20in%20handy%20to%20accomplish%20that.In%20this%20case%2C%20my%20SELECT%20looks%20like%3A%26lt%3Bselect%20id%3D%22mySelect%22%26gt%3B%26lt%3Bopti" title="Digg"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.schuchlenz.com%2Fchanging-selected-option-in-a-select%2F&amp;title=Changing%20selected%20option%20in%20a%20SELECT&amp;notes=In%20Symfony%2C%20nothing%20is%20as%20easy%20as%20it%20might%20seem.%20So%20I%20ran%20into%20the%20problem%20to%20change%20which%20element%20of%20an%20autogenerated%20SELECT%20is%20selected.%20jQuery%20came%20in%20handy%20to%20accomplish%20that.In%20this%20case%2C%20my%20SELECT%20looks%20like%3A%26lt%3Bselect%20id%3D%22mySelect%22%26gt%3B%26lt%3Bopti" title="del.icio.us"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.schuchlenz.com%2Fchanging-selected-option-in-a-select%2F&amp;t=Changing%20selected%20option%20in%20a%20SELECT" title="Facebook"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.schuchlenz.com%2Fchanging-selected-option-in-a-select%2F&amp;title=Changing%20selected%20option%20in%20a%20SELECT&amp;annotation=In%20Symfony%2C%20nothing%20is%20as%20easy%20as%20it%20might%20seem.%20So%20I%20ran%20into%20the%20problem%20to%20change%20which%20element%20of%20an%20autogenerated%20SELECT%20is%20selected.%20jQuery%20came%20in%20handy%20to%20accomplish%20that.In%20this%20case%2C%20my%20SELECT%20looks%20like%3A%26lt%3Bselect%20id%3D%22mySelect%22%26gt%3B%26lt%3Bopti" title="Google Bookmarks"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="javascript:AddToFavorites();" title="Add to favorites"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/addtofavorites.png" title="Add to favorites" alt="Add to favorites" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="mailto:?subject=Changing%20selected%20option%20in%20a%20SELECT&amp;body=http%3A%2F%2Fwww.schuchlenz.com%2Fchanging-selected-option-in-a-select%2F" title="email"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.mister-wong.com/addurl/?bm_url=http%3A%2F%2Fwww.schuchlenz.com%2Fchanging-selected-option-in-a-select%2F&amp;bm_description=Changing%20selected%20option%20in%20a%20SELECT&amp;plugin=soc" title="MisterWong"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/misterwong.png" title="MisterWong" alt="MisterWong" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.schuchlenz.com%2Fchanging-selected-option-in-a-select%2F&amp;t=Changing%20selected%20option%20in%20a%20SELECT" title="MySpace"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fwww.schuchlenz.com%2Fchanging-selected-option-in-a-select%2F&amp;title=Changing%20selected%20option%20in%20a%20SELECT" title="Reddit"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.schuchlenz.com/feed/" title="RSS"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fwww.schuchlenz.com%2Fchanging-selected-option-in-a-select%2F&amp;t=Changing%20selected%20option%20in%20a%20SELECT&opener=bm&amp;ei=UTF-8&amp;d=In%20Symfony%2C%20nothing%20is%20as%20easy%20as%20it%20might%20seem.%20So%20I%20ran%20into%20the%20problem%20to%20change%20which%20element%20of%20an%20autogenerated%20SELECT%20is%20selected.%20jQuery%20came%20in%20handy%20to%20accomplish%20that.In%20this%20case%2C%20my%20SELECT%20looks%20like%3A%26lt%3Bselect%20id%3D%22mySelect%22%26gt%3B%26lt%3Bopti" title="Yahoo! Bookmarks"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a></li>
</ul>
</div>

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.schuchlenz.com/using-jquery-for-every-day-tasks/" title="Using jQuery for every day tasks (30.10.2009)">Using jQuery for every day tasks</a> (0)</li>
	<li><a href="http://www.schuchlenz.com/javascript-cookies/" title="JavaScript cookies (30.10.2009)">JavaScript cookies</a> (0)</li>
	<li><a href="http://www.schuchlenz.com/irc-server-channels-added/" title="IRC server &#038; channels added! (19.11.2009)">IRC server &#038; channels added!</a> (0)</li>
	<li><a href="http://www.schuchlenz.com/how-to-process-multiple-checkboxes-with-jquery/" title="How to process multiple checkboxes with jQuery (09.11.2009)">How to process multiple checkboxes with jQuery</a> (0)</li>
	<li><a href="http://www.schuchlenz.com/how-to-ajax-with-jquery/" title="How to AJAX with jQuery (30.10.2009)">How to AJAX with jQuery</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.schuchlenz.com/changing-selected-option-in-a-select/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SVN: A quick HOWTO</title>
		<link>http://www.schuchlenz.com/svn-a-quick-howto/</link>
		<comments>http://www.schuchlenz.com/svn-a-quick-howto/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 11:20:45 +0000</pubDate>
		<dc:creator>Stefan Schuchlenz</dc:creator>
				<category><![CDATA[Tech Stuff]]></category>
		<category><![CDATA[branches]]></category>
		<category><![CDATA[checkout]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[tags]]></category>
		<category><![CDATA[trunk]]></category>

		<guid isPermaLink="false">http://www.schuchlenz.com/svn-a-quick-howto/</guid>
		<description><![CDATA[If you do a lot of coding, you will experience the need for versioning your code. I have used CVS before switching to SVN and I can only recommend SVN to you &#8211; once you get the hang of it, you will love it. I even use SVN for keeping track of complex HTML templates.
When [...]]]></description>
			<content:encoded><![CDATA[<p>If you do a lot of coding, you will experience the need for versioning your code. I have used CVS before switching to <a href="http://www.schuchlenz.com/tag/svn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with svn">SVN</a> and I can only recommend <a href="http://www.schuchlenz.com/tag/svn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with svn">SVN</a> to you &#8211; once you get the hang of it, you will love it. I even use <a href="http://www.schuchlenz.com/tag/svn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with svn">SVN</a> for keeping track of complex HTML templates.</p>
<p>When using <a href="http://www.schuchlenz.com/tag/svn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with svn">SVN</a> for the first time, I followed a tutorial on the net but it was quite misleading and thus I had quite some trouble with checking in and out.</p>
<p>Let&#8217;s say we have an application that resides under /var/www/myApp/ and we have a <a href="http://www.schuchlenz.com/tag/svn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with svn">SVN</a> repository over at <code>www.mydomain.com/<a href="http://www.schuchlenz.com/tag/svn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with svn">svn</a>/myAPP</code> (you can create that via <code>svnadmin create myAPP</code> in the <code><a href="http://www.schuchlenz.com/tag/svn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with svn">svn</a>/</code> directory).</p>
<p>OK, at first, we have to check out the empty repo to a directory (I use /home/joe/myAPP here):</p>
<p><code><a href="http://www.schuchlenz.com/tag/svn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with svn">svn</a> co http://www.mydomain.com/<a href="http://www.schuchlenz.com/tag/svn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with svn">svn</a>/myAPP /home/joe/myAPP</code></p>
<p>Then, we jump into our temporary repo and create the necessary directories:</p>
<p><code>cd /home/joe/myAPP<br />
mkdir <a href="http://www.schuchlenz.com/tag/tags/" class="st_tag internal_tag" rel="tag" title="Posts tagged with tags">tags</a> branches</code></p>
<p>Done? Good. Let&#8217;s copy our application to the trunk/ directory:</p>
<p><code>cp /var/www/myAPP trunk -a</code></p>
<p>Now we can add our 3 folders to the <a href="http://www.schuchlenz.com/tag/svn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with svn">SVN</a> repository (in fact, we only mark them for addition, they are added once we commit our changes by checking in):</p>
<p><code><a href="http://www.schuchlenz.com/tag/svn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with svn">svn</a> add trunk branches <a href="http://www.schuchlenz.com/tag/tags/" class="st_tag internal_tag" rel="tag" title="Posts tagged with tags">tags</a></code></p>
<p>trunk, branches and <a href="http://www.schuchlenz.com/tag/tags/" class="st_tag internal_tag" rel="tag" title="Posts tagged with tags">tags</a> directories are now registered as part of our <a href="http://www.schuchlenz.com/tag/svn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with svn">SVN</a> repo. But hey! Let&#8217;s assume we have two folders (private and logs) which we don&#8217;t want to be updated when checking in changes to our repository. We can now set ignore rules to avoid them being checked in:</p>
<p><code><a href="http://www.schuchlenz.com/tag/svn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with svn">svn</a> propedit <a href="http://www.schuchlenz.com/tag/svn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with svn">svn</a>:ignore .</code></p>
<p>An editor will open &#8211; this can be VIM, nano or whatever you have set as your shells default editor. Enter the following lines and save+close:</p>
<p><code>trunk/private<br />
trunk/logs</code></p>
<p>You can also set single files or wildcard specs to be ignored:</p>
<p><code>trunk/log/*.log<br />
trunk/private/*<br />
trunk/private/myDocument.txt</code></p>
<p>Once you&#8217;re done, let&#8217;s check in our changes to the repo:</p>
<p><code><a href="http://www.schuchlenz.com/tag/svn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with svn">svn</a> ci</code></p>
<p>Now you can enter a message (for the first time I use &#8220;initial commit&#8221;), save+close and you will notice that <a href="http://www.schuchlenz.com/tag/svn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with svn">SVN</a> works on your changes and gives back a revision number. This is your current version.</p>
<p>Once you&#8217;re done, I&#8217;d suggest making an update, removing our repo <a href="http://www.schuchlenz.com/tag/checkout/" class="st_tag internal_tag" rel="tag" title="Posts tagged with checkout">checkout</a> and checking out only <code>trunk/</code> since you won&#8217;t need <a href="http://www.schuchlenz.com/tag/tags/" class="st_tag internal_tag" rel="tag" title="Posts tagged with tags">tags</a> and branches when working locally:</p>
<p><code><a href="http://www.schuchlenz.com/tag/svn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with svn">svn</a> up<br />
cd ..<br />
rm -rf myAPP<br />
<a href="http://www.schuchlenz.com/tag/svn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with svn">svn</a> co http://www.mydomain.com/<a href="http://www.schuchlenz.com/tag/svn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with svn">svn</a>/myAPP/trunk myAPP</code></p>
<p>Now you&#8217;re set!</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share this on:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.schuchlenz.com%2Fsvn-a-quick-howto%2F&amp;partner=sociable" title="Print"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.schuchlenz.com%2Fsvn-a-quick-howto%2F&amp;title=SVN%3A%20A%20quick%20HOWTO&amp;bodytext=If%20you%20do%20a%20lot%20of%20coding%2C%20you%20will%20experience%20the%20need%20for%20versioning%20your%20code.%20I%20have%20used%20CVS%20before%20switching%20to%20SVN%20and%20I%20can%20only%20recommend%20SVN%20to%20you%20-%20once%20you%20get%20the%20hang%20of%20it%2C%20you%20will%20love%20it.%20I%20even%20use%20SVN%20for%20keeping%20track%20of%20complex" title="Digg"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.schuchlenz.com%2Fsvn-a-quick-howto%2F&amp;title=SVN%3A%20A%20quick%20HOWTO&amp;notes=If%20you%20do%20a%20lot%20of%20coding%2C%20you%20will%20experience%20the%20need%20for%20versioning%20your%20code.%20I%20have%20used%20CVS%20before%20switching%20to%20SVN%20and%20I%20can%20only%20recommend%20SVN%20to%20you%20-%20once%20you%20get%20the%20hang%20of%20it%2C%20you%20will%20love%20it.%20I%20even%20use%20SVN%20for%20keeping%20track%20of%20complex" title="del.icio.us"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.schuchlenz.com%2Fsvn-a-quick-howto%2F&amp;t=SVN%3A%20A%20quick%20HOWTO" title="Facebook"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.schuchlenz.com%2Fsvn-a-quick-howto%2F&amp;title=SVN%3A%20A%20quick%20HOWTO&amp;annotation=If%20you%20do%20a%20lot%20of%20coding%2C%20you%20will%20experience%20the%20need%20for%20versioning%20your%20code.%20I%20have%20used%20CVS%20before%20switching%20to%20SVN%20and%20I%20can%20only%20recommend%20SVN%20to%20you%20-%20once%20you%20get%20the%20hang%20of%20it%2C%20you%20will%20love%20it.%20I%20even%20use%20SVN%20for%20keeping%20track%20of%20complex" title="Google Bookmarks"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="javascript:AddToFavorites();" title="Add to favorites"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/addtofavorites.png" title="Add to favorites" alt="Add to favorites" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="mailto:?subject=SVN%3A%20A%20quick%20HOWTO&amp;body=http%3A%2F%2Fwww.schuchlenz.com%2Fsvn-a-quick-howto%2F" title="email"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.mister-wong.com/addurl/?bm_url=http%3A%2F%2Fwww.schuchlenz.com%2Fsvn-a-quick-howto%2F&amp;bm_description=SVN%3A%20A%20quick%20HOWTO&amp;plugin=soc" title="MisterWong"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/misterwong.png" title="MisterWong" alt="MisterWong" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.schuchlenz.com%2Fsvn-a-quick-howto%2F&amp;t=SVN%3A%20A%20quick%20HOWTO" title="MySpace"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fwww.schuchlenz.com%2Fsvn-a-quick-howto%2F&amp;title=SVN%3A%20A%20quick%20HOWTO" title="Reddit"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.schuchlenz.com/feed/" title="RSS"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fwww.schuchlenz.com%2Fsvn-a-quick-howto%2F&amp;t=SVN%3A%20A%20quick%20HOWTO&opener=bm&amp;ei=UTF-8&amp;d=If%20you%20do%20a%20lot%20of%20coding%2C%20you%20will%20experience%20the%20need%20for%20versioning%20your%20code.%20I%20have%20used%20CVS%20before%20switching%20to%20SVN%20and%20I%20can%20only%20recommend%20SVN%20to%20you%20-%20once%20you%20get%20the%20hang%20of%20it%2C%20you%20will%20love%20it.%20I%20even%20use%20SVN%20for%20keeping%20track%20of%20complex" title="Yahoo! Bookmarks"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a></li>
</ul>
</div>

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.schuchlenz.com/symfony-how-to-get-data-from-session-into-form/" title="Symfony: How to get data from session into form (02.11.2009)">Symfony: How to get data from session into form</a> (1)</li>
	<li><a href="http://www.schuchlenz.com/quick-and-dirty-guide-to-your-1st-rails-app-part-1/" title="Quick and Dirty Guide to your 1st Rails app &#8211; Part #1 (03.11.2009)">Quick and Dirty Guide to your 1st Rails app &#8211; Part #1</a> (2)</li>
	<li><a href="http://www.schuchlenz.com/mailer-howto-for-rails/" title="Mailer HOWTO for Rails (05.11.2009)">Mailer HOWTO for Rails</a> (2)</li>
	<li><a href="http://www.schuchlenz.com/activescaffold-how-to-get-started/" title="ActiveScaffold: How to get started (02.11.2009)">ActiveScaffold: How to get started</a> (2)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.schuchlenz.com/svn-a-quick-howto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
