<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.1" -->
<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/"
	>

<channel>
	<title>Pelago</title>
	<link>http://www.pelagodesign.com/blog</link>
	<description>Santa Barbara Web Design and Web Development Blog on the web world and other randoms</description>
	<pubDate>Thu, 24 Apr 2008 04:46:55 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
	<language>en</language>
			<item>
		<title>Test drive higher quality YouTube videos (MP4)</title>
		<link>http://www.pelagodesign.com/blog/2008/04/23/test-drive-higher-quality-youtube-videos/</link>
		<comments>http://www.pelagodesign.com/blog/2008/04/23/test-drive-higher-quality-youtube-videos/#comments</comments>
		<pubDate>Thu, 24 Apr 2008 03:43:32 +0000</pubDate>
		<dc:creator>Jaime</dc:creator>
		
		<category><![CDATA[Macromedia Flash]]></category>

		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.pelagodesign.com/blog/2008/04/23/test-drive-higher-quality-youtube-videos/</guid>
		<description><![CDATA[Want to watch higher quality YouTube videos? 
Add &#038;fmt=18 to the last part of the URL. You won&#8217;t see DVD quality video but you&#8217;ll see a great difference from whats currently available. 
Edit: Want to make it even easier? This GM script does it for you.
]]></description>
			<content:encoded><![CDATA[<p>Want to watch higher quality YouTube videos? </p>
<p>Add <strong>&#038;fmt=18</strong> to the last part of the URL. You won&#8217;t see DVD quality video but you&#8217;ll see a great difference from whats currently available. </p>
<p>Edit: Want to make it even easier? <a href="http://userscripts.org/scripts/show/23898">This GM script does it for you.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pelagodesign.com/blog/2008/04/23/test-drive-higher-quality-youtube-videos/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Setting locale to tr_TR (Turkish) lowercases class names</title>
		<link>http://www.pelagodesign.com/blog/2008/04/03/setting-locale-to-tr_tr-turkish-lowercases-class-names/</link>
		<comments>http://www.pelagodesign.com/blog/2008/04/03/setting-locale-to-tr_tr-turkish-lowercases-class-names/#comments</comments>
		<pubDate>Thu, 03 Apr 2008 19:57:00 +0000</pubDate>
		<dc:creator>Jaime</dc:creator>
		
		<category><![CDATA[Open Source]]></category>

		<category><![CDATA[i18n]]></category>

		<category><![CDATA[localization]]></category>

		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.pelagodesign.com/blog/2008/04/03/setting-locale-to-tr_tr-turkish-lowercases-class-names/</guid>
		<description><![CDATA[So I was working away at localizing some pages and for some reason they all worked except tr_TR. What was the problem? The server had an outdated PHP installation with a bug that lowercases class names which ends a fatal error.
Why it it so? After some investigations I came across this bug and came to [...]]]></description>
			<content:encoded><![CDATA[<p>So I was working away at localizing some pages and for some reason they all worked except tr_TR. What was the problem? The server had an outdated <a href="http://www.pelagodesign.com/blog/tag/php/" class="internal_tag" rel="tag" title="Posts tagged with php">PHP</a> installation with a bug that lowercases class names which ends a fatal error.</p>
<p>Why it it so? After some investigations I came across <a href="http://bugs.php.net/bug.php?id=18556">this bug</a> and came to the conclusion that in the Turkish language, the latin i is not equal to capital latin i. </p>
<p>AWESOME!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pelagodesign.com/blog/2008/04/03/setting-locale-to-tr_tr-turkish-lowercases-class-names/feed/</wfw:commentRss>
		</item>
		<item>
		<title>JavaScript debugging on Safari for Windows</title>
		<link>http://www.pelagodesign.com/blog/2008/03/17/javascript-debugging-on-safari-for-windows/</link>
		<comments>http://www.pelagodesign.com/blog/2008/03/17/javascript-debugging-on-safari-for-windows/#comments</comments>
		<pubDate>Mon, 17 Mar 2008 22:23:16 +0000</pubDate>
		<dc:creator>Jaime</dc:creator>
		
		<category><![CDATA[Creative Engineering]]></category>

		<category><![CDATA[Browsers]]></category>

		<category><![CDATA[javascript]]></category>

		<category><![CDATA[safari]]></category>

		<guid isPermaLink="false">http://www.pelagodesign.com/blog/2008/03/17/javascript-debugging-on-safari-for-windows/</guid>
		<description><![CDATA[Just had to do this and thought I&#8217;d post it for anyone who might find it helpful. Here is how you enable the Debug menu if you&#8217;re running windows:
1. Navigate to the folder below (replace USERNAME with your user account).
    C:\Documents and Settings\USERNAME\Application Data\Apple Computer\Safari
2. open up Preferences.plist and add the following [...]]]></description>
			<content:encoded><![CDATA[<p>Just had to do this and thought I&#8217;d post it for anyone who might find it helpful. Here is how you enable the Debug menu if you&#8217;re running windows:</p>
<p>1. Navigate to the folder below (replace USERNAME with your user account).<br />
    C:\Documents and Settings\USERNAME\Application Data\Apple Computer\<a href="http://www.pelagodesign.com/blog/tag/safari/" class="internal_tag" rel="tag" title="Posts tagged with safari">Safari</a></p>
<p>2. open up Preferences.plist and add the following two lines anywhere before the line &#8220;&lt;/dict&gt;&#8221;</p>
<p>&lt;key&gt;IncludeDebugMenu&lt;/key&gt;<br />
&lt;true /&gt; </p>
<p>3. Restart <a href="http://www.pelagodesign.com/blog/tag/safari/" class="internal_tag" rel="tag" title="Posts tagged with safari">Safari</a> and you should now have a Debug menu.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pelagodesign.com/blog/2008/03/17/javascript-debugging-on-safari-for-windows/feed/</wfw:commentRss>
		</item>
		<item>
		<title>WTF!? preg_replace() returns null?</title>
		<link>http://www.pelagodesign.com/blog/2008/01/25/wtf-preg_replace-returns-null/</link>
		<comments>http://www.pelagodesign.com/blog/2008/01/25/wtf-preg_replace-returns-null/#comments</comments>
		<pubDate>Sat, 26 Jan 2008 00:09:17 +0000</pubDate>
		<dc:creator>Cameron</dc:creator>
		
		<category><![CDATA[Creative Engineering]]></category>

		<category><![CDATA[PCRE]]></category>

		<category><![CDATA[perl]]></category>

		<category><![CDATA[php]]></category>

		<category><![CDATA[preg_replace]]></category>

		<category><![CDATA[regex]]></category>

		<category><![CDATA[regular expressions]]></category>

		<guid isPermaLink="false">http://www.pelagodesign.com/blog/2008/01/25/wtf-preg_replace-returns-null/</guid>
		<description><![CDATA[On one of our sites were were running into a problem when we tried to pass HTML content from a database through an email obfuscation function to prevent spiders from scraping our clients&#8217; emails. We quickly discovered that some of the longer pages were showing up completely blank. The preg_replace() function we were using to [...]]]></description>
			<content:encoded><![CDATA[<p>On one of our sites were were running into a problem when we tried to pass HTML content from a database through an email obfuscation function to prevent spiders from scraping our clients&#8217; emails. We quickly discovered that some of the longer pages were showing up completely blank. The <a href="http://www.pelagodesign.com/blog/tag/preg_replace/" class="internal_tag" rel="tag" title="Posts tagged with preg_replace">preg_replace</a>() function we were using to run the obfuscation code on email addresses was returning null. After some hunting I found the answer.</p>
<p> <a href="http://www.pelagodesign.com/blog/2008/01/25/wtf-preg_replace-returns-null/#more-384" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pelagodesign.com/blog/2008/01/25/wtf-preg_replace-returns-null/feed/</wfw:commentRss>
		</item>
		<item>
		<title>ISO Week and Year in PHP and PostgreSQL</title>
		<link>http://www.pelagodesign.com/blog/2008/01/10/iso-week-and-year-in-php-and-postgresql/</link>
		<comments>http://www.pelagodesign.com/blog/2008/01/10/iso-week-and-year-in-php-and-postgresql/#comments</comments>
		<pubDate>Thu, 10 Jan 2008 16:48:49 +0000</pubDate>
		<dc:creator>John</dc:creator>
		
		<category><![CDATA[Creative Engineering]]></category>

		<category><![CDATA[iso-8601]]></category>

		<category><![CDATA[php]]></category>

		<category><![CDATA[postgresql]]></category>

		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://www.pelagodesign.com/blog/2008/01/10/iso-week-and-year-in-php-and-postgresql/</guid>
		<description><![CDATA[The new year always brings with it a few small things that go bump in the morning. 2008 was no different. Intervals started behaving oddly on New Year&#8217;s Eve morning — the default timesheet was a year behind schedule. What happened?
In our PHP code, we are using the ISO-8601 week number of year, as specified [...]]]></description>
			<content:encoded><![CDATA[<p>The new year always brings with it a few small things that go bump in the morning. 2008 was no different. <a href="http://www.myintervals.com/">Intervals</a> started behaving oddly on New Year&#8217;s Eve morning — the default timesheet was a year behind schedule. What happened?</p>
<p>In our <a href="http://www.pelagodesign.com/blog/tag/php/" class="internal_tag" rel="tag" title="Posts tagged with php">PHP</a> code, we are using the <a href="http://www.pelagodesign.com/blog/tag/iso-8601/" class="internal_tag" rel="tag" title="Posts tagged with iso-8601">ISO-8601</a> week number of year, as specified on the <a href="http://php.net/date">PHP date function page</a>, but we weren&#8217;t using ISO-8601 for the year. The <a href="http://www.pelagodesign.com/blog/tag/iso-8601/" class="internal_tag" rel="tag" title="Posts tagged with iso-8601">ISO-8601</a> week number specifies the last monday of a year as the first week of the new year, if that new year begins before thursday. Intervals thought it was the first year of 2007!</p>
<p>In <a href="http://www.pelagodesign.com/blog/tag/php/" class="internal_tag" rel="tag" title="Posts tagged with php">PHP</a>, the fix was as easy as converting all instances of date(&#8217;Y') to date(&#8217;o'), according to <a href="http://php.net">php.net</a>:</p>
<blockquote><p>ISO-8601 year number. This has the same value as Y, except that if the ISO week number (W) belongs to the previous or next year, that year is used instead. (added in <a href="http://www.pelagodesign.com/blog/tag/php/" class="internal_tag" rel="tag" title="Posts tagged with php">PHP</a> 5.1.0)</p></blockquote>
<p>That fixed everything on the <a href="http://www.pelagodesign.com/blog/tag/php/" class="internal_tag" rel="tag" title="Posts tagged with php">PHP</a> side of things. But next we had to dig into the <a href="http://www.pelagodesign.com/blog/tag/sql/" class="internal_tag" rel="tag" title="Posts tagged with sql">SQL</a> queries and get them to use the ISO Year.</p>
<p>Snag.</p>
<p><a href="http://www.postgresql.org/">PostgreSQL 8.2.5</a> doesn&#8217;t support ISO Year in the Extract function. EXTRACT(ISOYEAR, timestamp) is being included in <a href="http://www.pelagodesign.com/blog/tag/postgresql/" class="internal_tag" rel="tag" title="Posts tagged with postgresql">PostgreSQL</a> 8.3, <a href="http://developer.postgresql.org/pgdocs/postgres/functions-datetime.html">as specified here in the RC1 documentation</a>. But <a href="http://www.pelagodesign.com/blog/tag/postgresql/" class="internal_tag" rel="tag" title="Posts tagged with postgresql">PostgreSQL</a> 8.3 hasn&#8217;t been released yet, and we needed to fix things immediately.</p>
<p>Our final <a href="http://www.pelagodesign.com/blog/tag/postgresql/" class="internal_tag" rel="tag" title="Posts tagged with postgresql">PostgreSQL</a> fix was to instead use the <a href="http://www.postgresql.org/docs/8.2/interactive/functions-formatting.html">TO_CHAR(timestamp, &#8216;IYYY&#8217;) function</a>. It&#8217;s not ideal to be using a string formatting function for data comparisons, because it slows down some of the queries. But we had to trade some performance to get things working properly again in the new year. <a href="http://www.postgresql.org/community/weeklynews/">As soon as the PostgreSQL developers release a stable version of 8.3</a>, we&#8217;ll change our queries back to using EXTRACT(ISOYEAR, timestamp). </p>
]]></content:encoded>
			<wfw:commentRss>http://www.pelagodesign.com/blog/2008/01/10/iso-week-and-year-in-php-and-postgresql/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Messenger bags</title>
		<link>http://www.pelagodesign.com/blog/2008/01/04/messenger-bags/</link>
		<comments>http://www.pelagodesign.com/blog/2008/01/04/messenger-bags/#comments</comments>
		<pubDate>Fri, 04 Jan 2008 18:00:23 +0000</pubDate>
		<dc:creator>John</dc:creator>
		
		<category><![CDATA[Creative Engineering]]></category>

		<category><![CDATA[bicycles]]></category>

		<category><![CDATA[recycling]]></category>

		<guid isPermaLink="false">http://www.pelagodesign.com/blog/2008/01/04/messenger-bags/</guid>
		<description><![CDATA[Check out these great messenger bags made from recycled materials, from Alchemy Goods:
http://alchemygoods.com/messenger.html
]]></description>
			<content:encoded><![CDATA[<p>Check out these great messenger bags made from recycled materials, from <a href="http://alchemygoods.com/">Alchemy Goods</a>:<br />
<a href="http://alchemygoods.com/messenger.html">http://alchemygoods.com/messenger.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pelagodesign.com/blog/2008/01/04/messenger-bags/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Holiday Light Exchange</title>
		<link>http://www.pelagodesign.com/blog/2007/12/03/holiday-light-exchange/</link>
		<comments>http://www.pelagodesign.com/blog/2007/12/03/holiday-light-exchange/#comments</comments>
		<pubDate>Tue, 04 Dec 2007 00:21:05 +0000</pubDate>
		<dc:creator>John</dc:creator>
		
		<category><![CDATA[Creative Engineering]]></category>

		<category><![CDATA[energy efficient]]></category>

		<category><![CDATA[holidays]]></category>

		<category><![CDATA[LED]]></category>

		<guid isPermaLink="false">http://www.pelagodesign.com/blog/2007/12/03/holiday-light-exchange/</guid>
		<description><![CDATA[Residental customers of Southern California Edison can exchange one strand of old holiday lights for a box of new, energy efficient LED lights. LEDs use up to 98% less energy and last ten times longer, making them better for the environment and your electricity bills.
The exchange program starts today and runs through December 21st.
LOCATIONS:

Carpinteria City [...]]]></description>
			<content:encoded><![CDATA[<p>Residental customers of Southern California Edison can exchange one strand of old holiday lights for a box of new, <a href="http://www.pelagodesign.com/blog/tag/energy-efficient/" class="internal_tag" rel="tag" title="Posts tagged with energy efficient">energy efficient</a> <a href="http://www.pelagodesign.com/blog/tag/led/" class="internal_tag" rel="tag" title="Posts tagged with LED">LED</a> lights. LEDs use up to 98% less energy and last ten times longer, making them better for the environment and your electricity bills.</p>
<p>The exchange program starts today and runs through December 21st.</p>
<p>LOCATIONS:</p>
<ul>
<li>Carpinteria City Hall: 5775 Carpinteria Ave. (805) 684-5405. Mon - Fri, 9am - 5pm</li>
<li>Goleta City Hall: 130 Cremona, Ste. B. (805) 961-7500. Mon - Thur, 7:30am - 5:30pm Fri, 8am - 1pm</li>
<li>Santa Barbara: Westside Community Center: 423 W. Victoria St. (805) 963-7567. Mon - Fri, 9am - 5pm</li>
<li>Franklin Neighborhood Center: 1136 E. Montecito St. (805) 963-7605. Mon - Fri, 9am - 5pm</li>
<li>Central Library: 40 E. Anapamu St. (805) 564-5601. Mon - Thurs, 10am - 9pm; Fri, Sat, 10am - 5:30pm; Sun, 1 - 5pm</li>
<li>Community Environmental Council: 26 W. Anapamu St, 2nd Floor. (805) 963-0583 x105. Mon - Fri, 9am - 6pm
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.pelagodesign.com/blog/2007/12/03/holiday-light-exchange/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Internet Explorer 7 and pirated versions of Windows XP</title>
		<link>http://www.pelagodesign.com/blog/2007/11/29/internet-explorer-7-and-pirated-versions-of-windows-xp/</link>
		<comments>http://www.pelagodesign.com/blog/2007/11/29/internet-explorer-7-and-pirated-versions-of-windows-xp/#comments</comments>
		<pubDate>Thu, 29 Nov 2007 19:57:43 +0000</pubDate>
		<dc:creator>Jaime</dc:creator>
		
		<category><![CDATA[Browsers]]></category>

		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://www.pelagodesign.com/blog/2007/11/29/internet-explorer-7-and-pirated-versions-of-windows-xp/</guid>
		<description><![CDATA[Is Microsoft quietly phasing out IE6? I think could mean the beginning of the end for IE6 installs and support.
Internet Explorer 7 now available for pirated version of Windows XP
]]></description>
			<content:encoded><![CDATA[<p>Is Microsoft quietly phasing out IE6? I think could mean the beginning of the end for IE6 installs and support.</p>
<p><a href="http://thaslayer.com/2007/10/07/internet-explorer-7-now-available-for-pirated-version-of-windows-xp/">Internet Explorer 7 now available for pirated version of Windows XP</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pelagodesign.com/blog/2007/11/29/internet-explorer-7-and-pirated-versions-of-windows-xp/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Funky Bike Ride and Ginger Ninjas Concert</title>
		<link>http://www.pelagodesign.com/blog/2007/11/20/funky-bike-ride-and-ginger-ninjas-concert/</link>
		<comments>http://www.pelagodesign.com/blog/2007/11/20/funky-bike-ride-and-ginger-ninjas-concert/#comments</comments>
		<pubDate>Tue, 20 Nov 2007 19:18:21 +0000</pubDate>
		<dc:creator>John</dc:creator>
		
		<category><![CDATA[Creative Engineering]]></category>

		<category><![CDATA[bicycles]]></category>

		<category><![CDATA[santa barbara]]></category>

		<guid isPermaLink="false">http://www.pelagodesign.com/blog/2007/11/20/funky-bike-ride-and-ginger-ninjas-concert/</guid>
		<description><![CDATA[November 24, Funky Bike Ride and Ginger Ninjas Concert, sponsored by Santa Barbara Bici Centro. The free bike ride is at 5:00 PM, starting from La Casa de la Raza, 601 East Montecito Street, Santa Barbara. Then from 6:00-11:00 PM, the &#8220;Pleasant Revolution&#8221; featuring the Ginger Ninjas, Oso, and Shake your Peace will rock out [...]]]></description>
			<content:encoded><![CDATA[<p>November 24, Funky Bike Ride and Ginger Ninjas Concert, sponsored by Santa Barbara Bici Centro. The free bike ride is at 5:00 PM, starting from La Casa de la Raza, 601 East Montecito Street, <a href="http://www.pelagodesign.com/blog/tag/santa-barbara/" class="internal_tag" rel="tag" title="Posts tagged with santa barbara">Santa Barbara</a>. Then from 6:00-11:00 PM, the &#8220;Pleasant Revolution&#8221; featuring the Ginger Ninjas, Oso, and Shake your Peace will rock out to a bicycle-powered 800 watt PA system. Intermixed will be fun bike contests, raffles, food and overall merryment. Proceeds will benefit Bici Centro.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pelagodesign.com/blog/2007/11/20/funky-bike-ride-and-ginger-ninjas-concert/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Web Standards Map</title>
		<link>http://www.pelagodesign.com/blog/2007/11/05/web-standards-map/</link>
		<comments>http://www.pelagodesign.com/blog/2007/11/05/web-standards-map/#comments</comments>
		<pubDate>Mon, 05 Nov 2007 19:42:44 +0000</pubDate>
		<dc:creator>Jaime</dc:creator>
		
		<category><![CDATA[Web Standards]]></category>

		<guid isPermaLink="false">http://www.pelagodesign.com/blog/2007/11/05/web-standards-map/</guid>
		<description><![CDATA[I just found this through one of the mailing lists I subscribe to. It&#8217;s a map that covers technologies on the web. It mentions Mordorsoft and Google&#8217;s All Seeing Eye, it&#8217;s worth checking out:
http://www.flickr.com/photos/psd/1805709102/
http://www.flickr.com/photos/psd/sets/72157602805227511/
http://www.archive.org/details/TheWebIsAgreement
PDF
http://www.archive.org/download/TheWebIsAgreement/web.PDF
]]></description>
			<content:encoded><![CDATA[<p>I just found this through one of the mailing lists I subscribe to. It&#8217;s a map that covers technologies on the web. It mentions <em>Mordorsoft</em> and <em>Google&#8217;s All Seeing Eye</em>, it&#8217;s worth checking out:</p>
<p><a href="http://www.flickr.com/photos/psd/1805709102/">http://www.flickr.com/photos/psd/1805709102/</a><br />
<a href="http://www.flickr.com/photos/psd/sets/72157602805227511/">http://www.flickr.com/photos/psd/sets/72157602805227511/</a><br />
<a href="http://www.archive.org/details/TheWebIsAgreement">http://www.archive.org/details/TheWebIsAgreement</a></p>
<p>PDF<br />
<a href="http://www.archive.org/download/TheWebIsAgreement/web.PDF">http://www.archive.org/download/TheWebIsAgreement/web.PDF</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pelagodesign.com/blog/2007/11/05/web-standards-map/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
