<?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:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Tarn Aeluin</title>
	<atom:link href="http://tarnaeluin.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://tarnaeluin.wordpress.com</link>
	<description>Technology, soapbox, and crap...</description>
	<pubDate>Sat, 28 Jun 2008 13:08:36 +0000</pubDate>
	<generator>http://wordpress.org/?v=MU</generator>
	<language>en</language>
			<item>
		<title>Hello Pennsylvania!</title>
		<link>http://tarnaeluin.wordpress.com/2008/06/28/hello-pennsylvania/</link>
		<comments>http://tarnaeluin.wordpress.com/2008/06/28/hello-pennsylvania/#comments</comments>
		<pubDate>Sat, 28 Jun 2008 13:08:04 +0000</pubDate>
		<dc:creator>berenerchamion</dc:creator>
		
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://tarnaeluin.wordpress.com/?p=153</guid>
		<description><![CDATA[Whew - I made it. Its been about 7 years since we had to move and I guess about 15 years since we crossed a state line when moving, but this little trip takes the cake for the most arduous process I hope I ever experience. 5 days of packing and loading and then a [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Whew - I made it. Its been about 7 years since we had to move and I guess about 15 years since we crossed a state line when moving, but this little trip takes the cake for the most arduous process I hope I ever experience. 5 days of packing and loading and then a day lay over then two days of unloading. Our movers were probably just as sick of us as we were of them <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> Seriously though &#8211;&gt; 3 guys to move a whole house! We had more guys to move our 1 bedroom apartment from Queens to Manhattan.</p>
<p>I got my new internet service up and running 5 minutes ago - still no TV (I&#8217;m going back to DirecTV) - but at least now I can get some news.</p>
<p>My next challenge will be learning the nuances of PA beer laws. I was not allowed to buy 2 twelve packs last night in a &#8220;beer take out&#8221; store. What the heck! Well anyway - I have to locate a &#8220;beer distributor&#8221; and get some brew.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tarnaeluin.wordpress.com/153/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tarnaeluin.wordpress.com/153/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tarnaeluin.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tarnaeluin.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tarnaeluin.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tarnaeluin.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tarnaeluin.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tarnaeluin.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tarnaeluin.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tarnaeluin.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tarnaeluin.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tarnaeluin.wordpress.com/153/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tarnaeluin.wordpress.com&blog=1961658&post=153&subd=tarnaeluin&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://tarnaeluin.wordpress.com/2008/06/28/hello-pennsylvania/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/berenerchamion-128.jpg" medium="image">
			<media:title type="html">beren</media:title>
		</media:content>
	</item>
		<item>
		<title>Goodbye New Jersey</title>
		<link>http://tarnaeluin.wordpress.com/2008/06/22/goodbye-new-jersey/</link>
		<comments>http://tarnaeluin.wordpress.com/2008/06/22/goodbye-new-jersey/#comments</comments>
		<pubDate>Sun, 22 Jun 2008 12:59:43 +0000</pubDate>
		<dc:creator>berenerchamion</dc:creator>
		
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://tarnaeluin.wordpress.com/?p=152</guid>
		<description><![CDATA[We&#8217;ve lived in New Jersey since about 1993 starting out in Hoboken and moving several times westward to Neshanic Station and then Lebanon Borough. It is with a lot of sadness that we are leaving the Garden State, our great little town of 1500 people (yes there are towns in NJ with only 1500 persons!), [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>We&#8217;ve lived in New Jersey since about 1993 starting out in Hoboken and moving several times westward to Neshanic Station and then Lebanon Borough. It is with a lot of sadness that we are leaving the Garden State, our great little town of 1500 people (yes there are towns in NJ with only 1500 persons!), and our friends as we head west into Pennsylvania.</p>
<p>We&#8217;ll miss our cool Victorian house that we&#8217;ve worked hard to restore. I feel that we have definitely left the house in better condition than when we moved in. My favorite contribution to the house is the rebuilt front porch. The custom railings are milled in solid cedar and the floor is tongue and groove mahogany finished with timber oil.</p>
<p>I&#8217;ll be off the &#8216;net for a while as we get packed, moved, and unpacked. We&#8217;re looking forward to our new house and I&#8217;m sure happy about cutting 2/3 of the distance off my daily commute.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tarnaeluin.wordpress.com/152/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tarnaeluin.wordpress.com/152/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tarnaeluin.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tarnaeluin.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tarnaeluin.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tarnaeluin.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tarnaeluin.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tarnaeluin.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tarnaeluin.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tarnaeluin.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tarnaeluin.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tarnaeluin.wordpress.com/152/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tarnaeluin.wordpress.com&blog=1961658&post=152&subd=tarnaeluin&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://tarnaeluin.wordpress.com/2008/06/22/goodbye-new-jersey/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/berenerchamion-128.jpg" medium="image">
			<media:title type="html">beren</media:title>
		</media:content>
	</item>
		<item>
		<title>Images &#38; Galleries in Drupal 6</title>
		<link>http://tarnaeluin.wordpress.com/2008/06/01/images-galleries-in-drupal-6/</link>
		<comments>http://tarnaeluin.wordpress.com/2008/06/01/images-galleries-in-drupal-6/#comments</comments>
		<pubDate>Sun, 01 Jun 2008 15:46:21 +0000</pubDate>
		<dc:creator>berenerchamion</dc:creator>
		
		<category><![CDATA[Drupal]]></category>

		<category><![CDATA[drupal gallery lightbox2 image]]></category>

		<guid isPermaLink="false">http://tarnaeluin.wordpress.com/?p=147</guid>
		<description><![CDATA[Drupal is a very powerful and flexible framwork for web site and applications. You can do some really amazing things very easily. However sometimes the opposite is also true - simple thing can be seemingly impossible or annoyingly complex. Like many people I like to post personal pictures of vacations or other stuff to my [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Drupal is a very powerful and flexible framwork for web site and applications. You can do some really amazing things very easily. However sometimes the opposite is also true - simple thing can be seemingly impossible or annoyingly complex. Like many people I like to post personal pictures of vacations or other stuff to my web sites. Drupal&#8217;s capabilities for easily publishing a set of pictures, having them auto-scaled, and then visible in a gallery seem to be crude.</p>
<p>What&#8217;s up with this? I&#8217;ll examine some of the tools available for Drupal 6 and give some examples for exactly how to make a couple of the these work. Maybe in the end we&#8217;ll see things aren&#8217;t so bad afterall.<span id="more-147"></span></p>
<p>Plone - another CMS I use frequently - has a really nice and easy interface for creating galleries that are powered by various JavaScript wrappers like Lightbox or Simple Gallery. You can grab a gallery product, install it, copy a zip file of pictures up to a Plone site, they will get auto-extracted into a &#8220;folder&#8221; in your plone CMS, and then they will get scaled and thumb nailed for you. The scaling is all driven by the Python Imaging Library, a powerful set of graphics manipulation tools that is similar to PHP&#8217;s gd library.</p>
<p>With Drupal there is nothing nearly as easy, although with a bit of work you can get close.  The most promising tool that I can find is Brilliant Gallery - however it is not yet ported to Drupal 6 and it does not seem like there is any work on a port. I found a few other modules that look to have the features I want:</p>
<ul>
<li>Slideshow Creator</li>
<li>Lightbox2</li>
<li>Image</li>
</ul>
<p>Before getting started with these modules, a bit of level setting is a good idea. I&#8217;m running Drupal 6.2 with a very up to date config. I&#8217;m running with the latest rev of PHP for Win32 and also the latest MySQL for Win32. I&#8217;m expecting you to be pretty familiar with Drupal and how to install and enable modules.</p>
<p>The first thing to do is setup <a href="http://drupal.org/project/fckeditor">FCKEditor</a> with the <a href="http://drupal.org/project/imce">IMCE mdoule</a> for file upload handling. I highly recommend doing this and will assume that you have - FCK includes a decent set of instructions for itself.  IMCE is a decent file browser and upload manager and sets things up for individual use too. The included instructions are pretty straightforward.</p>
<p>Once you have done this make sure you have the gd library enabled in the image toolkit section of the administration interface. Now you should be able to go to your user&#8217;s page and see an extra tab called &#8220;file browser&#8221;. This is supplied via IMCE and you can use this to upload all kinds of files, including images. <a href="http://tarnaeluin.files.wordpress.com/2008/05/images_shot1.jpg"><img class="size-medium wp-image-148" src="http://tarnaeluin.files.wordpress.com/2008/05/images_shot1.jpg?w=300&h=237" alt="" width="300" height="237" align="left" /></a>Images have extra support for resizing and thumbnailing. From what I can tell you must add pictures one at a time. That&#8217;s a problem for people like me that tend to take pictures until their 5 GB SD card is full <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> Another quirk is that if you try to upload a pic that is larger than the max file size you are allowed to upload, IMCE will still try to do it , but not give you an error when it fails.</p>
<p>Of course there is a backdoor to uploading files. If you have access you can manually copy files under the directory tree that IMCE is using to manage files. On my machine this is /sites/default/files. With IMC installed with FCK too now you can have a single directory structure for managing your images in one spot.</p>
<p>Now onto the modules!<!--more--></p>
<p><a href="http://drupal.org/project/slideshow_creator"><strong>Slideshow Creator</strong></a></p>
<p>This module has the makings of a decent gallery tool. There&#8217;s (at the time of writing) a development version for D6. I found that it installed easily, but check the dependencies and get all the JavaScript stuff installed. Once you have it installed you need to go and add a new filter type for the markup that is used to create galleries. The instructions in the readme are accurate.</p>
<p>After getting that done and loading up a few pics as described you can display galleries. In the module properties there is a setting for the resolution of the images. They must match this resolution exactly so be sure to either use the IMCE tools to scale them - or use a nice tool like <a href="http://www.faststone.org/FSResizerDetail.htm">Faststone Photo Resizer</a>. FPR is cool and I prefer it to IMCE because I have much more control over what&#8217;s going on.</p>
<p>With Slideshow Creator you can create discrete galleries of specific images or you can tell it to bring up all pics in a directory. The former is documented well in the readme, but the latter is not so here&#8217;s an example of the latter:</p>
<p>[slideshow: 2, rotate=2, blend=1 height=400, width=400, dir=|sites/default/files/pictures/|yes||Generic Photos|Arent they great?||]</p>
<p>That seems to work ok. There are a couple of options that you can fiddle with to control how the gallery behaves and looks, including some settings for the &#8220;auto&#8221; mode on changing the image. There&#8217;s a CSS that you can use to customize the look a bit more.</p>
<p>Overall - not a bad tool except for the manual work of image sizing and the crude control over how the gallery appears on the page.</p>
<p><strong>Lightbox 2</strong></p>
<p><a href="http://drupal.org/project/lightbox2">Lightbox2 </a>is a pretty nice module. The installation is straighforward and well documented. <a href="http://drupal.org/node/144469">Additional documentation</a> is available too. Once installed and enabled properly you just need to add a few images (using the method above with IMCE or just cpoying a few to a url your drupal site can see) and then you need <a href="http://tarnaeluin.files.wordpress.com/2008/06/lightbox_1.jpg"><img class="size-medium wp-image-149" src="http://tarnaeluin.files.wordpress.com/2008/06/lightbox_1.jpg?w=300&h=236" alt="" width="300" height="236" align="left" /></a>to add links to them following the instructions in the readme.txt. There are options for single images and for slideshows. Unfortunately there is no option to add all images in a directory to a slideshow. This options would make this tool a killer.</p>
<p>When you have your images in a gallery they are nice rollovers to go the previous or next image, you can zoom an image, include captions, etc. Very nice! Performance is good too. Because the images are loaded up in the Lightbox they will not mess up your Drupal theme either.</p>
<p>So far the only downside is the requirement to many create all the hyperlinks for the images in your gallery. There is an option to hide the links so that you can have one linked image with multiple pictures. I found that very useful. What I do is create the image and link where I want it on the page and then include all the other grouped image links with the hidden option down at the bottom of the page so that it does not mess up my content with blank space. That works pretty well - it also makes it much easier to just cut/paste the link and change the image. If you use FPR to resize your images and use the autonumber function then creating the links is much easier.</p>
<p><strong><a href="http://drupal.org/project/image">Image</a></strong></p>
<p>The Image module provides a number of pieces of functionality that allow you to handle uploading, scaling, and managing images as well as creating galleries. There&#8217;s a lot of <a href="http://drupal.org/handbook/modules/image">good documentation</a> on the module as well, although its not clear if it has been updated for D6. The installation instructions work well. You&#8217;ll need to go in an adjust a few things - your path to the image upload and processing directory and by default the image module restricts you to a measly 800KB pic. I gave that a x10 so that my 12 mpel pics get uploaded with no issues.</p>
<p><a href="http://tarnaeluin.files.wordpress.com/2008/06/image_1.jpg"><img class="size-medium wp-image-150" src="http://tarnaeluin.files.wordpress.com/2008/06/image_1.jpg?w=300&h=260" alt="" width="300" height="260" align="left" /></a>Once you get all the modules enabled you need to add a gallery - then you can add images individually under the content management menu or in groups using the image import menu in the administer content menu. I noticed that when I added a bunch of images it did take a while to get them all scaled and thumbnailed, but it did work! That&#8217;s really nice. What&#8217;s even better is when I go to look at the gallery the Lightbox2 stuff works and will show the images in the Lightbox perfectly! Well that is very cool indeed!</p>
<p>There&#8217;s a few nice blocks for images to put in your sidebars, but strangely no gallery block. I guess you can probably add your galleries as primary/secondary links or something.</p>
<p>I&#8217;ve hit a couple of issues with this module. the galleries are nice and it seems possible to spruce them up a bit, but I have not found a decent way to integrate them into my posts without just creating a hyperlink out. A hyperlink out is ok, but it means a user has to then click on a link to start the slideshow. I&#8217;d like to have the first image load up directly. The second issue I&#8217;ve seen is that the thumbnails and derivatives don&#8217;t always get created on the first import, but will get created when the gallery first loads up. This causes a really slow page load the first time. After that then all is well. I think with really large galleries of 100 pics then you&#8217;ll have some issues with memory and timeouts, but as long as it is only during the first load then that&#8217;s ok for me.</p>
<p><strong>What&#8217;s the deal?</strong></p>
<p>I&#8217;m pretty happy with Lightbox2. I think I&#8217;ll use this for most of my galleries. Image is nice, but until I can figure out how to get the galleries better integrated with my posts I think I will only use this for large galleries of pics (50-100 pics)  that I want to get quickly up on my site. Image seems to be the most complete gallery tool for Drupal and using it with Lightbox2 really does create a very powerful and easy to use set of tools that puts Drupal on a par with the best that you can get for other tools like Plone.</p>
<p>If I fugre out how to get smoother integration of Image galleries in my posts, I&#8217;ll put an update here.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tarnaeluin.wordpress.com/147/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tarnaeluin.wordpress.com/147/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tarnaeluin.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tarnaeluin.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tarnaeluin.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tarnaeluin.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tarnaeluin.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tarnaeluin.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tarnaeluin.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tarnaeluin.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tarnaeluin.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tarnaeluin.wordpress.com/147/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tarnaeluin.wordpress.com&blog=1961658&post=147&subd=tarnaeluin&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://tarnaeluin.wordpress.com/2008/06/01/images-galleries-in-drupal-6/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/berenerchamion-128.jpg" medium="image">
			<media:title type="html">beren</media:title>
		</media:content>

		<media:content url="http://tarnaeluin.files.wordpress.com/2008/05/images_shot1.jpg?w=300" medium="image" />

		<media:content url="http://tarnaeluin.files.wordpress.com/2008/06/lightbox_1.jpg?w=300" medium="image" />

		<media:content url="http://tarnaeluin.files.wordpress.com/2008/06/image_1.jpg?w=300" medium="image" />
	</item>
		<item>
		<title>1,000 Miles on a Turbo-X</title>
		<link>http://tarnaeluin.wordpress.com/2008/05/20/1000-miles-on-a-turbo-x/</link>
		<comments>http://tarnaeluin.wordpress.com/2008/05/20/1000-miles-on-a-turbo-x/#comments</comments>
		<pubDate>Tue, 20 May 2008 01:35:34 +0000</pubDate>
		<dc:creator>berenerchamion</dc:creator>
		
		<category><![CDATA[News]]></category>

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

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

		<guid isPermaLink="false">http://tarnaeluin.wordpress.com/?p=145</guid>
		<description><![CDATA[I just passed 1000 miles on my Saab Turbo-X. I&#8217;ve been doing a lot of back and forth driving around the Philadelphia metropolitan area. This has given me a great opportunity to break-in my car, learn how to handle it on both freeways and country roads, as well as how to operate the controls.
To start [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I just passed 1000 miles on my <a href="http://www.trollhattansaab.net/archives/2007/11/2008-saab-turbo-x-everything-you-need-to-know.html">Saab Turbo-X</a>. I&#8217;ve been doing a lot of back and forth driving around the Philadelphia metropolitan area. This has given me a great opportunity to break-in my car, learn how to handle it on both freeways and country roads, as well as how to operate the controls.</p>
<p>To start off with the car has had no mechanical issues - a good start. The interior and exterior of the car is exactly what I wanted - elegant, but simple and functional. I&#8217;m extremely impressed with the quality of the materials and the fit and finish. The paint is amazing.<span id="more-145"></span></p>
<p>The quality of the ride, including during heavy rain, is excellent. It is a firm ride, but not jarring - I cannot imagine a better sport feel for a sedan. You feel the road, but between the suspension and the seats you get just the right feel. The car gives you the feeling that you are always in control.</p>
<p>There&#8217;s plenty of power on demand from the engine for passing. Wind noise even at high speeds on the highway is minimal. When you drop in down in gear and hit the gas it just flies.</p>
<p>The car has serious power off the line and then is a spirited charger whenever you need it with, as far as I can tell, no lag from the turbo. Turning and handling is precise and really quite amazing in tight turns on the back roads. It puts my old GTI to shame.</p>
<p>When the XWD system is active, you don&#8217;t really feel it. I went thru an outside banked turn over a one-lane bridge and could feel the outside wheels kicking in for extra duty at about 60 MPH. The assist from the system is very smooth and not &#8220;jerky&#8221; like most systems.  The same corner in my GTI would max out at about 40 MPH</p>
<p>There are a couple of big surprises for me:</p>
<ul>
<li>I complained about shifting in my earlier reviews, but after a few days I have to say now that I was wrong. The shifting in this car is better by far than my previous car. In particular down shifting is very smooth.</li>
<li>The navigation system is quite nice. It is vastly superior to the Acura 2007 system my wife has. There&#8217;s a split screen view with the radio and the touch screen interface works very nicely. The audio cue voice is a bit hard to hear so you need to crank it if you are driving with all the windows down.<a href="http://tarnaeluin.files.wordpress.com/2008/05/engine_x.jpg"><img class="size-medium wp-image-146" src="http://tarnaeluin.files.wordpress.com/2008/05/engine_x.jpg?w=300&h=225" alt="" width="300" height="225" align="right" /></a></li>
<li>The wheels: beautiful - much better than any picture especially after a bit of brake dust gets on them.</li>
<li>Braking is smooth and powerful.</li>
<li>The car&#8217;s sounds are really amazing, but not overpowering. You can hear the engine and exhaust notes inside and outside the car, but they are not obnoxious at all.</li>
<li>Gas mileage has averaged about 22 MPG over the 1000 miles. That is really surprising given my mixed driving and a bit of silly driving and stuff.</li>
<li>I&#8217;ve never had adaptive headlights before - wicked cool!</li>
<li>The whole gas tank lid issue has been debunked as newbie ignorance&#8230;oops&#8230;</li>
</ul>
<p>Ok - so there must be something bugging me about the car right? True:</p>
<ul>
<li>The nav audio cues are too quiet - or they are not adaptive enough.</li>
<li>There&#8217;s no foot or floor level air vents as far as I can tell.</li>
<li>I wish the sunroof was a little bigger - I like air&#8230;thus my problem with nav cues <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </li>
<li>The pillar between the front and rear windows is quite wide - extra caution is needed for odd angle merges on the passenger side.</li>
<li>I need to get my locks reprogrammed so that they auto-lock after the car goes over 7 MPH.</li>
<li>The settings menu on the main dash is powerful and you can do a lot to customize your car&#8217;s setup., but you really gotta RTFM. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </li>
<li>I would prefer it if the air conditioner did not come on automatically&#8230;I have to dig into the settings to see if I can change this.</li>
</ul>
<p>Maybe I&#8217;m not Motor Trend or Road &amp; Tack or whatever; I&#8217;m a &#8220;regular&#8221; driver: this car is amazing. It is definitely is the best car I&#8217;ve ever driven, much less owned.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tarnaeluin.wordpress.com/145/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tarnaeluin.wordpress.com/145/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tarnaeluin.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tarnaeluin.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tarnaeluin.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tarnaeluin.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tarnaeluin.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tarnaeluin.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tarnaeluin.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tarnaeluin.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tarnaeluin.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tarnaeluin.wordpress.com/145/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tarnaeluin.wordpress.com&blog=1961658&post=145&subd=tarnaeluin&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://tarnaeluin.wordpress.com/2008/05/20/1000-miles-on-a-turbo-x/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/berenerchamion-128.jpg" medium="image">
			<media:title type="html">beren</media:title>
		</media:content>

		<media:content url="http://tarnaeluin.files.wordpress.com/2008/05/engine_x.jpg?w=300" medium="image" />
	</item>
		<item>
		<title>Using Views in Drupal 6</title>
		<link>http://tarnaeluin.wordpress.com/2008/05/14/using-views-in-drupal-6/</link>
		<comments>http://tarnaeluin.wordpress.com/2008/05/14/using-views-in-drupal-6/#comments</comments>
		<pubDate>Wed, 14 May 2008 02:05:39 +0000</pubDate>
		<dc:creator>berenerchamion</dc:creator>
		
		<category><![CDATA[Drupal]]></category>

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

		<guid isPermaLink="false">http://tarnaeluin.wordpress.com/?p=131</guid>
		<description><![CDATA[Drupal 6 has been out for a while now and modules are getting ported to the new version. For those of us that are relatively new to Drupal it has been a long slow wait - but the benefit is that we have a bit of extra motivation to learn and do &#8220;stuff&#8221; for ourselves.
If [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Drupal 6 has been out for a while now and modules are getting ported to the new version. For those of us that are relatively new to Drupal it has been a long slow wait - but the benefit is that we have a bit of extra motivation to learn and do &#8220;stuff&#8221; for ourselves.<span id="more-131"></span></p>
<p>If the search for cool modules and functions on the Drupal site one thing you begin to see is the importance of modules that might not necessarily supply a prebuilt function, like a calendar for example, but provide the ability to define new types, views, or displays of data from either your Drupal site or a different source. The modules I&#8217;ve been exploring are:</p>
<ul>
<li>Feed Aggregator</li>
<li>CCK</li>
<li>Views</li>
<li>Panels</li>
</ul>
<p>Feed Aggreagtor is supplied in D6 and is pretty self explanatory. The remaining 3 are very powerful. I checked out the really cool <a href="http://myplay.com/">myplay.com</a> site Sony-BMG put together. If you haven&#8217;t seen it you should check it out. They made extensive use of Views and Panels to build this site. Views is in beta now for D6 and since I also wanted a calendar, I decided to start experimenting with Views. Ok - to explain that comment: the best Calendar function for D6 uses Views for the rendering of the event data. Because Views are still in beta I had to do some tweaking.</p>
<p>There are a bunch of overviews and tutorials for the original Views modules on drupal.org - so start there if you want an overview. What you&#8217;ll find however is that once you get past the &#8220;what is a view?&#8221; type stuff they aren&#8217;t much help. In short a View is a list of &#8220;stuff&#8221;. The list is defined in the Views administration area through a GUI interface. The list is generated by defining a query against your database - you add attributes to extract; arguments to select what to return; sorting criteria, etc. You can then select how to display the list: a node, a block, as a feed, etc. Pretty cool I think. How do you create one? That&#8217;s what I&#8217;ll cover.</p>
<p><a href="http://tarnaeluin.files.wordpress.com/2008/05/views1.png"><img src="http://tarnaeluin.files.wordpress.com/2008/05/views1.png?w=387&h=371" alt="" width="387" height="371" align="left" /></a>To get started I&#8217;m working with the very latest Drupal code (6.2 at time of writing). I have a pretty basic config - but its completely to do date as of 3-May-2008. I&#8217;ve installed Views (6.x-2.0-beta2) and I&#8217;ve also installed the<a href="http://drupal.org/project/advanced_help"> Advanced Help</a> module (advanced_help-6.x-1.0-beta2).</p>
<p>To start with Views make sure you have the very latest by checking your adminstration area. Once you&#8217;ve done that then go into the page for administrating the Views module. You&#8217;ll see a few tabs for Adding and Importing views. Click on the Add choice and you should get a screen like this:</p>
<p>This is the main spot where you create your view. Go ahead and bang in some values and make sure you pick off the &#8220;node&#8221; choice. What we&#8217;re going to do is create a simple &#8220;node&#8221; type view that will look like a page. We can create a link in the Navigation menu for this afterwards.</p>
<p><a href="http://tarnaeluin.files.wordpress.com/2008/05/views2.png"><img class="alignright size-medium wp-image-142" src="http://tarnaeluin.files.wordpress.com/2008/05/views2.png?w=300&h=283" alt="" width="300" height="283" /></a>Once you fill in some values then hit add and you&#8217;ll get this next screen. It looks pretty complicated, but just remember all you&#8217;re doing is defining a query.</p>
<p>Start with defining some fields to retrieve - just click on the plus sign. You&#8217;ll get an Ajax refresh that listed off the different groupings of fields. You should scroll around in here and see what&#8217;s available. Pick a few easy ones from the Node group like Author and Post date. As you pick fields you&#8217;ll see that Views is building the query for you and showing you example output:</p>
<p><a href="http://tarnaeluin.files.wordpress.com/2008/05/views3.png"><img src="http://tarnaeluin.files.wordpress.com/2008/05/views3.png?w=312&h=349" alt="" width="312" height="349" align="left" /></a></p>
<p>As you move through the various items in the menu you can easily build some really cool output. The relationships block is used to define keys between fields. Arguments can be used to filter data based on a parameter, for example s returning records based on a date limiter.</p>
<p>After you get done playing around with the data you need to select a display view for your query results. There are several options, but for this example I&#8217;ve selected the page display mode. What this will be is create a view of the output in a &#8220;page&#8221; - gee imagine that. The output will display in the main content area.</p>
<p>The display view can either inherit from the base display or you can pick a new display mode and over ride the base settings with new fields or different sorting options or whatever. Just add a new display and then pick a setting - be sure to save things with the button down the page:</p>
<p><a href="http://tarnaeluin.files.wordpress.com/2008/05/views_4.png"><img class="alignright size-medium wp-image-144" src="http://tarnaeluin.files.wordpress.com/2008/05/views_4.png?w=300&h=242" alt="" width="300" height="242" /></a></p>
<p>When doing this make sure to watch the button carefully as they are AJAX and change quickly. If you click something and you think nothing has happened, be sure to scroll down and look at the output.</p>
<p>Once you get done screwing around with your view you can then add it to a menu - for the page type just use the page settings. I added mine to my main menu. Experiment with the other display types.</p>
<p>That&#8217;s pretty much it. If you start to experiment with Views you can really learn to do some very interesting things. This is especially true for very active group/team sites where a lot of people are contributing content. One interesting things I&#8217;ve done with Views is assemble sorted &#8220;update&#8221; pages that show the latest contributions sorted by dates, or by users. This is a great way to keep up to date on what your teamates are doing.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tarnaeluin.wordpress.com/131/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tarnaeluin.wordpress.com/131/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tarnaeluin.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tarnaeluin.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tarnaeluin.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tarnaeluin.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tarnaeluin.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tarnaeluin.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tarnaeluin.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tarnaeluin.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tarnaeluin.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tarnaeluin.wordpress.com/131/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tarnaeluin.wordpress.com&blog=1961658&post=131&subd=tarnaeluin&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://tarnaeluin.wordpress.com/2008/05/14/using-views-in-drupal-6/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/berenerchamion-128.jpg" medium="image">
			<media:title type="html">beren</media:title>
		</media:content>

		<media:content url="http://tarnaeluin.files.wordpress.com/2008/05/views1.png?w=300" medium="image" />

		<media:content url="http://tarnaeluin.files.wordpress.com/2008/05/views2.png?w=300" medium="image" />

		<media:content url="http://tarnaeluin.files.wordpress.com/2008/05/views3.png?w=268" medium="image" />

		<media:content url="http://tarnaeluin.files.wordpress.com/2008/05/views_4.png?w=300" medium="image" />
	</item>
		<item>
		<title>Driving the Saab Turbo-X</title>
		<link>http://tarnaeluin.wordpress.com/2008/05/11/driving-the-saab-turbo-x/</link>
		<comments>http://tarnaeluin.wordpress.com/2008/05/11/driving-the-saab-turbo-x/#comments</comments>
		<pubDate>Sun, 11 May 2008 22:19:04 +0000</pubDate>
		<dc:creator>berenerchamion</dc:creator>
		
		<category><![CDATA[Stuff]]></category>

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

		<category><![CDATA[Turbo-x]]></category>

		<guid isPermaLink="false">http://tarnaeluin.wordpress.com/?p=134</guid>
		<description><![CDATA[UPDATE 22-may-2008: Hey I broke 1000 miles - so here&#8217;s an update. 
Last summer I started looking for a new car to replace my 2003 VW GTI VR6. Some of you might have read my &#8220;Two Germans and a Swede&#8221; post that talked about my decision. I placed my order for the Turbo-X on the [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>UPDATE 22-may-2008: Hey I broke 1000 miles - so <a href="http://tarnaeluin.wordpress.com/2008/05/20/1000-miles-on-a-turbo-x/">here&#8217;s an update. </a></p>
<p>Last summer I started looking for a new car to replace my 2003 VW GTI VR6. Some of you might have read my &#8220;<a href="http://tarnaeluin.wordpress.com/2007/10/31/two-germans-and-a-swede/">Two Germans and a Swede</a>&#8221; post that talked about my decision. I placed my order for the Turbo-X on the first day possible and since then it has been many months of waiting. Yesterday I headed over to Saab of Hunterdon and picked up the car.<span id="more-134"></span></p>
<p><a href="http://tarnaeluin.files.wordpress.com/2008/05/x11.jpg"><img src="http://tarnaeluin.files.wordpress.com/2008/05/x11.jpg?w=369&h=272" alt="" width="369" height="272" align="left" /></a>The look of the car is slick and dark.  The paint is exceptional and highly polished. Combined with the wheels and the titanium trim, the car really does look like a &#8220;Sith roadster&#8221;. A turn of the key adds to this with the deep rumble of the exhaust. There are a number of nice exterior details that really set the car off. The rear lip spoiler that looks in pictures like a &#8220;glue on&#8221;, really looks pretty nice in person. The front lower air intake and the rear end&#8217;s exhaust layout make the car really standout. It  is a very aggressive look.<a href="http://tarnaeluin.files.wordpress.com/2008/05/x2.jpg"><img class="size-medium wp-image-138" src="http://tarnaeluin.files.wordpress.com/2008/05/x2.jpg?w=156&h=300" alt="" width="156" height="300" align="right" /></a></p>
<p>Inside the car we&#8217;ve all seen pictures of the carbon-trim, the all-black interior, the classic turbo gauge. I&#8217;m very impressed with the look and quality of the interior and the comfort of the seats. I also really like the thick steering wheel and the large control stalks. The layout of the dash gives you great visibility of the controls and to the nav/audio system. I&#8217;ll have to spend some time figuring out the climate control system and the navigation as they are fairly sophisticated.</p>
<p>As with the exterior of the car, the interior looks much better in person than in any <a href="http://tarnaeluin.files.wordpress.com/2008/05/x3.jpg"><img class="size-medium wp-image-140" src="http://tarnaeluin.files.wordpress.com/2008/05/x3.jpg?w=300&h=225" alt="" width="300" height="225" align="left" /></a>of the pictures on the internet. I always thought the carbon-fiber pieces looked greenish in most pics, but in person they are a very dark black. The plastics are solid and firm, not cheesy. The entire interior is well constructed, sleek, and laid out nicely.</p>
<p>I included a shot with the Nav system. The navigation and audio system is pretty nice. The touch screen interface works quite well and the sound is excellent. With the windows closed the car is very quiet so you can really enjoy the stereo - but you can still hear the exhaust notes and the engine.</p>
<p>There are some strange things however with this car. For example most cars will auto-lock when you go over 7 mph; the cup holders offer an interesting size challenge; and for those of you with small kids the rear windows go all the way down (a plus in my book!). There&#8217;s also no interior gas tank lid release. I guess this is because the tank lid is an old-style one that opens from the outside. I&#8217;ll have to get a cap with a lock I guess. Another thing about the gas tank - after a fill up it takes about 10 minutes for the needle to get up to the top of the dial.</p>
<p>I did notice one interesting &#8220;quirk&#8221; with the interior, the driver side running board is labeled with &#8220;Turbo-X&#8221; and the passenger side (on the right) is labeled with &#8220;Vector&#8221;. Check it out:</p>
<p><a href="http://tarnaeluin.files.wordpress.com/2008/05/x4.jpg"><img class="aligncenter size-medium wp-image-139" src="http://tarnaeluin.files.wordpress.com/2008/05/x4.jpg?w=441&h=100" alt="" width="441" height="100" /></a></p>
<p>I put about 100 miles on the car yesterday. I got the manual transmission. It is going to take me a while to get used to it. My GTI had a very short shift and clutch. The shifting in the Turbo-X is quite a bit longer. Nevertheless the car has power and from a standing start it can really move.  There&#8217;s plenty of turbo power. You really feel the car&#8217;s acceleration all the way up to 5000 RPM- I can&#8217;t say beyond that since I&#8217;m in the break in period still.</p>
<p>Handling in the car is really amazing. While I haven&#8217;t pushed it too hard yet, I can move through corners and turns easily where my previous ride would be straining and dipping just getting through. There&#8217;s plenty of feel in the wheel although it is not heavy. The ride is stiff without being jarring. Road feel is excellent and not damped or mushy. New Jersey&#8217;s one-lane country roads present an excellent challenge for the Turbo-X and it delivers.</p>
<p>Overall this is a great car. I haven&#8217;t found anything about it that I don&#8217;t like - its got personality and funk and it has guts and performance. If Saab keeps producing cars of this quality then there will certainly be a bright future for the company and its enthusiasts.</p>
<p>PS: A shout out to my friends at Saab of Hunterdon for a great buying experience.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tarnaeluin.wordpress.com/134/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tarnaeluin.wordpress.com/134/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tarnaeluin.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tarnaeluin.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tarnaeluin.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tarnaeluin.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tarnaeluin.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tarnaeluin.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tarnaeluin.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tarnaeluin.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tarnaeluin.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tarnaeluin.wordpress.com/134/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tarnaeluin.wordpress.com&blog=1961658&post=134&subd=tarnaeluin&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://tarnaeluin.wordpress.com/2008/05/11/driving-the-saab-turbo-x/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/berenerchamion-128.jpg" medium="image">
			<media:title type="html">beren</media:title>
		</media:content>

		<media:content url="http://tarnaeluin.files.wordpress.com/2008/05/x11.jpg" medium="image" />

		<media:content url="http://tarnaeluin.files.wordpress.com/2008/05/x2.jpg?w=156" medium="image" />

		<media:content url="http://tarnaeluin.files.wordpress.com/2008/05/x3.jpg?w=300" medium="image" />

		<media:content url="http://tarnaeluin.files.wordpress.com/2008/05/x4.jpg?w=300" medium="image" />
	</item>
		<item>
		<title>A Swede in New Jersey!</title>
		<link>http://tarnaeluin.wordpress.com/2008/05/05/a-swede-in-new-jersey/</link>
		<comments>http://tarnaeluin.wordpress.com/2008/05/05/a-swede-in-new-jersey/#comments</comments>
		<pubDate>Mon, 05 May 2008 22:20:59 +0000</pubDate>
		<dc:creator>berenerchamion</dc:creator>
		
		<category><![CDATA[News]]></category>

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

		<category><![CDATA[Turbo-x]]></category>

		<guid isPermaLink="false">http://tarnaeluin.wordpress.com/?p=132</guid>
		<description><![CDATA[For my friends and family sick of my constant &#8220;Saab&#8221; story about my car not being here, finally the end is near. My dealer gave me the word that my dark Swede is here after many months of waiting (I ordered on day #1 last November). Now of course the only problem is that I&#8217;m [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>For my friends and family sick of my constant &#8220;Saab&#8221; story about my car not being here, finally the end is near. My dealer gave me the word that my dark Swede is here after many months of waiting (I ordered on day #1 last November). Now of course the only problem is that I&#8217;m away for a few days and you are getting as close to my car as me! Although I might just have to sneak out of my meeting to get a peek!</p>
<p><a href="http://tarnaeluin.files.wordpress.com/2008/05/trubo-x-in-nj.jpg"><img class="alignleft size-medium wp-image-133" src="http://tarnaeluin.files.wordpress.com/2008/05/trubo-x-in-nj.jpg?w=300&h=225" alt="" width="300" height="225" /></a></p>
<p>Here&#8217;s a great shot of my ride sitting at my dealer - I can&#8217;t wait to get in this rig and kick up some pavement.</p>
<p>Many thanks to Scot and Saab of Hunterdon.</p>
<p>I&#8217;ll post s full review after I take possession and get some time behind the wheel. I&#8217;ll also post a few more pics and closeups. Scot took a bunch, but I&#8221;ve got a 12 mpel Cannon that will get some good details. I&#8217;ll also try to post an audio of the exhaust note.</p>
<p>You can check out more pics on <a href="http://www.trollhattansaab.net/archives/2008/05/saab-turbo-xs-arriving-in-the-us.html">TrollhattanSaab</a></p>
<p>beren</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tarnaeluin.wordpress.com/132/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tarnaeluin.wordpress.com/132/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tarnaeluin.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tarnaeluin.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tarnaeluin.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tarnaeluin.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tarnaeluin.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tarnaeluin.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tarnaeluin.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tarnaeluin.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tarnaeluin.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tarnaeluin.wordpress.com/132/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tarnaeluin.wordpress.com&blog=1961658&post=132&subd=tarnaeluin&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://tarnaeluin.wordpress.com/2008/05/05/a-swede-in-new-jersey/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/berenerchamion-128.jpg" medium="image">
			<media:title type="html">beren</media:title>
		</media:content>

		<media:content url="http://tarnaeluin.files.wordpress.com/2008/05/trubo-x-in-nj.jpg?w=300" medium="image" />
	</item>
		<item>
		<title>More To Remember with PHP</title>
		<link>http://tarnaeluin.wordpress.com/2008/04/28/more-to-remember-with-php/</link>
		<comments>http://tarnaeluin.wordpress.com/2008/04/28/more-to-remember-with-php/#comments</comments>
		<pubDate>Mon, 28 Apr 2008 15:13:41 +0000</pubDate>
		<dc:creator>berenerchamion</dc:creator>
		
		<category><![CDATA[Drupal]]></category>

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

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

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

		<guid isPermaLink="false">http://tarnaeluin.wordpress.com/?p=130</guid>
		<description><![CDATA[I&#8217;ve been spending a lot of time with PHP lately thru my Drupal module work. Durpal modules are really an interesting way to learn about the good, the bad, and the ugly of PHP since there are a ton of techniques and varying qualities of code in the modules on drupal.org. I&#8217;ve updated my article [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;ve been spending a lot of time with PHP lately thru my Drupal module work. Durpal modules are really an interesting way to learn about the good, the bad, and the ugly of PHP since there are a ton of techniques and varying qualities of code in the modules on drupal.org. I&#8217;ve updated my article on<a href="http://tarnaeluin.wordpress.com/2008/01/13/learning-php-things-to-remember/"> key things to remember about PHP</a> based on some of these.</p>
<p>beren</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tarnaeluin.wordpress.com/130/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tarnaeluin.wordpress.com/130/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tarnaeluin.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tarnaeluin.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tarnaeluin.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tarnaeluin.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tarnaeluin.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tarnaeluin.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tarnaeluin.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tarnaeluin.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tarnaeluin.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tarnaeluin.wordpress.com/130/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tarnaeluin.wordpress.com&blog=1961658&post=130&subd=tarnaeluin&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://tarnaeluin.wordpress.com/2008/04/28/more-to-remember-with-php/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/berenerchamion-128.jpg" medium="image">
			<media:title type="html">beren</media:title>
		</media:content>
	</item>
		<item>
		<title>CMS At It&#8217;s Best</title>
		<link>http://tarnaeluin.wordpress.com/2008/04/22/cms-at-its-best/</link>
		<comments>http://tarnaeluin.wordpress.com/2008/04/22/cms-at-its-best/#comments</comments>
		<pubDate>Tue, 22 Apr 2008 01:22:21 +0000</pubDate>
		<dc:creator>berenerchamion</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://tarnaeluin.wordpress.com/?p=128</guid>
		<description><![CDATA[I&#8217;ve seen two sites lately that really speak to the power of open-source CMS frameworks. One is based on Drupal and the other on Plone. Both are very nice and really show that these tools are serious power-houses for building sophisticated, modern, and very sexy websites. Enough drool, here they are:

http://www.myplay.com
http://nasascience.nasa.gov/

Lots of people don&#8217;t like [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;ve seen two sites lately that really speak to the power of open-source CMS frameworks. One is based on Drupal and the other on Plone. Both are very nice and really show that these tools are serious power-houses for building sophisticated, modern, and very sexy websites. Enough drool, here they are:</p>
<ul>
<li><a href="http://www.myplay.com">http://www.myplay.com</a></li>
<li><a href="http://nasascience.nasa.gov/">http://nasascience.nasa.gov/</a></li>
</ul>
<p>Lots of people don&#8217;t like these frameworks citing memory issues, scalability, etc., but I think these sites prove this isn&#8217;t the case.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tarnaeluin.wordpress.com/128/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tarnaeluin.wordpress.com/128/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tarnaeluin.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tarnaeluin.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tarnaeluin.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tarnaeluin.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tarnaeluin.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tarnaeluin.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tarnaeluin.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tarnaeluin.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tarnaeluin.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tarnaeluin.wordpress.com/128/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tarnaeluin.wordpress.com&blog=1961658&post=128&subd=tarnaeluin&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://tarnaeluin.wordpress.com/2008/04/22/cms-at-its-best/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/berenerchamion-128.jpg" medium="image">
			<media:title type="html">beren</media:title>
		</media:content>
	</item>
		<item>
		<title>Building Modules with Drupal 6</title>
		<link>http://tarnaeluin.wordpress.com/2008/04/21/building-modules-with-drupal-6/</link>
		<comments>http://tarnaeluin.wordpress.com/2008/04/21/building-modules-with-drupal-6/#comments</comments>
		<pubDate>Mon, 21 Apr 2008 01:42:41 +0000</pubDate>
		<dc:creator>berenerchamion</dc:creator>
		
		<category><![CDATA[Drupal]]></category>

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

		<guid isPermaLink="false">http://tarnaeluin.wordpress.com/?p=127</guid>
		<description><![CDATA[I&#8217;ve learned quite a bit about how Drupal works with styles and how pages are rendered. Now I&#8217;m looking at how to build modules. What I would like to do is create a few custom modules that can &#8220;suck in&#8221; and combine information from other sources into a master feed - a feed aggregator on [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;ve learned quite a bit about how Drupal works with styles and how pages are rendered. Now I&#8217;m looking at how to build modules. What I would like to do is create a few custom modules that can &#8220;suck in&#8221; and combine information from other sources into a master feed - a feed aggregator on steroids. Similar to a &#8220;mashup&#8221; server of some kind. This is still a little fuzzy in my mind, but my intent is to look at ways to process and combine data streams from various sources into a &#8220;master view&#8221;.<span id="more-127"></span></p>
<p>As an example if I&#8217;m interested in the Saab Turbo-X then I would want to  combine data feeds from enthusiast sources, Saab, GM, and a number of other places into a &#8220;master view&#8221; so that on one page I would have everything that I need to know about this car.</p>
<p>So with this in mind I embark on my trip down &#8220;module lane&#8221;. I can already see there are a few bends in the road, but before we go there, drupal.org has a great <a href="http://drupal.org/node/508">tutorial on module development</a> so you should read this. There&#8217;s also a good section on <a href="http://drupal.org/node/147786">setting up a development environment</a>. For my development environment I&#8217;m running on Windows XP Pro, Apache 2.2.8, MySQL 5.x, PHP 5.2.5, and Drupal 6.2. For my actual development tool I am using the very latest <a href="http://www.aptana.com/">Aptana Studio</a> Community Edition - my current rev is 1.1.6.009905.</p>
<p>You should focus on the links above to start - as with my previous articles on Drupal I am not seeking to replace their excellent documentation, but really provide a &#8220;newbie&#8221; spin on how to get going. I&#8217;m not a PHP expert (but I sure am getting there&#8230;) and I would not call myself a Drupal guru either.</p>
<p>Using Drupal&#8217;s tutorial I was able to easily create a module and get it working, but I did have a few issues:</p>
<ol>
<li>The &#8220;.module&#8221; thing without a &#8220;.php&#8221; ending needs to get configured in your IDE too as a PHP file.</li>
<li>There are some subtle differences in the .info files that can cause confusion with earlier versions of drupal, for example the dependencies key/value is now an array type. To add multiple dependencies you need to add these to the array one at a time.</li>
<li>It is not entirely clear how to enable IDEs to recognize core Drupal libraries and functions so that &#8220;intellisense&#8221; lookup stuff works. <a href="http://www.screencast.com/users/PhilUK/folders/Jing/media/772a8f78-ab0c-45cf-a2f7-9962c4b91b33">Check this out for Aptana.</a></li>
<li>CVS stinks&#8230;I use SVN&#8230;so I naturally don&#8217;t like posting anything to Drupal&#8217;s code managemnet system. You can get a decent CVS GUI client from tigris.org (the same people that make svn and tortoise).</li>
</ol>
<p>I learned a few things that are very important when building modules:</p>
<ol>
<li>When you are building modules it is very important to not put any HTML formatting directly in the code. Use CSS tags and DIVs or your users will have fits trying to get things working especially if you are creating block type modules.</li>
<li>Think of all the possible variables in your module and build an administration interface to make your module as flexible as possible.</li>
<li>If things are not showing up and you can&#8217;t see any cause, disable and re-enable your module. Clear your cache. Turn off all caching and performance stuff in the administration interface.</li>
<li>PHP (not really Druapl per se) has some interesting operators like &#8220;.=&#8221; that are used quite a bit in code and examples. You need to learn these or at least have a handy cheat sheet. &#8220;.=&#8221; is roughly equivalent to an &#8220;append&#8221; function in other languages</li>
<li>Drupal then adds confusion a bit with some functions like &#8220;<a href="http://api.drupal.org/api/function/t/6">t()</a>&#8221; and &#8220;<a href="http://api.drupal.org/api/function/l/6">l()</a>&#8220;. These are important to know and understand, but they really should have decent names.  Once you are up to speed on these it is ok.</li>
</ol>
<p>Building modules in Drupal is pretty simple I think. What it takes is a decent IDE (aptana), a good understanding of PHP syntax, and some time studying the Drupal APIs. I&#8217;m going to work on a real world example in my next modules post. I&#8217;m also going to look at CCK and Views and examine if I can use these instead of a module.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tarnaeluin.wordpress.com/127/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tarnaeluin.wordpress.com/127/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tarnaeluin.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tarnaeluin.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tarnaeluin.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tarnaeluin.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tarnaeluin.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tarnaeluin.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tarnaeluin.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tarnaeluin.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tarnaeluin.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tarnaeluin.wordpress.com/127/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tarnaeluin.wordpress.com&blog=1961658&post=127&subd=tarnaeluin&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://tarnaeluin.wordpress.com/2008/04/21/building-modules-with-drupal-6/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/berenerchamion-128.jpg" medium="image">
			<media:title type="html">beren</media:title>
		</media:content>
	</item>
	</channel>
</rss>