<?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>Cherrysave</title>
	<atom:link href="http://www.cherrysave.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cherrysave.com</link>
	<description>A simple web design blog</description>
	<lastBuildDate>Tue, 22 Jun 2010 23:53:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>WordPress Social Media Optimization in a Nutshell</title>
		<link>http://www.cherrysave.com/web-content/wordpress-social-media-optimization/</link>
		<comments>http://www.cherrysave.com/web-content/wordpress-social-media-optimization/#comments</comments>
		<pubDate>Tue, 22 Jun 2010 23:53:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Content]]></category>

		<guid isPermaLink="false">http://www.cherrysave.com/?p=510</guid>
		<description><![CDATA[Wordpress is a great platform for SEO — in fact, most of the title and meta optimization is done for you right out of the box. However, that is not the case of social media. Here is a brief list of ways you can use Wordpress to improve the social media optimization of your blog or content site. ]]></description>
			<content:encoded><![CDATA[<p>Wordpress is a great platform for SEO — in fact, most of the title and meta optimization is done for you right out of the box. However, that is not the case of social media. Here is a brief list of ways you can use Wordpress to improve the social media optimization of your blog or content site. </p><p><a href="http://api.tweetmeme.com/share?url=http://www.cherrysave.com/web-content/wordpress-social-media-optimization/"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://www.cherrysave.com/web-content/wordpress-social-media-optimization/" height="61" width="51" /></a></p><p><img src="http://www.cherrysave.com/wp-content/uploads/2010/06/social_media_optimization.jpg" alt="Use WordPress Social Media Optimization to capture the world in your lens. " title="social_media_optimization" width="600" height="500" class="alignnone size-full wp-image-511" /></p>
<p>If you <strong>find this article helpful</strong>, you should <strong>share it with your friends</strong> on <a href="http://api.tweetmeme.com/share?url=http://www.cherrysave.com/web-design/wordpress-3-0-released-the-top-7-new-features/">Twitter</a> and <a name="fb_share" type="icon_link" href="http://www.facebook.com/sharer.php">Facebook</a> in return.</p>
<h3>Add Social Media Buttons to Your Site</h3>
<p>Adding <a href="http://www.cherrysave.com/tools/10-social-bookmarking-sharing-buttons-for-your-site/">social media buttons</a> is a great way to encourage your audience to share your content with their communities. Of course, you can opt to use a plugin that combines multiple different buttons into one discrete unit,  but I find that it doesn&#8217;t tend to convert well. The buttons are too small, and users don&#8217;t seem to use them much.</p>
<p>Therefore, I would recommend using a button that is branded by the social media service you are planning to use. This way, you can tap into the brand equity created by services like Facebook and Twitter when presenting the share buttons to your users. For instance, when I added the Tweetmeme button to Cherrysave, my retweets skyrocketed relative to using another button. The <a href="http://wordpress.org/extend/plugins/tweetmeme/">Tweetmeme WordPress plugin</a> is available so you don&#8217;t have to manually paste in the code.</p>
<p><a href="http://www.tweetmeme.com/"><img src="http://www.cherrysave.com/wp-content/uploads/2010/06/tweetmeme.jpg" alt="" title="tweetmeme" width="600" height="251" class="alignnone size-full wp-image-514" /></a></p>
<p>If you are interested in adding buttons for other social media services, you should check out the <a href="http://wordpress.org/extend/plugins/facebook-share-new/">Facebook share plugin</a> and the <a href="http://wordpress.org/extend/plugins/stumbleupon-wordpress-plugin/">StumbleUpon plugin</a>.</p>
<h3>Optimize Your Meta Title Tags</h3>
<p>Generally, the title of your webpage is pulled from the &lt;title&gt; tags that exists in the &lt;head&gt; portion of the page. Occasionally, though, the title that appears in the browser is not necessarily the title that you want to appear on Facebook when a user shares the page. You can set a separate, unique title for social media purposes with the meta title tag:</p>
<pre>&lt;META NAME="Title" CONTENT="Page Title Here"&gt;</pre>
<p>Sony&#8217;s <a href="http://www.stopwritingonmywall.com/">Stop Writing on My Wall</a> campaign did a really good job using the meta title tag to optimize for social media. When you visit the actual site, the title is &#8220;SMAA &#8211; Social Media Addicts Association.&#8221; However, when you share it on Facebook, you get &#8220;I joined the Social Media Addicts Association!&#8221; Perfect for Facebook.</p>
<p><a href="http://www.stopwritingonmywall.com/"><img src="http://www.cherrysave.com/wp-content/uploads/2010/06/stopwritingonmywall.jpg" alt="" title="stopwritingonmywall" width="600" height="355" class="alignnone size-full wp-image-516" /></a></p>
<h3>Encourage Your Readers to Share</h3>
</p>
<p>Your viewers are most likely to share your site if you tell them to. If you focus on providing very high quality content, there will be a feeling of reciprocity that you can focus by requesting them to click on one of your social media buttons.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cherrysave.com/web-content/wordpress-social-media-optimization/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>WordPress 3.0 Released: The Top 7 New Features</title>
		<link>http://www.cherrysave.com/web-design/wordpress-3-0-released-the-top-7-new-features/</link>
		<comments>http://www.cherrysave.com/web-design/wordpress-3-0-released-the-top-7-new-features/#comments</comments>
		<pubDate>Sat, 19 Jun 2010 14:55:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.cherrysave.com/?p=461</guid>
		<description><![CDATA[Wordpress, the widely-used blogging platform that powers some of the most visited sites on the web, is known for ease of customization and a wide variety of themes and plugins. With the third major version of Wordpress now available to the public, Wordpress is ditching some of the blogging constraints that exist in a fresh install to become a much more powerful content management platform.]]></description>
			<content:encoded><![CDATA[<p>Wordpress, the widely-used blogging platform that powers some of the most visited sites on the web, is known for ease of customization and a wide variety of themes and plugins. With the third major version of Wordpress now available to the public, Wordpress is ditching some of the blogging constraints that exist in a fresh install to become a much more powerful content management platform.</p><p><a href="http://api.tweetmeme.com/share?url=http://www.cherrysave.com/web-design/wordpress-3-0-released-the-top-7-new-features/"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://www.cherrysave.com/web-design/wordpress-3-0-released-the-top-7-new-features/" height="61" width="51" /></a></p><p><img src="http://www.cherrysave.com/wp-content/uploads/2010/06/rsz_cellphone-girl.jpg" alt="" title="rsz_cellphone-girl" width="597" height="374" class="alignnone size-full wp-image-508" /></p>
<p>If you <strong>find this article helpful</strong>, you should <strong>share it with your friends</strong> on <a href="http://api.tweetmeme.com/share?url=http://www.cherrysave.com/web-design/wordpress-3-0-released-the-top-7-new-features/">Twitter</a> and <a name="fb_share" type="icon_link" href="http://www.facebook.com/sharer.php">Facebook</a> in return.</p>
<p>WordPress 3.0 incorporates quite a few new features, including custom post types, a URL shortener, and a new theme. Though there isn&#8217;t as many new features as previous WordPress releases, it is helpful to have a list to aid in exploration of WordPress 3.0 new features. You&#8217;ll find plenty of lists like this across the web, not least of which being the official <a href="http://codex.wordpress.org/Version_3.0">changelog</a> at the WordPress codex. The problem is that most of these lists don&#8217;t explain how to use the new features, and many are not self-explanatory or enabled by default. This is my attempt to remedy that. Here&#8217;s a list of the top seven most compelling features that could change the way you blog.</p>
<h3>1. Built-in WordPress Multiuser (MU)</h3>
<p>WordPress 3.0 adapts the ability to manage multiple different blogs from a single installation. Previously, you would have to install the WordPress MU (Multiuser) edition in order to do that. This is what blog services like <a href="http://www.wordpress.com/" name="WordPress.com">WordPress.com</a> use to provide and sell their hosting services. Now, instead of only having one blog, you can very easily create a network of thousands of blogs, and manage them all from the same interface.</p>
<p>A quick caution to people who are currently running a WordPress MU install: you want to be careful before you upgrade to 3.0. Use a test site to make sure all of the WPMU plugins work before you put them in production. There&#8217;s nothing like a ton of angry clients first thing on a Monday morning from users who can&#8217;t access their blog.</p>
<p>The multiuser functionality is disabled by default when you install or update to WordPress 3.0. To enable it, you need to paste this line in <code>wp-config.php</code>, right above where it says <code>/* That's all, stop editing! Happy blogging. */</code>:</p>
<pre>
define('WP_ALLOW_MULTISITE', true);
</pre>
<p>You should refer to the <a href="http://codex.wordpress.org/Create_A_Network">WordPress documentation</a> for more information.</p>
<p>This will allow the Network option to show up in the Tools menu, which you&#8217;ll access by going to <strong>Tools &rarr; Network</strong>. When you access that page, you&#8217;ll be greeted by an installer that will ask you to choose whether you want to install sub-blogs in subdirectories or subdomains.</p>
<p><a href="http://www.cherrysave.com/wp-content/uploads/2010/06/800px-tools-network.png" id="single_image"><img src="http://www.cherrysave.com/wp-content/uploads/2010/06/600px-tools-network.png" alt="" title="600px-tools-network" width="600" height="376" class="alignnone size-full wp-image-465" /></a></p>
<p>From there, you&#8217;ll have to paste in a new <code>wp-admin.php</code> and <code>.htaccess</code> file. WordPress 3.0 will walk you through the steps as soon as the installation of Network mode is completed.</p>
<p><a href="http://www.cherrysave.com/wp-content/uploads/2010/06/722px-tools-network-created.png" id="single_image"><img src="http://www.cherrysave.com/wp-content/uploads/2010/06/600px-tools-network-created.png" alt="WordPress Multiuser - Be sure to check your WPMU plugins when upgrading to 3.0" title="600px-tools-network-created" width="600" height="498" class="alignnone size-full wp-image-471" /></a></p>
<h3>2. Custom Post Types</h3>
<p><a href="http://codex.wordpress.org/Custom_Post_Types">WordPress custom post types</a> are a feature that could turbocharge WordPress as a content management system &mdash; and not in the way of the now defunct Turbo mode. While this may not seem much different than a post category at first glance, this gives developers and theme designers the ability to cause certain types of posts to have a different appearance and functionality than the rest of the blog.</p>
<p>For instance, I&#8217;m currently working on a WordPress theme gallery called <a href="http://themebook.cherrysave.com/">Themebook</a>. This is a portfolio theme that allows me to upload an image and use that as a centerpiece of the content, much like a photoblog. But, I can&#8217;t figure out how to incorporate a normal blog post &mdash; that is, an article with a headline, body, and footer &mdash; without having to create a special category or tag that I could sort through on the backend. With post types in WordPress 3.0, I could define the types &#8220;theme&#8221; and &#8220;blog-post,&#8221; and have the theme use a different approach for each type.</p>
<p>For instance, I could create the &#8216;theme&#8217; post type by sticking the following in my <code>functions.php</code> file:</p>
<pre>
add_action( 'init', 'create_post_type' );
function create_post_type() {
  register_post_type( 'theme',
    array(
      'labels' => array(
        'name' => __( 'Themes' ),
        'singular_name' => __( 'Theme' )
      ),
      'public' => true,
    )
  );
}
</pre>
<p>You&#8217;ll want to put in your post type, in both singular and plural form, where I put in &#8216;theme.&#8217;</p>
<p>Then, the &#8220;Themes&#8221; option will appear on the admin page on the top level of the left menu, right by where pages and posts normally live. After I create a few theme posts, I can sort for them with the following:</p>
<pre>
$loop = new WP_Query( array( 'post_type' => 'super', 'posts_per_page' => 10 ) );
while ( $loop->have_posts() ) : $loop->the_post();
     . . .
endwhile;
</pre>
<p>Now that you&#8217;ve seen <a href="http://themebook.cherrysave.com/">Themebook</a>, I would love some advice about the viability of turning it into a theme store, iTunes-style (minus the closed system). Tell me what you think in the comments.</p>
<h3>3. Navigation Menu Customization</h3>
<p>This nifty little feature lets you build your own custom menu, complete with categories, tags, posts, pages, and anything else from the taxonomy. It uses a nifty drag and drop interface that allows users to sort, organize, and remove elements from the menu on the fly.</p>
<p><a href="http://www.cherrysave.com/wp-content/uploads/2010/06/640menus.jpg" id="single_image"><img src="http://www.cherrysave.com/wp-content/uploads/2010/06/600menus.jpg" alt="Example of WordPress 3.0 Custom Navigation Menus" title="600menus" width="600" height="369" class="alignnone size-full wp-image-479" /></a></p>
<p>I tried to play around with this with the new Cherrysave theme (which will hopefully be available for download soon), but I couldn&#8217;t get the link to show up in the admin interface. It turns out that because the menu&#8217;s public output is meant to be rendered as a widget, you need to have a widgets-aware theme. So, for those of you using custom themes without widget support, don&#8217;t get your hopes up (but those of you with stock or good custom themes, let me know what you think of this feature).</p>
<h3>4. Custom CMS Taxonomies</h3>
<p>Basically, taxonomies are pieces of meta information that attach to things you create in WordPress 3.0. They are used to organize and sort your content in ways to relate directly to the content. For instance, older versions of WordPress only have tags and categories as the available taxonomies for posts. WordPress 3.0 allows users to go far beyond that.</p>
<p><a href="http://mashable.com/author/brian-casel/">Brian Casel</a> at <a href="http://mashable.com/2010/05/10/new-features-wordpress-3/">Mashable</a> explains it far better than I do:</p>
<blockquote><p>Let’s say you’re a film fanatic and you use your WordPress blog to post reviews and rate new movies.  You can create a custom taxonomy for “Rating,” then add R, PG-13, PG, G to every review.</p>
<p>Another example would be real estate listing websites.  In addition to photos and descriptions, you might use additional taxonomies to provide a list of specs on each property such as asking price, number of bedrooms, year built, etc.</p></blockquote>
<p>Much more clear, right? So how does one create said taxonomies? Just stick this code snippet into your <code>functions.php</code> file, my dear:</p>
<pre>
register_taxonomy('test', 'post', array(
'hierarchical' => false,  'label' => 'test',
'query_var' => true, 'rewrite' => true));
</pre>
<p>Just replace &#8220;test&#8221; with the name of your taxonomy, and you&#8217;ll be off and running. Now, when you edit or add a new post, you&#8217;ll see boxes where you can fill in content about the taxonomies you just created.</p>
<p><a href="http://www.cherrysave.com/wp-content/uploads/2010/06/taxonomies.jpg" id="single_image"><img src="http://www.cherrysave.com/wp-content/uploads/2010/06/taxonomies.jpg" alt="An example of a box generated with custom WordPress taxonomies" title="taxonomies" width="600" height="273" class="alignnone size-full wp-image-485" /></a></p>
<p>And, as <a href="http://www.1stwebdesigner.com/author/cosminnegoita/">Cosmin Negoita</a> over at <a href="http://www.1stwebdesigner.com/wordpress/essential-guide-wordpress-custom-taxonomies/">1st Web Designer</a> points out, you can easily access this information in your theme with the following snippet, placed inside the WordPress loop:</p>
<pre>
echo get_the_term_list($post->ID, 'test', 'Test: ', ', ', '');
</pre>
<p>Again, &#8220;test&#8221; gets replaced with the name of your taxonomy.</p>
<h3>5. New Default Appearance: The Twentyten Theme</h3>
<p><a href="http://2010dev.wordpress.com/">Twentyten</a> is the much needed new default theme for WordPress 3.0. It&#8217;s actually quite beautiful, and features simple lines and great typography.</p>
<p><a href="http://www.cherrysave.com/wp-content/uploads/2010/06/twentyten-full.jpg" id="single_image"><img src="http://www.cherrysave.com/wp-content/uploads/2010/06/twentyten-tn.jpg" alt="This is the Twentyten theme, the new default in WordPress 3.0" title="twentyten-tn" width="600" height="378" class="alignnone size-full wp-image-488" /></a></p>
<p>Twentyten also has advanced features built directly into the theme that take advantage of the power of WordPress 3.0. For instance, you can select a custom header and background from a variety of different stock images, or upload your own. The menus, created by the menu management tool, are drop-downs that live in the header. One of my favorite new features, though, is the ability to create &#8220;Asides&#8221; and &#8220;Galleries&#8221; from your posts.</p>
<p><a href="http://www.cherrysave.com/wp-content/uploads/2010/06/posttypes-full.jpg" id="single_image"><img src="http://www.cherrysave.com/wp-content/uploads/2010/06/posttypes-tn.jpg" alt="Creating custom post types in WordPress 3.0" title="posttypes-tn" width="600" height="433" class="alignnone size-full wp-image-490" /></a></p>
<p>To create these types of posts, just create categories called &#8220;Asides&#8221; and &#8220;Gallery,&#8221; and file your post as appropriate. The only thing I can&#8217;t figure out is why the WordPress development team didn&#8217;t choose to take advantage of the new custom post types feature to do this instead. Without reading a guide on Twentyten, most users would never have known that these features existed. With custom post types, Asides and Gallery would appear in the left column, and people could create them at will via a graphical interface. If you have any insight on this, please, leave me a comment.</p>
<h3>6. WordPress URL Shortener with Shortlink (self-hosted blogs only)</h3>
<p>Shortened URLs are a great way to share your content on Twitter and Facebook. Unfortunately, though, a link from <a href="http://bit.ly">bit.ly</a> or <a href="http://owl.ly">owl.ly</a>, while effective, masks your domain name and can make users wary. Furthermore, it doesn&#8217;t do much for your branding. Wtih WordPress 3.0, you can make your own shortlinks, assuming that your blog is self-hosted. All you need to do is click on the &#8220;Get Shortlink&#8221; button right below the title page in the post editor.</p>
<p><a href="http://www.cherrysave.com/wp-content/uploads/2010/06/shortlink-full.jpg" id="single_image"><img src="http://www.cherrysave.com/wp-content/uploads/2010/06/shortlink-tn.jpg" alt="" title="shortlink-tn" width="600" height="73" class="alignnone size-full wp-image-495" /></a></p>
<p>Then, you&#8217;ll get a pop-up with the WordPress shortlink URL. For example, the shortlink for this post is:</p>
<pre>http://www.cherrysave.com/?p=461</pre>
<h3>7. Author Templates</h3>
<p>Now, you can customize how author information is displayed on your blog. This is really useful for those who have multiple people posting, or those who took advantage of the new Network feature in WordPress 3.0.</p>
<p>In order to create a new author template, merely create <code>author.php</code> in your current theme directory, and use the <a href="http://codex.wordpress.org/Author_Templates#Using_Author_Information">author template tags</a> as appropriate. At least, that&#8217;s how you would have done it in previous versions of WordPress. </p>
<p>In 3.0, you can go a step further and set up a custom template <em>per</em> author, based either on their nice name or their user id number. For instance, I could have a custom author template for myself by creating <code>author-kurt.php</code> or <code>author-1.php</code> in my theme directory, and filling it with author template tags. One feature I would like to see in future versions of WordPress is the ability to create author templates by the user&#8217;s class. For instance, there could be one template for admins, one for moderators, and one for authors. If anyone knows how to do this now, let me know.</p>
<p>Is there any important features that I missed? Let me know in the comments, and I&#8217;ll update this post as things turn up!</p>
<p>If you <strong>find this article helpful</strong>, you should <strong>share it with your friends</strong> on <a href="http://api.tweetmeme.com/share?url=http://www.cherrysave.com/web-design/wordpress-3-0-released-the-top-7-new-features/">Twitter</a> and <a name="fb_share" type="icon_link" href="http://www.facebook.com/sharer.php">Facebook</a> in return.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cherrysave.com/web-design/wordpress-3-0-released-the-top-7-new-features/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>10 Blogs You Should Be Reading for Web Site Design Inspiration</title>
		<link>http://www.cherrysave.com/inspiration/10-web-design-blogs-you-should-be-reading/</link>
		<comments>http://www.cherrysave.com/inspiration/10-web-design-blogs-you-should-be-reading/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 03:13:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Inspiration]]></category>

		<guid isPermaLink="false">http://www.cherrysave.com/?p=350</guid>
		<description><![CDATA[As much as I would like to take all of the credit for the ideas behind this blog, it actually had quite a bit to do with the wonderful amount of web design resources that are available out there. There is a huge number of bloggers, freelancers, and designers who publish wonderful ideas and designs that inspire plenty of others, including myself. So, I wanted to highlight some of the resources that have given me great web site design inspiration with this design blog list.]]></description>
			<content:encoded><![CDATA[<p>As much as I would like to take all of the credit for the ideas behind this blog, it actually had quite a bit to do with the wonderful amount of web design resources that are available out there. There is a huge number of bloggers, freelancers, and designers who publish wonderful ideas and designs that inspire plenty of others, including myself. So, I wanted to highlight some of the resources that have given me great web site design inspiration with this design blog list.</p><p><a href="http://api.tweetmeme.com/share?url=http://www.cherrysave.com/inspiration/10-web-design-blogs-you-should-be-reading/"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://www.cherrysave.com/inspiration/10-web-design-blogs-you-should-be-reading/" height="61" width="51" /></a></p><h3>1. <a href="http://www.alistapart.com/">A List Apart</a></h3>
<p><a href="http://www.alistapart.com/"><img src="http://cherrysave.com/wp-content/uploads/2010/02/01-a-list-apart.png" alt="A List Apart" title="A List Apart" width="550" height="413" class="alignnone size-full wp-image-351" /></a></p>
<h3>2. <a href="http://www.sixrevisions.com/">Six Revisions</a></h3>
<p><a href="http://www.sixrevisions.com/"><img src="http://cherrysave.com/wp-content/uploads/2010/02/02-six-revisions.png" alt="Six Revisions" title="Six Revisions" width="550" height="413" class="alignnone size-full wp-image-352" /></a></p>
<h3>3. <a href="http://www.speckyboy.com">Speckyboy</a></h3>
<p><a href="http://www.speckyboy.com/"><img src="http://cherrysave.com/wp-content/uploads/2010/02/03-speckyboy.png" alt="Speckyboy" title="Speckyboy" width="550" height="413" class="alignnone size-full wp-image-353" /></a></p>
<h3>4. <a href="http://www.tutorial9.net/">Tutorial9</a></h3>
<p><a href="http://www.tutorial9.net/"><img src="http://cherrysave.com/wp-content/uploads/2010/02/04-tutorial9.png" alt="Tutorial9" title="Tutorial9" width="550" height="413" class="alignnone size-full wp-image-354" /></a></p>
<h3>5. <a href="http://www.wefunction.com/">Function Web Design</a></h3>
<p><a href="http://www.wefunction.com/"><img src="http://cherrysave.com/wp-content/uploads/2010/02/05-function-web-design.png" alt="Function Web Design" title="Function Web Design" width="550" height="413" class="alignnone size-full wp-image-355" /></a></p>
<p>[ad#header]</p>
<h3>6. <a href="http://www.catswhocode.com/">Cats Who Code</a></h3>
<p><a href="http://www.catswhocode.com/"><img src="http://cherrysave.com/wp-content/uploads/2010/02/06-catswhocode.png" alt="Cats Who Code" title="Cats Who Code" width="550" height="413" class="alignnone size-full wp-image-356" /></a></p>
<h3>7. <a href="http://www.smashingmagazine.com/">Smashing Magazine</a></h3>
<p><a href="http://www.smashingmagazine.com/"><img src="http://cherrysave.com/wp-content/uploads/2010/02/07-smashingmagazine.png" alt="Smashing Magazine" title="Smashing Magazine" width="550" height="413" class="alignnone size-full wp-image-357" /></a></p>
<h3>8. <a href="http://www.freelancefolder.com/">Freelance Folder</a></h3>
<p><a href="http://www.freelancefolder.com/"><img src="http://cherrysave.com/wp-content/uploads/2010/02/08-freelancefolder.png" alt="Freelance Folder" title="Freelance Folder" width="550" height="413" class="alignnone size-full wp-image-358" /></a></p>
<h3>9. <a href="http://www.scriptandstyle.com/">Script and Style</a></h3>
<p><a href="http://www.scriptandstyle.com/"><img src="http://cherrysave.com/wp-content/uploads/2010/02/09-scriptandstyle.png" alt="Script and Style" title="Script and Style" width="550" height="413" class="alignnone size-full wp-image-359" /></a></p>
<h3>10. <a href="http://www.webdesignerdepot.com/">Webdesigner Depot</a></h3>
<p><a href="http://www.webdesignerdepot.com/"><img src="http://cherrysave.com/wp-content/uploads/2010/02/10-webdesignerdepot.png" alt="Webdesigner Depot" title="Webdesigner Depot" width="550" height="413" class="alignnone size-full wp-image-360" /></a></p>
<p>These are some of the best web design blogs I&#8217;ve found so far. Do you have a design blog that you really like but I didn&#8217;t mention? Feel free to leave it in the comments!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cherrysave.com/inspiration/10-web-design-blogs-you-should-be-reading/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Record your Desktop with Linux Tools</title>
		<link>http://www.cherrysave.com/linux/record-your-desktop-with-linux-tools/</link>
		<comments>http://www.cherrysave.com/linux/record-your-desktop-with-linux-tools/#comments</comments>
		<pubDate>Sun, 07 Feb 2010 01:56:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.cherrysave.com/?p=344</guid>
		<description><![CDATA[You can capture video of all of the amazing things happening on your desktop with one of Linux's many screencasting applications. These programs are perfect for creating demonstrations for blogs and tutorials, and for illustrating projects with more than just still images.]]></description>
			<content:encoded><![CDATA[<p>You can capture video of all of the amazing things happening on your desktop with one of Linux's many screencasting applications. These programs are perfect for creating demonstrations for blogs and tutorials, and for illustrating projects with more than just still images.</p><p><a href="http://api.tweetmeme.com/share?url=http://www.cherrysave.com/linux/record-your-desktop-with-linux-tools/"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://www.cherrysave.com/linux/record-your-desktop-with-linux-tools/" height="61" width="51" /></a></p><p>Many different programs are available, and they all provide a different set of features, options, and output formats. When choosing, consider the degree of control you want to have over your video resolution and whether the video is intended to work on non-Linux operating systems. Common open source output formats, such as FLAC and Ogg Theora, work natively on Linux but require software and plugins on proprietary operating systems. User interfaces also vary greatly; some applications are nothing more than an icon in the system tray while others depend on large interfaces with many options.</p>
<p>I tested three popular screencasting applications to see which is best for everyday use. I evaluated the user interface, the quality and variety of output formats, and the ease of installation and obtaining the required dependencies. I tested the programs on a MacBook Intel Core 2 Duo with 4GB of RAM, dual-booting into Ubuntu 8.04 Hardy Heron.</p>
<h3>Istanbul</h3>
<p>Istanbul is a simple desktop recorder that lives in your system tray. Clicking on the icon starts the recording session, and clicking it again ends it. The video is encoded in the Ogg Theora format. You can capture the full screen, a selected window, or a portion of the desktop, with or without sound.</p>
<p><a id="single_image" style="text-decoration: none;" href="http://cherrysave.com/wp-content/uploads/2010/02/Istanbul.png"><img class="alignright size-thumbnail wp-image-347" style="border: 0;" title="Istanbul" src="http://www.cherrysave.com/wp-content/uploads/2010/02/Istanbul-150x23.png" alt="Istanbul" width="150" height="23" /></a></p>
<p>This application doesn&#8217;t have a complicated user interface, making it easy to use, but there are some drawbacks. Although you do have some control over the resolution size, you cannot change the output format of the video file. This isn&#8217;t much of a problem if you&#8217;re going to upload the video to a Flash-based video site, but the Ogg Theora format doesn&#8217;t work out of the box of the main proprietary operating systems without an application like the VLC media player. Therefore, you&#8217;ll have to convert to a different format if your intended audience requires it.</p>
<p>Istanbul is easy to install, and it is included in most distribution repositories. In Ubuntu, I was able to install it with the Synaptic Package Manager. It requires PyGTK and GStreamer, which are common dependencies.</p>
<h3>Wink</h3>
<p>Wink is geared toward making video tutorials; it compiles a series of screenshots to a Flash format, and allows you to edit the video directly and add text boxes, navigation buttons, and still images. It includes many advanced features, such as the ability to create preloaders (elements that load portions of the video before it starts playing) and control bars for the Flash playback.</p>
<p><a id="single_image" href="http://cherrysave.com/wp-content/uploads/2010/02/Wink.png"><img class="alignleft size-thumbnail wp-image-345" style="border: 0;" title="Wink" src="http://www.cherrysave.com/wp-content/uploads/2010/02/Wink-150x118.png" alt="Wink" width="150" height="118" /></a><br/><br/>The interface is not as minimal as Istanbul&#8217;s, but it is still relatively straightforward. The main drawback of Wink is the video output formats: Flash and Windows .exe programs are good for viewing the video when the file is local or when it is hosted on a personal Web site, but you can&#8217;t upload Flash and .exe files to most social networking and video sharing sites. Wink is good for corporate entities who want to share a tutorial with staff, but it is less useful for home users who want to show off their desktop on YouTube.</p>
<p>Most distributions include Wink in their repositories, and you can install it with any package management application. Unfortunately, though, Wink doesn&#8217;t work with Ubuntu 8.04 as of the writing of this article without some hacking. I tested it for this review with a previous version of Ubuntu.</p>
<h3>XVidCap</h3>
<p>With XVidCap, you can capture desktop video and take single-frame screenshots. You can record portions of the screen by dragging a red selection rectangle over the area you wish to capture. The program can handle a wide variety of output formats, including MPEG, AVI, Flash, and QuickTime.</p>
<p><a id="single_image" href="http://cherrysave.com/wp-content/uploads/2010/02/Xvidcap.png"><img class="alignleft size-thumbnail wp-image-346" style="border: 0;" title="Xvidcap" src="http://www.cherrysave.com/wp-content/uploads/2010/02/Xvidcap-149x20.png" alt="Xvidcap" width="149" height="20" /></a></p>
<p>The interface consists of a small toolbar with more options tucked away inside a Preferences panel. XVidCap uses the FFmpeg libraries to capture video or a series of images, and it can also embed audio. Some people claim that XVidCap can dramatically slow down your computer if you try to record a large area. I didn&#8217;t have that problem on my machine, but I had 4GB of RAM.</p>
<p>Installation of XVidCap is easy because it comes in the repositories for most distributions. It requires common dependencies, such as libavcodec (the FFmpeg codec libraries for video), and Cairo, Glade Interface Designer, and GTK+ to render the graphical interface.</p>
<h3>Conclusion</h3>
<p>XVidCap is the most versatile of these three tools for recording your desktop and creating screencasts. Istanbul is a close second, but its lack of support for a variety of different output types is a drawback. Wink is nice, but it&#8217;s limited in use to only a few tasks, and it&#8217;s not for users who merely want to record their desktops. XVidCap can handle many popular video formats, allowing it to play nice with both Windows and Mac OS X. The red selection box is kind of clunky, and there is no easy way to record only a specific window without it, but XVidCap gets the job done in an efficient manner.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cherrysave.com/linux/record-your-desktop-with-linux-tools/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Forget About Photoshop: 5 More Ways to Stop Using Images in Your Designs</title>
		<link>http://www.cherrysave.com/web-design/forget-about-photoshop-stop-using-images/</link>
		<comments>http://www.cherrysave.com/web-design/forget-about-photoshop-stop-using-images/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 05:52:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.cherrysave.com/?p=320</guid>
		<description><![CDATA[Images increase download time for end-users and workload for web designers, slowing down the time it takes to fully develop a concept for clients. Furthermore, images can add unneeded clutter and increase search-engine blindness, detracting from the principle of simple web design. You don't need images to create a deep and beautiful web design. Instead, you can use CSS, typography, and optical effects to do many of the same things and instead only use images when they are clearly needed.]]></description>
			<content:encoded><![CDATA[<p>Images increase download time for end-users and workload for web designers, slowing down the time it takes to fully develop a concept for clients. Furthermore, images can add unneeded clutter and increase search-engine blindness, detracting from the principle of simple web design. You don't need images to create a deep and beautiful web design. Instead, you can use CSS, typography, and optical effects to do many of the same things and instead only use images when they are clearly needed.</p><p><a href="http://api.tweetmeme.com/share?url=http://www.cherrysave.com/web-design/forget-about-photoshop-stop-using-images/"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://www.cherrysave.com/web-design/forget-about-photoshop-stop-using-images/" height="61" width="51" /></a></p><p>Images increase download time for end-users and workload for web designers, slowing down the time it takes to fully develop a concept for clients. Furthermore, images can add unneeded clutter and increase search-engine blindness, detracting from the principle of simple web design.</p>
<p>You don&#8217;t need images to create a deep and beautiful web design. Instead, you can use CSS, typography, and optical effects to do many of the same things and instead only use images when they are clearly needed. If you like these tips, you should check out the bonus tips for <a href="http://www.cherrysave.com/web-design/forget-about-photoshop-five-css-hacks-to-help-you-stop-using-images/">five more ways to stop using images</a> in web design.</p>
<p>Before we get started, there is one potential downside to these techniques that needs to be mentioned. Because of the (awful) state of standards-compliant browsers, not all of these ideas will work (or look the same) in all browsers. Therefore, there may be times when you might opt to use an image instead when you want an element to be sure to render the same across all browsers. One way to test browser standards is via the <a href="http://acid3.acidtests.org/">Acid3 test</a>. And, you can see how your design will look in a variety of different browsers with <a href="http://www.browsershots.org/">BrowserShots</a>.</p>
<h3>Sideways Text</h3>
<p>I recently spoke of <a href="http://www.cherrysave.com/web-design/the-encyclopedia-of-typographic-contrast/">being creative with text</a> to create typographic contrast. You can rotate text by 90 degrees in order to create a more dramatic appearance, all without resorting to an image. This trick relies on proprietary CSS attributes, so it probably will not be well supported outside of Webkit-, Mozilla-, and Microsoft based browsers.</p>
<p>To do it, add the following code snippet to your stylesheet:</p>
<pre name="code" class="css">
.sideways {
     -webkit-transform: rotate(-90deg);
     -moz-transform: rotate(-90deg);
     filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}
</pre>
<p>Then, add the style to the element in the usual method:</p>
<pre name="code" class="html:nogutter:nocontrols">
&lt;h1 class=&quot;sideways&quot;&gt;CSSrules&lt;/h1&gt;
</pre>
<p>The output should look something like this:</p>
<p><a href="http://cherrysave.com/wp-content/uploads/2010/02/cssrules.jpg"><img class="size-full wp-image-328 alignnone" title="Example of CSS attribute that creates rotated text" src="http://cherrysave.com/wp-content/uploads/2010/02/cssrules.jpg" alt="Example of CSS attribute that creates rotated text" width="55" height="131" /></a></p>
<p>Of course, you can rotate text in a variety of different directions and angles by changing the value of the attribute.</p>
<h3>Create a Triangle</h3>
<p>Believe it or not (and I wouldn&#8217;t, if I were you&#8230; <img src='http://www.cherrysave.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  ), you can create some basic shapes with CSS. Now, you won&#8217;t have to use images to include basic symbols within your templates. You can create a triangle by inserting this HTML in the spots where you want the triangle to go:</p>
<pre name="code" class="html:nogutter:nocontrols">
&lt;div class=&quot;upper&quot;&gt;
     &lt;div class=&quot;inner&quot;&gt;&lt;/div&gt;
&lt;/div&gt;
</pre>
<p>Now, use the following CSS classes to complete the effect:</p>
<pre name="code" class="css:nogutter:nocontrols">
.upper {
     position:absolute;
     left:150px; top:100px;
}

.upper div {
     border-left-color: transparent;
     border-style: solid;
}

.inner{
     border-width: 0 0 300px / 200px;
     border-bottom-color: #955;
}
</pre>
<p>You will get the following:<br />
<a href="http://cherrysave.com/wp-content/uploads/2010/02/css-triangle.jpg"><img class="alignnone size-full wp-image-329" title="Create a triangle using only CSS" src="http://cherrysave.com/wp-content/uploads/2010/02/css-triangle.jpg" alt="Create a triangle using only CSS" width="110" height="111" /></a></p>
<h3>Automatically Zebra-Stripe a Table</h3>
<p>Okay, so I know that this doesn&#8217;t quite qualify as a way to replace using images, but it&#8217;s such a nifty, simple trick that I couldn&#8217;t help but mention it. Using a single selector, you can automatically alternate the appearance of rows in a table. No more having to use PHP or Rails to dynamically insert an &#8220;odd&#8221; or &#8220;even&#8221; class to every other table row&#8230;</p>
<p>To do this, just start with a basic table. The key thing is to make sure that you wrap the main content of the table in the<br />
<code>tbody</code><br />
tag. This will make it so that zebra-striping is not applied to the header rows. Here&#8217;s the table:</p>
<pre name="code" class="html:nogutter:nocontrols">
&lt;table border=&quot;0&quot;&gt;
	&lt;tbody&gt;
		&lt;tr&gt;&lt;td&gt;One&lt;/td&gt;&lt;td&gt;and&lt;/td&gt;&lt;/tr&gt;
		&lt;tr&gt;&lt;td&gt;Two&lt;/td&gt;&lt;td&gt;and&lt;/td&gt;&lt;/tr&gt;
		&lt;tr&gt;&lt;td&gt;Three&lt;/td&gt;&lt;td&gt;and&lt;/td&gt;&lt;/tr&gt;
		&lt;tr&gt;&lt;td&gt;Four&lt;/td&gt;&lt;td&gt;end.&lt;/td&gt;&lt;/tr&gt;
	&lt;/tbody&gt;
&lt;/table&gt;
</pre>
<p>And the magical, magical CSS snippet:</p>
<pre name="code" class="css:nogutter:nocontrols">
tbody tr:nth-child(odd) {
   background-color: #ccc;
}
</pre>
<p>And that will churn out (something) like this:</p>
<p><a href="http://cherrysave.com/wp-content/uploads/2010/02/zebra.jpg"><img class="alignnone size-full wp-image-332" title="Zebra-stripe a table with CSS" src="http://cherrysave.com/wp-content/uploads/2010/02/zebra.jpg" alt="Zebra-stripe a table with CSS" width="509" height="77" /></a></p>
<h3>Drop Shadows or Glows</h3>
<p>You can also avoid using images by using CSS to add a drop shadow or a glow to elements. The following code snippet will apply the shadow to a box element, which is useful for making something stand out on a page. Obviously, you&#8217;ll have to play with the effect a little bit to make sure that it doesn&#8217;t look too tacky.</p>
<pre name="code" class="css:nogutter:nocontrols">
.module {
  background-color: #cccccc;
  /* offset left, top, thickness, color with alpha */
  -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
  /* IE */
  filter:progid:DXImageTransform.Microsoft.dropshadow(OffX=5, OffY=5, Color='gray');
  /* slightly different syntax for IE8 */
  -ms-filter:&quot;progid:DXImageTransform.Microsoft.dropshadow(OffX=5, OffY=5, Color='gray')&quot;;
}
</pre>
<p>Of course, most of these commands are redundant in order to ensure that the browser renders it correctly. Oh, the joy of standards compliance&#8230; Here&#8217;s what the final effect looks like:<br />
<a href="http://cherrysave.com/wp-content/uploads/2010/02/shadow.jpg"><img class="alignnone size-full wp-image-335" title="Drop shadows with CSS" src="http://cherrysave.com/wp-content/uploads/2010/02/shadow.jpg" alt="Drop shadows with CSS" width="326" height="79" /></a></p>
<h3>Gradients</h3>
<p>Here&#8217;s a simple trick for gradients:</p>
<pre name="code" class="css:nogutter:nocontrols">
.gradient {
	background-image: -moz-linear-gradient(top, #aaaaaa, #dddddd);
	background-image: -webkit-gradient(linear, left top, left bottom, from(#aaa), to(#ddd));
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#aaaaaa,endColorstr=#dddddd);
	-ms-filter: &quot;progid:DXImageTransform.Microsoft.gradient(startColorstr=#aaaaaa,endColorstr=#dddddd)&quot;;
}
</pre>
<p>And it looks like this:</p>
<p><a href="http://cherrysave.com/wp-content/uploads/2010/02/gradient.jpg"><img class="alignnone size-full wp-image-336" title="Add a gradient with CSS" src="http://cherrysave.com/wp-content/uploads/2010/02/gradient.jpg" alt="Add a gradient with CSS" width="525" height="79" /></a></p>
<p>Keep in touch with these updates by <a href="http://www.cherrysave.com/feed/">subscribing to the RSS feed</a> or <a href="http://twitter.com/simplrdesgn">following me on Twitter</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cherrysave.com/web-design/forget-about-photoshop-stop-using-images/feed/</wfw:commentRss>
		<slash:comments>29</slash:comments>
		</item>
		<item>
		<title>TimeVault simplifies data backup for Ubuntu users</title>
		<link>http://www.cherrysave.com/linux/timevault-simplifies-data-backup-for-ubuntu-users/</link>
		<comments>http://www.cherrysave.com/linux/timevault-simplifies-data-backup-for-ubuntu-users/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 14:22:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.cherrysave.com/?p=312</guid>
		<description><![CDATA[Backing up data can be difficult, especially when you only want to copy files that changed since the last backup. It can be even more troublesome when you have to remember to start the process manually,or you have to delete old backups to make room for new ones. Because of these difficulties, some people decide not to back up data at all, and feel the pain when they accidentally delete the wrong file or their system crashes. <a href="https://wiki.ubuntu.com/TimeVault">TimeVault</a> is a backup utility for Ubuntu that addresses these problems.]]></description>
			<content:encoded><![CDATA[<p>Backing up data can be difficult, especially when you only want to copy files that changed since the last backup. It can be even more troublesome when you have to remember to start the process manually,or you have to delete old backups to make room for new ones. Because of these difficulties, some people decide not to back up data at all, and feel the pain when they accidentally delete the wrong file or their system crashes. <a href="https://wiki.ubuntu.com/TimeVault">TimeVault</a> is a backup utility for Ubuntu that addresses these problems.</p><p><a href="http://api.tweetmeme.com/share?url=http://www.cherrysave.com/linux/timevault-simplifies-data-backup-for-ubuntu-users/"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://www.cherrysave.com/linux/timevault-simplifies-data-backup-for-ubuntu-users/" height="61" width="51" /></a></p><p>TimeVault makes saving and recovering data easy through an automatic process. You define directories to include or exclude from the process, and TimeVault takes care of the rest by creating snapshots of your data. A snapshot is a clone of a directory at a point in time. Files are copied if they&#8217;ve changed since the last snapshot. If a file hasn&#8217;t changed, it is simply referenced to an older snapshot and no space is used for backing it up. Snapshots are read-only, so they are protected from accidental deletion or modification. If you are the root user, you can delete intermediate snapshots without harming the rest of them. Because of that, you can still restore to a point before or after the deleted snapshot. When you pick what files to exclude, you can specify either a path or a pattern to identify files, which is especially handy if you want to exclude large media files or music directories.</p>
<p><a id="single_image" href="http://cherrysave.com/wp-content/uploads/2010/02/150600-1.png"><img class="alignright size-medium wp-image-313" title="The Pending Snapshots dialog displays a list of the current backup tasks being performed by TimeVault." src="http://www.cherrysave.com/wp-content/uploads/2010/02/150600-1-300x215.png" alt="The Pending Snapshots dialog displays a list of the current backup tasks being performed by TimeVault." width="300" height="215" style="border: 0;"/></a></p>
<p>TimeVault can make backups even easier by automating them. It can be set to take a daily snapshot of included directories without you having to do anything, and will let you know when the automatic snapshot is finished with a notification in the system tray. Automatic snapshots are optional, and can be enabled in the preferences dialog by checking the &#8220;Enable automated snapshots&#8221; option on the General tab.</p>
<p>Snapshots expire when certain conditions are met, such as after a defined number of days, when enough snapshots have been taken for a single file, or when too much space is used for a file. You can edit and adjust these settings in the Expire tab of the preferences dialog.</p>
<p>It&#8217;s simple to restore data with the Snapshot browser. It displays a timeline of all the snapshots taken, the data included, and the size and the number of files in any given snapshot. You can also search the snapshots to find one with a specific file, which is useful if you want to restore a deleted document. You can also delete backups from the Snapshot browser without having to go through the filesystem manually. Also, TimeVault can revert all of the monitored directories back to a certain snapshot. You just select the snapshot and click the Revert button in the bottom right corner.</p>
<p><a href="http://cherrysave.com/wp-content/uploads/2010/02/150600-2.png" id="single_image"><img class="alignleft size-medium wp-image-314" title="The Snapshot Browser is the main interface for restoring data to a previous snapshot." src="http://www.cherrysave.com/wp-content/uploads/2010/02/150600-2-300x227.png" alt="The Snapshot Browser is the main interface for restoring data to a previous snapshot." width="300" height="227" style="border: 0;"/></a></p>
<p>TimeVault&#8217;s restoration features are integrated into Nautilus, the GNOME filesystem browser. By right-clicking on a file and selecting the Properties option in the context menu, and selecting the Previous Versions tab (indicated by the TimeVault icon), you can see how many previous versions of the file are stored in snapshots, as well as other basic information. At the bottom of the dialog there are buttons to launch the Snapshot Browser to restore previous versions of files.</p>
<h3>Installing TimeVault</h3>
<p>TimeVault is not yet part of the Ubuntu repositories. Because of that, you have to download and install a .deb package from the <a href="https://launchpad.net/timevault/+download">Launchpad project site</a>.</p>
<p>After the .deb package is installed, you can start TimeVault Notifier manually from Applications -&gt; System Tools -&gt; TimeVault in the GNOME menu panel. The Notifier consists of the system tray icon and notifications for completed snapshots, and has convenient access to preferences and the Snapshot Browser. The TimeVault back end will run all the time. For most people, it is easier if the TimeVault Notifier begins at startup. To do this, open the Session configuration panel from System -&gt; Preferences -&gt; Sessions in the GNOME panel. Click on the Add button, type &#8220;TimeVault Notifier&#8221; in the name box, and &#8220;/usr/bin/timevault-notifier&#8221; in the path box. Click OK when finished. Next, you should specify a directory to store TimeVault snapshots with a command like sudo mkdir /home/timevault/ . If you skip this, the snapshots will go into the root directory, and that can make things messy.</p>
<p>Tell TimeVault to use that directory by selecting it in the Snapshots Root Directory option under the General tab of the preferences dialog. Lastly, be sure to visit the Include and the Exclude tabs of the preferences dialog to tell TimeVault which files to put in the snapshot. As soon as you finish that, the application will make its first backup.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cherrysave.com/linux/timevault-simplifies-data-backup-for-ubuntu-users/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Using Web Fonts in CSS3</title>
		<link>http://www.cherrysave.com/web-design/using-web-fonts-in-css3/</link>
		<comments>http://www.cherrysave.com/web-design/using-web-fonts-in-css3/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 14:34:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.cherrysave.com/?p=308</guid>
		<description><![CDATA[Currently, you can only use about 10 to 15 types of fonts on the web without having to create time-consuming and non-Google friendly images. In order to promote and further the idea of <a href="http://www.cherrysave.com/web-design/simple-web-design-175-sites-featuring-minimalist-interfaces/">simple web design</a>, it would be better to use plain text. Thankfully, you can use CSS3 web fonts along with <a href="http://www.cherrysave.com/web-design/simple-css-tricks-to-greatly-improve-site-typography/">other typography techniques</a> to dress up the font on your website.]]></description>
			<content:encoded><![CDATA[<p>Currently, you can only use about 10 to 15 types of fonts on the web without having to create time-consuming and non-Google friendly images. In order to promote and further the idea of <a href="http://www.cherrysave.com/web-design/simple-web-design-175-sites-featuring-minimalist-interfaces/">simple web design</a>, it would be better to use plain text. Thankfully, you can use CSS3 web fonts along with <a href="http://www.cherrysave.com/web-design/simple-css-tricks-to-greatly-improve-site-typography/">other typography techniques</a> to dress up the font on your website.</p><p><a href="http://api.tweetmeme.com/share?url=http://www.cherrysave.com/web-design/using-web-fonts-in-css3/"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://www.cherrysave.com/web-design/using-web-fonts-in-css3/" height="61" width="51" /></a></p><p>As a disclaimer, remember that CSS3 is not universally supported yet by all browsers, so use the following techniques with caution. Off of the top of my head, I believe that this is supported in Webkit (Safari, Chrome) and Firefox, but if I&#8217;m wrong let me know in the comments.</p>
<h3>Import Web Fonts Into Your Design</h3>
<p>With CSS3, you can import fonts into our design much like you import video, images, text, and scripts. First, find a font on the web that you would like to use. Generally, it has to be publicly accessible in a <a href="http://en.wikipedia.org/wiki/TrueType">TrueType format</a> (.ttf). For this example, I&#8217;m going to use the <a href="http://www.dafont.com/Kimberley.font">Kimberley</a> TrueType font referenced recently on A List Apart.</p>
<p>To import the font, merely reference it as follows in the stylesheet:</p>
<pre>
@font-face {
  font-family: &quot;Kimberley&quot;;
  src: url(http://www.princexml.com/fonts/larabie/kimberle.ttf) format(&quot;truetype&quot;);
}
</pre>
<p>The <code>@font-face</code> selector indicates that you are declaring a font for use in the stylesheet. The font is named (anything you like) after the <code>font-family:</code> selector. The path to the font is referenced via the <code>src:</code> attribute.</p>
<p>Now, you can use the font in CSS as you would any other font by using the name you previously gave the font.</p>
<pre>
h1 { font-family: &quot;Kimberley&quot;, sans-serif }
</pre>
<p>You can use this pattern to import a huge variety of fonts without hosting any of them on your site or by creating cumbersome images. One issue, though, is copyright issues attached to fonts you find on the internet. You should either ask permission before using a font, or find a font that is <a href="http://creativecommons.org/about/licenses/">Creative Commons</a> friendly.</p>
<p>Interested in learning more about simple web design? You can follow <a href="http://twitter.com/simplrdesgn">@simplrdesgn</a> on Twitter, join the <a href="http://www.facebook.com/cherrysave">Cherrysave Facebook page</a>, or read along by <a href="http://www.cherrysave.com/feed/">subscribing to RSS</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cherrysave.com/web-design/using-web-fonts-in-css3/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The Semantic Web: Speaking to Humans With Readable Code</title>
		<link>http://www.cherrysave.com/web-design/semantic-web/</link>
		<comments>http://www.cherrysave.com/web-design/semantic-web/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 03:58:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[readable code]]></category>
		<category><![CDATA[semantic web]]></category>

		<guid isPermaLink="false">http://www.cherrysave.com/?p=280</guid>
		<description><![CDATA[The semantic web consists of teaching computers to understand the meaning of web content. You should learn the advantages of writing on the semantic web when working on web development projects because search engines (and people) strongly rely and prefer code that makes sense intuitively instead of having to read pages of documentation and confusing inline comments.]]></description>
			<content:encoded><![CDATA[<p>The semantic web consists of teaching computers to understand the meaning of web content. You should learn the advantages of writing on the semantic web when working on web development projects because search engines (and people) strongly rely and prefer code that makes sense intuitively instead of having to read pages of documentation and confusing inline comments.</p><p><a href="http://api.tweetmeme.com/share?url=http://www.cherrysave.com/web-design/semantic-web/"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://www.cherrysave.com/web-design/semantic-web/" height="61" width="51" /></a></p><p><a id="single_image" href="http://cherrysave.com/wp-content/uploads/2010/01/3448804778_6fc1876655_o.png"><img src="http://cherrysave.com/wp-content/uploads/2010/01/3448804778_6fc1876655_o.png" alt="The Semantic Web Rubik Cube" title="The Semantic Web Rubik Cube" width="291" height="300" class="alignleft size-full wp-image-286" style="margin-right: 10px; margin-left: 10px;"/></a></p>
<h3>What is the Semantic Web?</h3>
<p>So what exactly is the semantic web? It turns out that it is difficult to define it simply, yet I&#8217;ll try anyway. The semantic web is best described as structured data. The main goal is to take the structure that the web and some applications have as a whole &mdash; URLs, categories, tags &mdash; and apply them to the data represented by code. That is, the semantic web envisions an interconnected <a href="http://www.w3.org/2001/sw/SW-FAQ#swgoals">web of data</a>.</p>
<p>Many consider the semantic web to be a founding anchor of <a href="http://www.labnol.org/internet/web-3-concepts-explained/8908/">Web 3.0</a>. British engineer Tim Berners-Lee envisions a web with SVG graphics built on a well-organized and self-descriptive (tagged, friended, categorized) Web 2.0. The semantic web promises to organize the world&#8217;s information in a dramatically more logical way.</p>
<h3>Riding the Semantic Web: Organizing Your Code in a More Cohesive Way</h3>
<p>The current HTML schema doesn&#8217;t have much support for the semantic web. In fact, one of the few ways you can tell computer systems about the actual content of your page and not just the display properties is through the <code>meta</code> tags. Using that, you can tell search engines about things like the title and keywords associated with a piece of content, but you can&#8217;t do much more than that.</p>
<p>Yet, there are some things you can do with the semantic web when you code to take advantage of semantic principals. And the best part is that they tend to be quite simple. Here&#8217;s a few examples of some of the things you can do:</p>
<ul>
<li>For headings, use a heading tag (<code>h1, h2, h3, etc...</code>)</li>
<li>For paragraphs, use a paragraph tag (<code>p</code>)</li>
<li>For lists, use a list item tag (<code>li, ol, ul, etc...</code></li>
</ul>
<p>Like I said, these are really simple principals, yet it can make a huge difference in the readability and clarity of code for both web developers, computers, and end-users. For example, look at the difference between the following two snippets of code:</p>
<h4>Non-semantic</h4>
<pre>&lt;span id="heading-1"&gt;&lt;font size="8" color="black"&gt;&lt;strong&gt;Heading 1&lt;/strong&gt;&lt;/font&gt;&lt;/span&gt;</pre>
<h4>Semantic</h4>
<pre>&lt;h1&gt;Heading 1&lt;/h1&gt;</pre>
<p>Obviously, the second snippet is much more simple for people and for computers (read: search engines and data miners) to read, and they should (or could) look about the same in a web browser.</p>
<h3>The Advantages of Writing in Semantic Code</h3>
<p>There are at least two advantages in taking advantage of the semantic web. First, computers can how understand the content of your page and make use of that. For example, in the current iteration of HTML, you can tell search engines the title and content of your page with the meta. In the future, Amazon could tell computers, in code form, the type and style of the products on their web page. The books would be classified as such, dramatically improving the categorization and usability of the internet. The second benefit is that it will improve communication between web developers and designers. Engineers will instantly understand what the code is attempting to model much more so than if one was using the common universal tags.</p>
<p>That&#8217;s all well and good, but I&#8217;m sure you&#8217;re looking for a better way to currently take advantage of the semantic web. XFN (XHTML Friends Network) uses data in the <code>rel</code> attribute to describe relationships between people. For instance, I could link to my friend Creed, whom I&#8217;ve met in real life, in the following way:</p>
<pre>&lt;a href="http://www.creedsblog.us.creedsthoughts.office.doc/" rel="met friend"&gt;</pre>
<p>From the <code>rel</code> tag, you can see that I&#8217;ve met Creed, my friend, in real life (when he was stealing things out of my garage). The key to the semantic web, though, is that computers should be able to easily parse the meaning of those friend relationships. You can use a CSS snipet to do that:</p>
<pre>a[rel~="friend"] {font-weight: bold;}</pre>
<p>That will bold all of your friends via the stylesheet on a given page.</p>
<p>Of course, these are merely the beginnings of the semantic web. There will be undoubtedly more ways to classify and organize data on the web. Keep in touch with these updates by <a href="http://www.cherrysave.com/feed/">subscribing to the RSS feed</a> or <a href="http://twitter.com/simplrdesgn">following me on Twitter</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cherrysave.com/web-design/semantic-web/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Build Your Own Custom Ubuntu Live CD</title>
		<link>http://www.cherrysave.com/linux/build-your-own-custom-ubuntu-live-cd/</link>
		<comments>http://www.cherrysave.com/linux/build-your-own-custom-ubuntu-live-cd/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 18:49:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.cherrysave.com/?p=270</guid>
		<description><![CDATA[You turn on your trusty old Linux box, and things are going well as you pass through the boot loader, until the disk check reveals that your hard drive partition table is corrupt, and you are unable to access your machine. You need a good rescue disk -- and the best way to get one is to create your own.]]></description>
			<content:encoded><![CDATA[<p>You turn on your trusty old Linux box, and things are going well as you pass through the boot loader, until the disk check reveals that your hard drive partition table is corrupt, and you are unable to access your machine. You need a good rescue disk -- and the best way to get one is to create your own.</p><p><a href="http://api.tweetmeme.com/share?url=http://www.cherrysave.com/linux/build-your-own-custom-ubuntu-live-cd/"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://www.cherrysave.com/linux/build-your-own-custom-ubuntu-live-cd/" height="61" width="51" /></a></p><p>You can customize an Ubuntu 8.04 Hardy Heron live CD to make a good bootable utilities disk by adding and removing packages from the standard installation. Specifically, you can remove most of the Ubuntu applications and install antivirus, a partition recover tool, a few disk utilities, and a rootkit checker, among other things. I&#8217;m going to create the live CD within an Ubuntu installation, but the directions should work for most Debian-based operating systems, and can be easily ported elsewhere. This guide largely follows the <a href="https://help.ubuntu.com/community/LiveCDCustomization">community documentation article</a> on the Ubuntu customization process, which is a good place to look for more advanced information and troubleshooting support, while the <a href="http://www.livecdlist.com/wiki/index.php/LiveCD_Creation_Resources">livecdlist.com wiki</a> is the best place to look for customized directions. </p>
<p>To create and use the Ubuntu-based boot CD, you&#8217;ll need a computer with at least 3GB of disk space and 512MB RAM. 1GB of swap is recommended, though I did it with 512 MB.</p>
<h3>Create the live CD environment</h3>
<p>The first step is to <a href="http://releases.ubuntu.com/hardy/">download</a> the Ubuntu 8.04 live CD ISO file for your system type. You can get it from the Web site, or you can use wget on the command line:</p>
<pre>wget -v http://releases.ubuntu.com/hardy/ubuntu-8.04-desktop-i386.iso</pre>
<p>To work with the image, you&#8217;ll need to install a few packages to support the squashfs filesystem format, and mkisofs, the utility to create ISO images. On Ubuntu, you can install them with the command <code>sudo apt-get install squashfs-tools mkisofs</code>.</p>
<p>Now, load the squashfs module, then copy, mount, and extract the contents of the ISO file in order to customize the contents:</p>
<pre>sudo modprobe squashfs
mkdir rescue
mv ubuntu-8.04-desktop-i386.iso rescue
cd rescue
mkdir mnt
sudo mount -o loop ubuntu-8.04-desktop-i386.iso mnt
mkdir extract-cd
rsync --exclude=/casper/filesystem.squashfs -a mnt/ extract-cd
mkdir squashfs
sudo mount -t squashfs -o loop mnt/casper/filesystem.squashfs squashfs
mkdir edit
sudo cp -a squashfs/* edit/
</pre>
<p>You&#8217;ll want to customize the CD in a chroot environment. Chroot changes the root directory of the environment, allowing you to access the files and applications inside the CD directly, which you must do in order to use tools like apt-get. In order to use a network connection inside chroot, which you&#8217;ll probably want to do to add new packages, you&#8217;ll need to copy in the hosts and resolv.conf files to configure your network settings. You can achieve this with the following:</p>
<pre>sudo cp /etc/resolv.conf edit/etc/
sudo cp /etc/hosts edit/etc/</pre>
<p>Once you&#8217;ve completed these steps, you can start to work inside the live CD. Mount the live CD to the edit/dev mountpoint, then change your root directory into the newly mounted volume. You&#8217;ll need to mount /proc and /sys volumes to work with the kernel, and export your settings to avoid locale and GPG problems later on:</p>
<pre>sudo mount --bind /dev/ edit/dev
sudo chroot edit
mount -t proc none /proc
mount -t sysfs none /sys

export HOME=/root
export LC_ALL=C
</pre>
<h3>Free space by removing unneeded packages</h3>
<p>You can configure the packages that are included with the live CD using apt-get or Aptitude. You&#8217;ll want to free up some space to add the rescue applications; even though the data is compressed, all of it needs to fit on a 700MB CD or on a higher-capacity DVD. You can remove packages and applications that aren&#8217;t useful for the recovery. I chose to remove the OpenOffice.org suite, the GNOME games set, Ekiga, Ubiquity, Evolution, and the GIMP, saving me around 200MB. If you are comfortable without a command-line environment, you might want to get rid of GNOME and Xorg; if you do that, you need not install GParted and the other graphical tools in the next section. In any case, the goal is to get rid of large applications. To sort all of the installed packages by size, run the following command in the chrooted environment:</p>
<pre>dpkg-query -W --showformat='${Installed-Size} ${Package}\n' | sort -nr | less</pre>
<p>You can use apt-get to remove a package. Use it with the <code>--purge</code> argument to get rid of configuration files. The sudo command won&#8217;t work in the chroot, and therefore should be omitted:</p>
<p><code>apt-get remove --purge <em>package-name</em></code></p>
<h3>Add rescue applications</h3>
<p>Once you have removed all of the unneeded applications from the live CD you can start to add rescue and recovery applications. Generally, rescue CDs include a variety of disk utilities and security tools, as well as networking tools to find support and access outside machines. You may not want all of the applications I mention, and you can add some that I don&#8217;t. This is your personal boot CD, and should be configured as you see fit. For ideas about what to include on your CD, you might want to check out some of the prebuilt rescue distributions mentioned in the sidebar.</p>
<p>You can install packages from the repositories using apt-get, but you must add the multiverse repository to your /etc/apt/sources.list file:</p>
<pre>
deb http://us.archive.ubuntu.com/ubuntu/ hardy main multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy main multiverse
</pre>
<p>A disk partition tool is the staple of a mature boot disk. Fortunately, the Ubuntu live CD comes with <a href="http://gparted.sourceforge.net/">GParted</a>, the GNOME Partition Editor, so adding a package isn&#8217;t required. If you chose to forgo a graphical environment, you should make sure that parted is installed instead to handle partition tables from the command line. If you accidentally delete a partition, installing a program like <a href="http://www.cgsecurity.org/wiki/TestDisk">testdisk</a> can help you recover it, as well as provide a few other basic disk tools. If you are using the ext2 filesystem type and you accidentally delete a file, you&#8217;ll find the <a href="http://e2undel.sourceforge.net/">e2undel</a> package helpful in recovering it. If you need to copy an entire partition from a dying disk, or just want to make a backup, <a href="http://www.partimage.org/Main_Page">partimage</a> is the way to go. You can also use it to restore a partition with a previously made backup.</p>
<p>If you plan to use this disc with Windows machines, you will want to install antivirus and rootkit tools. <a href="http://www.clamav.net/">Clamscan</a> provides quick and easy virus scan with a command-line-based update tool. <a href="http://www.chkrootkit.org/">Chkrootkit</a> is a scanner to find and remove rootkits that could be hiding in your computer. You can use <a href="http://www.sleuthkit.org/">sleuthkit</a> to conduct analysis of your filesystem and browse through hidden files.</p>
<p>After you finish adding packages, clean up your temporary data and unmount the environment:</p>
<pre>apt-get clean
rm -rf /tmp/*
rm /etc/resolv.conf
umount /proc
umount /sys
exit
sudo umount edit/dev
</pre>
<p>Now, regenerate the manifest (which is basically a list of installed packages) and copy in into the correct directory:</p>
<pre>
chmod +w extract-cd/casper/filesystem.manifest
sudo chroot edit dpkg-query -W --showformat='${Package} ${Version}\n' &gt; extract-cd/casper/filesystem.manifest
sudo cp extract-cd/casper/filesystem.manifest extract-cd/casper/filesystem.manifest-desktop
sudo sed -i '/ubiquity/d' extract-cd/casper/filesystem.manifest-desktop
</pre>
<p>Compress the filesystem to squeeze it onto a disc:</p>
<pre>
sudo rm extract-cd/casper/filesystem.squashfs
sudo mksquashfs edit extract-cd/casper/filesystem.squashfs -nolzma
</pre>
<p>And finally, create the ISO file:</p>
<pre>
cd extract-cd
sudo mkisofs -r -V &quot;$IMAGE_NAME&quot; -cache-inodes -J -l -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o ../ubuntu-8.04-desktop-i386.iso
</pre>
<p>Once the image file is created, you need to burn it to a disc. You can do that pretty easily with K3b or Brasero. If you want, you can do it from the command line:</p>
<pre>
cdrecord dev=/dev/cdrom ubuntu-8.04-desktop-i386.iso
</pre>
<p>Once the CD is finished burning, you should be able to put it into your optical drive and boot into the environment you just created.</p>
<p>This should give you more than enough information to start building your ultimate custom rescue CD. Add the packages and tools you need, and hopefully you&#8217;ll never be at a loss the next time your computer has a problem during startup.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cherrysave.com/linux/build-your-own-custom-ubuntu-live-cd/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>JQuery for Beginners: Using Simple JQuery Effects for a Rockstar User Interface</title>
		<link>http://www.cherrysave.com/jquery/jquery-for-beginners-using-simple-jquery-effects-for-a-rockstar-user-interface/</link>
		<comments>http://www.cherrysave.com/jquery/jquery-for-beginners-using-simple-jquery-effects-for-a-rockstar-user-interface/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 16:30:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JQuery]]></category>

		<guid isPermaLink="false">http://www.cherrysave.com/?p=254</guid>
		<description><![CDATA[JQuery is a Javascript library that attempts to make things like editing styles, creating animations, and using AJAX much easier than it has been in the past. Let's be honest: Javascript can very occasionally be a nasty code to program with, and JQuery attempts to tone it down a little bit and make it much more manageable.]]></description>
			<content:encoded><![CDATA[<p>JQuery is a Javascript library that attempts to make things like editing styles, creating animations, and using AJAX much easier than it has been in the past. Let's be honest: Javascript can very occasionally be a nasty code to program with, and JQuery attempts to tone it down a little bit and make it much more manageable.</p><p><a href="http://api.tweetmeme.com/share?url=http://www.cherrysave.com/jquery/jquery-for-beginners-using-simple-jquery-effects-for-a-rockstar-user-interface/"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://www.cherrysave.com/jquery/jquery-for-beginners-using-simple-jquery-effects-for-a-rockstar-user-interface/" height="61" width="51" /></a></p><p>This is the second part of my series on JQuery for Beginners. Be sure to check out the <a href="http://www.cherrysave.com/programming/jquery-for-beginners-selectors-hierarchies-and-attributes-oh-my/">first part of the JQuery tutorial series</a> where I introduce the framework and show readers show to use selectors, hierarchies, and attributes.</p>
<h3>Simple Effects</h3>
<p>One of my favorite parts about the JQuery library is the built-in effects, which can be tied into the events manager to animate the appearance and disappearance of elements in the web page. That is, you can make things like <code>div</code> and <code>a</code> elements slide or fade with ease.</p>
<p>So, the first thing we need to do is create a link and a paragraph to play with. My goal is to make the paragraph do things (i.e. slide and fade) when users click on the link. The most important thing is use fill in the id attribute of the paragraph and the link. Without it, JQuery won&#8217;t as easily know which elements we are referring to.</p>
<pre>
&lt;p id=&quot;paragraph&quot;&gt;This is the demonstration paragraph.&lt;/p&gt;
&lt;a href=&quot;#&quot; id=&quot;link&quot;&gt;Click this to do things!&lt;/a&gt;
</pre>
<p>Now, we&#8217;ll get started with the JQuery. First, we want to declare a function that runs right when the page loads. We do that with <code>$(document).ready</code>. After that, we need to select the link and drop it into a function. We call the link with <code>$("#link")</code>, and make it react to <code>click</code>. Then, we select the paragraph, and do something with it. Here, we&#8217;ll hide it. Here&#8217;s the source code:</p>
<pre>
$(document).ready(function(){
    $(&quot;#link&quot;).click(function () {
      $(&quot;#paragraph&quot;).hide();
    });
  });
</pre>
<h3>Slides, Fades, and Toggling</h3>
<p>As soon as the page loads, JQuery finds the link and attaches an action to it when the link is clicked. That action, located inside the function, will <b>hide</b> the paragraph called <code>#paragraph</code>. Using the same format, you can swap in a whole variety of effects using the same pattern. For instance, you can make the paragraph fade out with the <code>fadeOut</code> method. Here&#8217;s some good ol&#8217; source code for you:</p>
<pre>
$(document).ready(function(){
    $(&quot;#link&quot;).click(function () {
      $(&quot;#paragraph&quot;).fadeOut();
    });
  });
</pre>
<p>Here&#8217;s the full list of effects you can use like this:</p>
<ul>
<li>show</li>
<li>hide</li>
<li>toggle</li>
<li>slideDown</li>
<li>slideUp</li>
<li>slideToggle</li>
<li>fadeIn</li>
<li>fadeOut</li>
</ul>
<h3>Speed and Callbacks</h3>
<p>But you want more fine-tuned control, don&#8217;t you? Well, you can do two more things with these effects methods. First, you can pass a first argument that controls the <b>speed</b> of the animation. This can use one of three predefined speeds (such as <code>slow</code>, <code>normal</code>, and <code>fast</code>) or a speed defined in milliseconds (134 milliseconds, and not a millisecond more). The other thing you can do is add a callback. A callback is a function that will be called as soon as the effect is complete. For instance, you can make a fast fade out that alerts you when it is done:</p>
<pre>
$(document).ready(function(){
    $(&quot;#link&quot;).click(function () {
      $(&quot;#paragraph&quot;).fadeOut(&quot;slow&quot;, function () {
         alert(&quot;I'm done!&quot;);
    });
    });
  });
</pre>
<h3>Custom Effects</h3>
<p>So you want to add a little bit more customization that you have with the built-in effects? Well, then it&#8217;s time to make a custom animation. I&#8217;m going to omit the <code>ready</code> and the <code>click</code> function, so refer to the code samples above if you are still murky on the idea. In general, the custom animation method takes the following form:</p>
<pre>
$(&quot;#paragraph&quot;).animate({width: 50%, opacity: 0.5}, &quot;slow&quot;, &quot;swing&quot;);
</pre>
<p>The first attribute in the brackets is a series of styles you want to animate to. These are based on CSS. In my example, I&#8217;m going to increase the size of the paragraph by 50 percent and I&#8217;m going to half the opacity. The next parameter is the duration; here, I&#8217;m going to resize and dim slowly. The last parameter is easing. Easing, in a nutshell, controls the evenness of the animation. <code>linear</code> will make it the same speed the entire time. <code>swing</code> will make the animation faster toward the end. You can also include an optional callback as the last function.</p>
<h3>I Hate Animations</h3>
<p>One problem is that animations tend to destroy the notion of simple web design. Yes, they can add a more natural feel to the UI, but they can also make things a bit too flashy for a minimalist. Therefore, you may want to give users the option of disabling all animations. Anytime the following method is called, all animations will cease to work.</p>
<pre>
jQuery.fx.off = true;
</pre>
<p>Of course, you can turn it back on by setting it to <code>false</code>.</p>
<h3>Wrap Up</h3>
<p>I hope you find this quick premier on JQuery effects useful. Please, add any corrections and suggestions to the comments. And, of course, <a href="http://www.twitter.com/simplrdesgn">follow me on Twitter</a> to get notified of the next JQuery installment.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cherrysave.com/jquery/jquery-for-beginners-using-simple-jquery-effects-for-a-rockstar-user-interface/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
