<?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>Stellar Studios Blog</title>
	<atom:link href="http://stellarstudios.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://stellarstudios.com/blog</link>
	<description>Code, Art and Great Clients</description>
	<lastBuildDate>Mon, 27 Sep 2010 18:02:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Getting Zen Cart Product Data From Outside the Store Directory</title>
		<link>http://stellarstudios.com/blog/2010-07-23_getting-zen-cart-product-data-from-outside-the-store-directory/</link>
		<comments>http://stellarstudios.com/blog/2010-07-23_getting-zen-cart-product-data-from-outside-the-store-directory/#comments</comments>
		<pubDate>Fri, 23 Jul 2010 15:24:51 +0000</pubDate>
		<dc:creator>alogue</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Featured Product]]></category>
		<category><![CDATA[Zen Cart]]></category>

		<guid isPermaLink="false">http://stellarstudios.com/blog/?p=65</guid>
		<description><![CDATA[Being able to correctly pull Zen Cart product data from outside of the Store directory is a topic that comes up often when creating a shopping-based website. The trick is to use Zen Cart's own functions to make sure you get the correct pricing, images, etc.  Included in the zip file below is the code we have used recently to pull featured product data from outside of the store directory.  It should serve as a fairly good reference for how to pull this type of data.]]></description>
			<content:encoded><![CDATA[<p>Being able to correctly pull Zen Cart product data from outside of the Store directory is a topic that comes up often when creating a shopping-based website. The trick is to use Zen Cart&#8217;s own functions to make sure you get the correct pricing, images, etc.  Included in the zip file below is the code we have used recently to pull featured product data from outside of the store directory.  It should serve as a fairly good reference for how to pull this type of data.</p>
<p>ZIP FILE: <a href="http://stellarstudios.com/blog/wp-content/uploads/2010/07/pull_featured_product_data.zip">pull_featured_product_data.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://stellarstudios.com/blog/2010-07-23_getting-zen-cart-product-data-from-outside-the-store-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upload and Manage Multiple Images in Zen Cart</title>
		<link>http://stellarstudios.com/blog/2010-07-23_upload-and-manage-multiple-images-in-zen-cart/</link>
		<comments>http://stellarstudios.com/blog/2010-07-23_upload-and-manage-multiple-images-in-zen-cart/#comments</comments>
		<pubDate>Fri, 23 Jul 2010 14:42:48 +0000</pubDate>
		<dc:creator>alogue</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Multimagefp]]></category>
		<category><![CDATA[Multiple Images]]></category>
		<category><![CDATA[Zen Cart]]></category>

		<guid isPermaLink="false">http://stellarstudios.com/blog/?p=50</guid>
		<description><![CDATA[<a href="http://stellarstudios.com/blog/wp-content/uploads/2010/07/mfp_edit_after.jpg"><img class="alignright" title="Multimagefp" src="http://stellarstudios.com/blog/wp-content/uploads/2010/07/mfp_edit_after-150x150.jpg" alt="" width="125" height="125" /></a>A common feature that clients request for their Zen Cart store is the ability to easily upload and manage multiple images for a product.  Because this is so often requested, and because we could not find a plugin that suited our needs, we developed a small plugin/patch that allows multiple images to be uploaded and managed directly from the "Add / Modify a Product" page.]]></description>
			<content:encoded><![CDATA[<p>A common feature that clients request for their Zen Cart store is the ability to easily upload and manage multiple images for a product.  Because this is so often requested, and because we could not find a plugin that suited our needs, we developed a small plugin/patch that allows multiple images to be uploaded and managed directly from the &#8220;Add / Modify a Product&#8221; page. We have not had time to write a plugin proper, but this code has suited our needs thus far.</p>
<p>The plugin/patch code is referred to as multimagefp. The zip file below includes an auto-installing php script and instructions on how to manually install multimagefp if the script fails.</p>

<a href='http://stellarstudios.com/blog/2010-07-23_upload-and-manage-multiple-images-in-zen-cart/mfp_edit_before/' title='Before Multimagefp'><img width="150" height="150" src="http://stellarstudios.com/blog/wp-content/uploads/2010/07/mfp_edit_before-150x150.jpg" class="attachment-thumbnail" alt="Before Multimagefp" title="Before Multimagefp" /></a>
<a href='http://stellarstudios.com/blog/2010-07-23_upload-and-manage-multiple-images-in-zen-cart/mfp_edit_after/' title='After Multimagefp'><img width="150" height="150" src="http://stellarstudios.com/blog/wp-content/uploads/2010/07/mfp_edit_after-150x150.jpg" class="attachment-thumbnail" alt="After Multimagefp" title="After Multimagefp" /></a>
<a href='http://stellarstudios.com/blog/2010-07-23_upload-and-manage-multiple-images-in-zen-cart/mfp_submit_before/' title='Before Multimagefp'><img width="150" height="150" src="http://stellarstudios.com/blog/wp-content/uploads/2010/07/mfp_submit_before-150x150.jpg" class="attachment-thumbnail" alt="Before Multimagefp" title="Before Multimagefp" /></a>
<a href='http://stellarstudios.com/blog/2010-07-23_upload-and-manage-multiple-images-in-zen-cart/mfp_submit_after/' title='After Multimagefp'><img width="150" height="150" src="http://stellarstudios.com/blog/wp-content/uploads/2010/07/mfp_submit_after-150x150.jpg" class="attachment-thumbnail" alt="After Multimagefp" title="After Multimagefp" /></a>

<p>Disclaimer: You are free to use the code however you like for any purpose. This code is provided as is, without any warranty or guarantee of any kind. Use it at your own risk. This code was written for Zen Cart v1.3.9b on a Linux server with PHP4/PHP5 in mid 2010.</p>
<p><strong>EDIT: </strong>It appears that the auto-install file is currently broken.  For right now, you should NOT use the auto-install but should instead manually copy and paste the code segments.  See the readme in the zip file for instructions on how to do this.</p>
<p>ZIP FILE: <a href="http://stellarstudios.com/blog/wp-content/uploads/2010/07/multimagefp.zip">multimagefp.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://stellarstudios.com/blog/2010-07-23_upload-and-manage-multiple-images-in-zen-cart/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Complex Rounded Boxes in Photoshop Under a Minute</title>
		<link>http://stellarstudios.com/blog/2009-08-18_complex-rounded-boxes-in-photoshop-under-a-minute/</link>
		<comments>http://stellarstudios.com/blog/2009-08-18_complex-rounded-boxes-in-photoshop-under-a-minute/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 13:27:56 +0000</pubDate>
		<dc:creator>bmay</dc:creator>
				<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[marquee]]></category>
		<category><![CDATA[quick mask]]></category>
		<category><![CDATA[round corner]]></category>
		<category><![CDATA[rounded corner marquee]]></category>
		<category><![CDATA[rounded corners]]></category>

		<guid isPermaLink="false">http://stellarstudios.com/blog/?p=22</guid>
		<description><![CDATA[<a href="http://stellarstudios.com/blog/wp-content/uploads/2009/08/endResult.jpg"><img class="alignright" title="endResult" src="http://stellarstudios.com/blog/wp-content/uploads/2009/08/endResult-150x150.jpg" alt="This is the end result with rounded complex corners everywhere" width="125" height="125" /></a>Sometimes it's not "hip to be square!"
Quite a few times I have wanted to quickly sketch-up a site design using complex rounded corner boxes but didn't have time to grab illustrator and do all the path finder operations necessary. So I discovered this nifty little trick that may save you some time the next time the need arises.]]></description>
			<content:encoded><![CDATA[<p>Sometimes it&#8217;s not &#8220;hip to be square!&#8221;</p>
<p>Quite a few times I have wanted to quickly sketch-up a site design using complex rounded corner boxes but didn&#8217;t have time to grab illustrator and do all the path finder operations necessary. So I discovered this nifty little trick that may save you some time the next time the need arises.</p>
<p>First, this is the look that we will achieve:</p>
<div id="attachment_23" class="wp-caption alignnone" style="width: 217px"><a href="http://stellarstudios.com/blog/wp-content/uploads/2009/08/endResult.jpg"><img class="size-thumbnail wp-image-23  " title="endResult" src="http://stellarstudios.com/blog/wp-content/uploads/2009/08/endResult-150x150.jpg" alt="This is the end result with rounded complex corners everywhere" width="207" height="207" /></a><p class="wp-caption-text">This is the end result with rounded complex corners everywhere</p></div>
<p>First create a new document in photoshop, I used 1000 x 650 pixel dimensions. Create the general shape that you would like to be rounded with the marquee tool.<img class="size-full wp-image-24 alignnone" title="marqueeTool" src="http://stellarstudios.com/blog/wp-content/uploads/2009/08/marqueeTool.jpg" alt="Photoshop's Marquee Tool" width="27" height="24" /> Here is an example of what I created using the marquee tool:</p>
<div id="attachment_25" class="wp-caption alignnone" style="width: 160px"><a href="http://stellarstudios.com/blog/wp-content/uploads/2009/08/selection.jpg"><img class="size-thumbnail wp-image-25 " title="selection" src="http://stellarstudios.com/blog/wp-content/uploads/2009/08/selection-150x150.jpg" alt="My initial selection in photoshop" width="150" height="150" /></a><p class="wp-caption-text">My initial selection in photoshop</p></div>
<p>I used the shift button to add to selection and the option (alt) button to remove from selection.</p>
<p>Now enter quick mask mode by typing the q key or clicking the quick mask mode button:</p>
<p><img class="alignnone size-thumbnail wp-image-26" title="quickMaskTool" src="http://stellarstudios.com/blog/wp-content/uploads/2009/08/quickMaskTool-38x150.jpg" alt="quickMaskTool" width="38" height="150" /></p>
<p>Now your document should look something like this (unless you have chosen another color for quick mask):</p>
<p><a href="http://stellarstudios.com/blog/wp-content/uploads/2009/08/selectionQuickMas.jpg"><img class="alignnone size-thumbnail wp-image-27" title="selectionQuickMas" src="http://stellarstudios.com/blog/wp-content/uploads/2009/08/selectionQuickMas-150x150.jpg" alt="selectionQuickMas" width="150" height="150" /></a></p>
<p>Go to filters&gt;&gt;blur&gt;&gt;gaussian blur enter the amount your prefer. The more blur the more the corners will be rounded. I used 9.7</p>
<p><a href="http://stellarstudios.com/blog/wp-content/uploads/2009/08/gaussianBlur.jpg"><img class="alignnone size-thumbnail wp-image-28" title="gaussianBlur" src="http://stellarstudios.com/blog/wp-content/uploads/2009/08/gaussianBlur-150x150.jpg" alt="gaussianBlur" width="150" height="150" /></a></p>
<p>Now the fun part! Open up the levels tool by going to image&gt;&gt;adjustments&gt;&gt;levels or command-l on the mac and drag the highlight and shadow handles to the mid-tone handle. Essentially just dragging them together. You can also move the mid-tone handle left or right before dragging the highlight and shadow handles to the mid-tone handle to &#8220;open-up&#8221; or &#8220;shrink-down&#8221; the size of your boxes.</p>
<p>Here is the result with all the handles drug close to the left:</p>
<p><a href="http://stellarstudios.com/blog/wp-content/uploads/2009/08/levelsLeft.jpg"><img class="alignnone size-thumbnail wp-image-29" title="levelsLeft" src="http://stellarstudios.com/blog/wp-content/uploads/2009/08/levelsLeft-150x150.jpg" alt="levelsLeft" width="150" height="150" /></a></p>
<p>Here is the exact same selection with all the handles drug closer to the right.</p>
<p><a href="http://stellarstudios.com/blog/wp-content/uploads/2009/08/levelsRight.jpg"><img class="alignnone size-thumbnail wp-image-30" title="levelsRight" src="http://stellarstudios.com/blog/wp-content/uploads/2009/08/levelsRight-150x150.jpg" alt="levelsRight" width="150" height="150" /></a></p>
<p>Now, after applying the levels of your choice, exit quick mask mode by clicking the quick mask button again or by just typing the q key. You will now have a rounded selection of the square one you created! Fill with your color of choice and voila! Complex rounded corners!</p>
]]></content:encoded>
			<wfw:commentRss>http://stellarstudios.com/blog/2009-08-18_complex-rounded-boxes-in-photoshop-under-a-minute/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Incremental Website Backup Over FTP</title>
		<link>http://stellarstudios.com/blog/2009-08-11_incremental-website-backup-over-ftp/</link>
		<comments>http://stellarstudios.com/blog/2009-08-11_incremental-website-backup-over-ftp/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 14:50:18 +0000</pubDate>
		<dc:creator>alogue</dc:creator>
				<category><![CDATA[*nix]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[ftp backup]]></category>
		<category><![CDATA[incremental backup]]></category>
		<category><![CDATA[website backup]]></category>

		<guid isPermaLink="false">http://stellarstudios.com/blog/?p=11</guid>
		<description><![CDATA[There may be times when you need to make incremental backups of a website even though you do not have the luxury of shell access or similar technologies.  In this case, your only option may be to use FTP.  This was a situation we found ourselves in, so we wrote a bash script to back up websites over FTP and, additionally, to back up the mySQL databases associated with the websites.  The script fulfills these criteria:]]></description>
			<content:encoded><![CDATA[<p>There may be times when you need to make incremental backups of a website even though you do not have the luxury of shell access or similar technologies.  In this case, your only option may be to use FTP.  This was a situation we found ourselves in, so we wrote a bash script to back up websites over FTP and, additionally, to back up the mySQL databases associated with the websites.  The script fulfills these criteria:</p>
<ol>
<li>It is able to back up large amounts of data over FTP without dieing out or losing files.</li>
<li>It only downloads new files or files that have changed.  It does not re-download files that it already has.</li>
<li>It creates directories that are easy to browse and restore from.  The directories contain a complete mirror of a site at a single point in time (eg. One directory would contain a complete copy of the site at 2:00am on August 8, 2009).</li>
<li>The script  does not use an unreasonable amount of hard drive space to store the sites.  Even though each directory contains a complete copy of a site, it uses hardlinks for unchanged files.  This means that if a site hasn&#8217;t changed over a 10 day period or has only changed a little, then the combined size of the 10 directories, each holding a daily backup of the site, will only be a little bigger than a single copy of the site.</li>
</ol>
<p>The script was written for and only tested on Mac OS X 1.5.x, but it should work on any *nix system.  If you are going to use it on an OS other than OS X, then you might want to consider changing the &#8220;cpio -dpl&#8221; command to &#8220;cp -al&#8221;.  The reason cpio was used in this script rather than cp is because Mac OS X&#8217;s cp command lacks the -al options.<br />
Also, as a note, the script uses lftp to back up the data over FTP and mysqldump to back up mySQL databases.   Originally, it was going to use curlftpfs and rsync to back up the files over FTP, but we never got this working successfully.  Any time a large number of files were to be copied, most of the files would return errors and fail to copy.  Thus, lftp was used instead.</p>
<p><a href="http://stellarstudios.com/shared/FTP_Backup/backupSites.sh.txt">The bash script</a>.<br />
<a href="http://stellarstudios.com/shared/FTP_Backup/crontab.txt">An example cron file</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://stellarstudios.com/blog/2009-08-11_incremental-website-backup-over-ftp/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Draggable Rope or String in Flash</title>
		<link>http://stellarstudios.com/blog/2009-08-11_draggable-rope-or-string-in-flash/</link>
		<comments>http://stellarstudios.com/blog/2009-08-11_draggable-rope-or-string-in-flash/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 14:42:49 +0000</pubDate>
		<dc:creator>alogue</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[draggable rope]]></category>
		<category><![CDATA[draggable string]]></category>
		<category><![CDATA[rope phsyics]]></category>

		<guid isPermaLink="false">http://stellarstudios.com/blog/?p=8</guid>
		<description><![CDATA[<a href="http://stellarstudios.com/shared/imageView.php?img=Flash_Rope/blog1.jpg"><img class="alignright" title="Draggable Rope in Flash" src="http://stellarstudios.com/shared/Flash_Rope/th_blog1.jpg" alt="" width="125" height="94" /></a>Linked below is a draggable rope script in flash written in AS2.  It is not physically correct in that it does not use catenary curves, but it does “look” right.  All the code for the file resides in the first frame.]]></description>
			<content:encoded><![CDATA[<p><a href="http://stellarstudios.com/shared/imageView.php?img=Flash_Rope/blog1.jpg"><img class="alignright" title="Draggable Rope in Flash" src="http://stellarstudios.com/shared/Flash_Rope/th_blog1.jpg" alt="" width="125" height="94" /></a>Linked below is a draggable rope script in flash written in AS2.  It is not physically correct in that it does not use catenary curves, but it does “look” right.  All the code for the file resides in the first frame.</p>
<p><a href="../../shared/Flash_Rope/draggableRope.swf">An Example SWF</a>.<br />
<a href="http://stellarstudios.com/shared/Flash_Rope/draggableRope.fla">The FLA</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://stellarstudios.com/blog/2009-08-11_draggable-rope-or-string-in-flash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>3D Sabre Tooth Puzzle Game</title>
		<link>http://stellarstudios.com/blog/2009-08-11_3d-sabre-tooth-puzzle-game/</link>
		<comments>http://stellarstudios.com/blog/2009-08-11_3d-sabre-tooth-puzzle-game/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 14:27:36 +0000</pubDate>
		<dc:creator>alogue</dc:creator>
				<category><![CDATA[3D]]></category>
		<category><![CDATA[3D puzzle]]></category>
		<category><![CDATA[Blender]]></category>
		<category><![CDATA[puzzle]]></category>
		<category><![CDATA[sabre tooth puzzle]]></category>

		<guid isPermaLink="false">http://stellarstudios.com/blog/?p=3</guid>
		<description><![CDATA[<a href="http://stellarstudios.com/shared/imageView.php?img=3D_Sabre_Tooth/blog1.jpg"><img class="alignright" title="Sabre Tooth Puzzle Title Screen" src="http://stellarstudios.com/shared/3D_Sabre_Tooth/th_blog1.jpg" alt="" width="125" height="94" /></a>This is a 3D puzzle game created with the Blender Game Engine in 2008.  It was made for the Gray Fossil Site and Nuclear Fuel Services' <a href="http://nfsgoalcard.com">Goal Card project</a>.  The clients were kind enough to allow us to release the source files for the game, which we are very thankful for.  More information about the game, as well as download links to the source files and compiled binaries for Windows, Mac, and Linux can be found <a href="http://stellarstudios.com/shared/3D_Sabre_Tooth/">on this page</a>.]]></description>
			<content:encoded><![CDATA[<p><a href="http://stellarstudios.com/shared/imageView.php?img=3D_Sabre_Tooth/blog1.jpg"><img class="alignright" title="Sabre Tooth Puzzle Title Screen" src="http://stellarstudios.com/shared/3D_Sabre_Tooth/th_blog1.jpg" alt="" width="125" height="94" /></a>This is a 3D puzzle game created with the Blender Game Engine in 2008.  It was made for the Gray Fossil Site and Nuclear Fuel Services&#8217; <a href="http://nfsgoalcard.com">Goal Card project</a>.  The clients were kind enough to allow us to release the source files for the game, which we are very thankful for.  More information about the game, as well as download links to the source files and compiled binaries for Windows, Mac, and Linux can be found <a href="http://stellarstudios.com/shared/3D_Sabre_Tooth/">on this page</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://stellarstudios.com/blog/2009-08-11_3d-sabre-tooth-puzzle-game/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

