<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Pete Schuster</title>
	
	<link>http://peteschuster.com</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Fri, 11 May 2012 12:53:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/PeteSchuster" /><feedburner:info uri="peteschuster" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Semantic HTML5 for Products in eCommerce</title>
		<link>http://feedproxy.google.com/~r/PeteSchuster/~3/LkZBzaUM_78/</link>
		<comments>http://peteschuster.com/2012/05/semantic-html5-for-products-in-ecommerce/#comments</comments>
		<pubDate>Fri, 11 May 2012 12:53:13 +0000</pubDate>
		<dc:creator>Pete Schuster</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Front End Development]]></category>
		<category><![CDATA[ecommerce]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[schema.org]]></category>
		<category><![CDATA[semantic]]></category>

		<guid isPermaLink="false">http://peteschuster.com/?p=3415</guid>
		<description><![CDATA[About to kickoff a big eCommerce build at work so I decided to do a bit of research on my...]]></description>
			<content:encoded><![CDATA[<p>About to kickoff a big eCommerce build at work so I decided to do a bit of research on my own into semantic markup, etc for products. Doesn&#8217;t seem to be too much info out there about it, or maybe I was just looking in the wrong place. I decided to use <a href="http://schema.org" target="_blank">schema.org</a> for microdata, and I&#8217;d probably be sure do include some OpenGraph data as well for Facebook. Below is what I came up with for a standard &#8220;product&#8221; in an eCommerce store.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;article itemscope itemtype<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://schema.org/Product&quot;</span>&gt;</span>
&nbsp;
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span> itemprop<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;url&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#image&quot;</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#title&quot;</span> <span style="color: #000066;">width</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span> <span style="color: #000066;">height</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span> itemprop<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;image&quot;</span> <span style="color: #66cc66;">/</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span>
&nbsp;
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h1</span> itemprop<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;name&quot;</span>&gt;</span>Companion Cube<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h1</span>&gt;</span>
&nbsp;
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;description&quot;</span> itemprop<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;description&quot;</span>&gt;</span>
&nbsp;
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>The Companion Cube is your best friend and it loves you very much.<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
&nbsp;
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span><span style="color: #808080; font-style: italic;">&lt;!--/end .description--&gt;</span>
&nbsp;
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;rating&quot;</span> itemscope itemtype<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://schema.org/AggregateRating&quot;</span>&gt;</span>
&nbsp;
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Rating: <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">span</span> itemprop<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;ratingValue&quot;</span>&gt;</span>10<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">span</span>&gt;</span> out of <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">span</span> itemprop<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;bestRating&quot;</span>&gt;</span>10<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">span</span>&gt;</span> by <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">span</span> itemprop<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;reviewCount&quot;</span>&gt;</span>256<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">span</span>&gt;</span> customers<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
&nbsp;
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span><span style="color: #808080; font-style: italic;">&lt;!--/end .rating--&gt;</span>
&nbsp;
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;offer&quot;</span> itemscope itemtype<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://schema.org/Offer&quot;</span>&gt;</span>
&nbsp;
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">span</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;price&quot;</span> itemprop<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;price&quot;</span>&gt;</span>$100.00<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">span</span>&gt;</span>
&nbsp;
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">span</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;availability&quot;</span> itemprop<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;availability&quot;</span>&gt;</span>In stock!<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">span</span>&gt;</span>
&nbsp;
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span><span style="color: #808080; font-style: italic;">&lt;!--/end .offer--&gt;</span>
&nbsp;
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Add to Cart&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">span</span>&gt;</span>Add to Cart<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">span</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span>
&nbsp;
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">ol</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;review_list&quot;</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
			<span style="color: #009900;">&lt;article itemscoop itemtype<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://schema.org/Review&quot;</span>&gt;</span>
&nbsp;
				<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h1</span> itemprop<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;name&quot;</span>&gt;</span>LOVED IT!!!<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h1</span>&gt;</span>
				<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Posted by: <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">cite</span> itemprop<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;author&quot;</span>&gt;</span>Gladis<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">cite</span>&gt;</span> at <span style="color: #009900;">&lt;time <span style="color: #000066;">datetime</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> pubdate itemprop<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;datePublished&quot;</span>&gt;</span>Sept. 1<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>time&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
&nbsp;
				<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;review_content&quot;</span> itemprop<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;description&quot;</span>&gt;</span>
&nbsp;
					<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Loved it!<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
&nbsp;
				<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span><span style="color: #808080; font-style: italic;">&lt;!--/end .review_content--&gt;</span>
&nbsp;
			<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>article&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
			<span style="color: #009900;">&lt;article itemscoop itemtype<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://schema.org/Review&quot;</span>&gt;</span>
&nbsp;
				<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h1</span> itemprop<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;name&quot;</span>&gt;</span>LOVED IT!!!<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h1</span>&gt;</span>
				<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Posted by: <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">cite</span> itemprop<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;author&quot;</span>&gt;</span>Gladis<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">cite</span>&gt;</span> at <span style="color: #009900;">&lt;time <span style="color: #000066;">datetime</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> pubdate itemprop<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;datePublished&quot;</span>&gt;</span>Sept. 1<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>time&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
&nbsp;
				<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;review_content&quot;</span> itemprop<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;description&quot;</span>&gt;</span>
&nbsp;
					<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Loved it!<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
&nbsp;
				<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span><span style="color: #808080; font-style: italic;">&lt;!--/end .review_content--&gt;</span>
&nbsp;
			<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>article&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
			<span style="color: #009900;">&lt;article itemscoop itemtype<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://schema.org/Review&quot;</span>&gt;</span>
&nbsp;
				<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h1</span> itemprop<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;name&quot;</span>&gt;</span>LOVED IT!!!<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h1</span>&gt;</span>
				<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Posted by: <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">cite</span> itemprop<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;author&quot;</span>&gt;</span>Gladis<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">cite</span>&gt;</span> at <span style="color: #009900;">&lt;time <span style="color: #000066;">datetime</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> pubdate itemprop<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;datePublished&quot;</span>&gt;</span>Sept. 1<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>time&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
&nbsp;
				<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;review_content&quot;</span> itemprop<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;description&quot;</span>&gt;</span>
&nbsp;
					<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Loved it!<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
&nbsp;
				<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span><span style="color: #808080; font-style: italic;">&lt;!--/end .review_content--&gt;</span>
&nbsp;
			<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>article&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">ol</span>&gt;</span>
&nbsp;
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>article&gt;</span></pre></td></tr></table></div>

<p>Obviously you don&#8217;t need to use all of the elements I added, but its easier to strip them out, than add them back in. Let me know what you think! Do you have any good examples of semantic HTML5 eCommerce stores?</p>
<img src="http://feeds.feedburner.com/~r/PeteSchuster/~4/LkZBzaUM_78" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://peteschuster.com/2012/05/semantic-html5-for-products-in-ecommerce/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://peteschuster.com/2012/05/semantic-html5-for-products-in-ecommerce/</feedburner:origLink></item>
		<item>
		<title>You’re Only as Good as Your Team</title>
		<link>http://feedproxy.google.com/~r/PeteSchuster/~3/CYPV3bLn7DM/</link>
		<comments>http://peteschuster.com/2012/05/youre-only-as-good-as-your-team/#comments</comments>
		<pubDate>Thu, 03 May 2012 13:08:27 +0000</pubDate>
		<dc:creator>Pete Schuster</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[o3 world]]></category>
		<category><![CDATA[philadelphia]]></category>
		<category><![CDATA[team work]]></category>
		<category><![CDATA[tough mudder]]></category>

		<guid isPermaLink="false">http://peteschuster.com/?p=3401</guid>
		<description><![CDATA[We&#8217;ve been really busy at O3 World. Bigger and better projects are piling in, and I&#8217;m glad we have such...]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve been really busy at O3 World. Bigger and better projects are piling in, and I&#8217;m glad we have such a great team to help tackle it all. A lot of hard work from a lot of different people goes into making a successful web project. If it wasn&#8217;t for great Project Managers, the other members of the team would be tied down to client interactions, and project goals. If it wasn&#8217;t for great designers, developers would be lost navigating unorganized PSDs, and designs full of bad practices. At O3 World I have the pleasure of working with some really great people who are not only great at what they do, but they make my job easier by going above and beyond what is expected of them. From staying late and coming early, to maintaining high moral and enthusiasm, the people you work with make it easier to get up in the morning.</p>
<p>On a very similar note, some of my co-workers and I will be participating in the <a href="http://toughmudder.com/" target="_blank">Tough Mudder</a> on May 13th. The team consists of <a href="http://chrisloringer.com/2012/" target="_blank">Chris Loringer</a>, <a href="http://justinhandler.com/" target="_blank">Justin Handler</a>, <a href="https://twitter.com/#!/galifianakisz" target="_blank">Zach Galifianakis</a>, <a href="https://twitter.com/#!/keitho3world" target="_blank">Keith Scandone</a>, and <a href="https://twitter.com/#!/gadsbyo3world" target="_blank">Mike &#8220;Johnny Cupcakes&#8221; Gadsby</a>. We&#8217;ve been training for the past couple of months leading up to our 12 mile race filled with obstacles constructed by British Special Forces. From running, swimming, climbing, and barrelling through an electrified wire field, we, as a team, have been preparing ourselves to kick some ass. With the race quickly approaching, we&#8217;ve been pushing each other more and more. Calling each other out for drinking beers, eating fatty foods, etc. All of this team work and communication overflows into our day-to-day, and has really strengthened our relationships. I&#8217;m looking forward to race day, and for what comes next.</p>
<img src="http://feeds.feedburner.com/~r/PeteSchuster/~4/CYPV3bLn7DM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://peteschuster.com/2012/05/youre-only-as-good-as-your-team/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://peteschuster.com/2012/05/youre-only-as-good-as-your-team/</feedburner:origLink></item>
		<item>
		<title>Replacing Respond JS with Sass</title>
		<link>http://feedproxy.google.com/~r/PeteSchuster/~3/4eT7mG-LGXQ/</link>
		<comments>http://peteschuster.com/2012/05/replacing-respond-js-with-sass/#comments</comments>
		<pubDate>Tue, 01 May 2012 13:15:52 +0000</pubDate>
		<dc:creator>Pete Schuster</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Front End Development]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[ie7]]></category>
		<category><![CDATA[ie8]]></category>
		<category><![CDATA[respond.js]]></category>
		<category><![CDATA[sass]]></category>

		<guid isPermaLink="false">http://peteschuster.com/?p=3395</guid>
		<description><![CDATA[So you&#8217;re building some really cutting/bleeding edge web sites. You&#8217;re using HTML5, CSS3, and media quieries to serve your users...]]></description>
			<content:encoded><![CDATA[<p>So you&#8217;re building some really cutting/bleeding edge web sites. You&#8217;re using HTML5, CSS3, and media quieries to serve your users some fast, repsonsive, and beautiful code/websites. Your life is great, and you love the work you&#8217;re producing&#8230; Then you have to make sure your code is working in legacy browsers like IE7 and 8&#8230;</p>
<p>So you throw some polyfils like <a href="http://modernizr.com/" target="_blank">Modernizr</a> at these legacy browsers&#8230; and now they understand HTML5.</p>
<p>You used progressive enhancement from the beginning, so the CSS3 you&#8217;re using looks fine in browsers that don&#8217;t understand it.</p>
<p>And finally, you fired up some virtual machines and checked to make sure everything is working fine. Yay! <i>Now</i> you&#8217;re done right? Nope.</p>
<p>Turns out the <a href="http://scottjehl.com/" target="_blank">Scott Jehl&#8217;s</a> <a href="https://github.com/scottjehl/Respond" target="_blank">Respond.js</a> polyfil you&#8217;re using to make sure IE7 and 8 understand media queries is causing some weird bugs. You added icon fonts to the site for high retina displays, but you&#8217;re getting some weird behavior ever since you added Respond.js to the site&#8230; So you try doing some Google searchs, checkout <a href="http://stackoverflow.com/" target="_blank">StackOverflow</a>, or look at the <a href="https://github.com/scottjehl/Respond/issues" target="_blank">Issues</a> in the Github repo&#8230; but still nothing&#8230; Did you really expect results for &#8220;IE8, respond.js, icon font, hidden on hover??&#8221; Let&#8217;s get real for a sec&#8230; Do we really need to make sure that IE7 and 8 are responding to our media queries? Would it just be fine if those users would simply be served the desktop site? Of course! There&#8217;s no need to spend tons of development time trying to debug issues that are going to effect less than 1% of your audience. So how can we not use Respond.js or similar polyfil, and still maintain one stylesheet? Enter <a href="http://sass-lang.com/" target="_blank">Sass</a>!</p>
<h3>Example</h3>
<p>The first code example below is how you could setup your mobile first stylesheet for all browsers.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/* All your mobile first css */</span>
&nbsp;
<span style="color: #a1a100;">@media only screen and (min-width: 768px) { </span>
&nbsp;
	<span style="color: #a1a100;">@import '_media768.scss';</span>
&nbsp;
<span style="color: #00AA00;">&#125;</span>
<span style="color: #a1a100;">@media only screen and (min-width: 1024px) { </span>
&nbsp;
	<span style="color: #a1a100;">@import '_media1024.scss';</span>
&nbsp;
<span style="color: #00AA00;">&#125;</span>
<span style="color: #a1a100;">@media only screen and (min-width: 1200px) { </span>
&nbsp;
	<span style="color: #a1a100;">@import '_media1200.scss';</span>
&nbsp;
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>The code example below is how you can setup your SCSS file for LTE IE8.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #a1a100;">@import '_media768.scss';</span>
<span style="color: #a1a100;">@import '_media1024.scss';</span>
<span style="color: #a1a100;">@import '_media1200.scss';</span></pre></td></tr></table></div>

<p>Include the file above in a conditional comment for LTE IE8 users, and presto. Those users will now see the desktop version of the site. This, of source, adds to the weight of the page because they would esstenially be downloading the same styles twice&#8230; so it may not be the best option for every site.</p>
<p>So what do you think? At what point to you draw the line and stop supporting these legacy browsers? At what point can you consider a site is &#8220;optimized&#8221; for?</p>
<img src="http://feeds.feedburner.com/~r/PeteSchuster/~4/4eT7mG-LGXQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://peteschuster.com/2012/05/replacing-respond-js-with-sass/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://peteschuster.com/2012/05/replacing-respond-js-with-sass/</feedburner:origLink></item>
		<item>
		<title>CSS Button Patterns: Picto and Icon Fonts</title>
		<link>http://feedproxy.google.com/~r/PeteSchuster/~3/AQjjZRvYbic/</link>
		<comments>http://peteschuster.com/2012/04/css-button-patterns-picto-and-icon-fonts/#comments</comments>
		<pubDate>Thu, 12 Apr 2012 16:34:22 +0000</pubDate>
		<dc:creator>Pete Schuster</dc:creator>
				<category><![CDATA[Front End Development]]></category>
		<category><![CDATA[css buttons]]></category>
		<category><![CDATA[icon font]]></category>
		<category><![CDATA[picto font]]></category>

		<guid isPermaLink="false">http://peteschuster.com/?p=3380</guid>
		<description><![CDATA[Last week I published an article on the design pattern I&#8217;ve been using for CSS buttons. I wanted to add...]]></description>
			<content:encoded><![CDATA[<p>Last week I published an <a href="http://peteschuster.com/2012/04/css-button-design-patterns/">article</a> on the design pattern I&#8217;ve been using for CSS buttons. I wanted to add to it further by diving into a new practice that has been getting some attention in the web world lately, Icon or Picto Fonts. With the limited support for SVG graphics currently and the increasingly demand for scalable graphics with responsive designs and higher and higher pixel dense displays, Picto fonts are a great way to get started. Typically with just icons in an image sprite, you&#8217;d need to include two or three different versions of the sprite depending on the pixel density of the display and use media queries to swap them out. Now with picto fonts, there&#8217;s no need. <a href="http://peteschuster.com/demos/buttonDemoPart2.html">Check out the demo first</a>, then follow along below.</p>
<h3>Example Output Image</h3>
<p><img src="http://peteschuster.com/wp-content/uploads/2012/04/picto.png" alt="" title="picto" width="449" height="29" class="alignnone size-full wp-image-3382" /></p>
<h3>HTML</h3>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;button blue picto picto_heart&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">span</span>&gt;</span>Basic Button<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">span</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;button green picto picto_thumbs_up&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">span</span>&gt;</span>Basic Button<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">span</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;button yellow picto picto_thumbs_down&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">span</span>&gt;</span>Basic Button<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">span</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span></pre></td></tr></table></div>

<p>Pretty much the same markup as the previous examples, the only difference is the new class &#8220;picto&#8221; and &#8220;picto_xxx.&#8221;</p>
<h3>CSS</h3>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code"><pre class="css" style="font-family:monospace;">a<span style="color: #6666ff;">.picto</span> span 			<span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">padding-left</span><span style="color: #00AA00;">:</span> <span style="color: #933;">2em</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> inline-<span style="color: #993333;">block</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
a<span style="color: #6666ff;">.picto</span> span<span style="color: #3333ff;">:before 		</span><span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1em</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">-.25em</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1.5em</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> inline-<span style="color: #993333;">block</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span> <span style="color: #ff0000;">'ModernPictogramsNormal'</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">content</span><span style="color: #00AA00;">:</span> <span style="color: #ff0000;">'j'</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">text-transform</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
a<span style="color: #6666ff;">.picto_thumbs_up</span> span<span style="color: #3333ff;">:before 	</span><span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">content</span><span style="color: #00AA00;">:</span> <span style="color: #ff0000;">'l'</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
a<span style="color: #6666ff;">.picto_thumbs_down</span> span<span style="color: #3333ff;">:before </span><span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">content</span><span style="color: #00AA00;">:</span> <span style="color: #ff0000;">'L'</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>The first line of CSS is a lot like the icon example, just have to pad enough room for the pictogram. Next you need to use the pseudo class :before to add characters in the special pictogram font. After you have the first rule established, the following rules just need to swap out the characters, just like the background position in the icon example. Depending on what picto font you use, you might need to adjust the top position. Use EM&#8217;s not PX&#8217;s so it can scale.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #a1a100;">@font-face {</span>
&nbsp;
    <span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span> <span style="color: #ff0000;">'ModernPictogramsNormal'</span><span style="color: #00AA00;">;</span>
    src<span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'fonts/modernpics-webfont.eot'</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
    src<span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'fonts/modernpics-webfont.eot?#iefix'</span><span style="color: #00AA00;">&#41;</span> format<span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'embedded-opentype'</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">,</span>
         <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'fonts/modernpics-webfont.woff'</span><span style="color: #00AA00;">&#41;</span> format<span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'woff'</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">,</span>
         <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'fonts/modernpics-webfont.ttf'</span><span style="color: #00AA00;">&#41;</span> format<span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'truetype'</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">,</span>
         <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'fonts/modernpics-webfont.svg#ModernPictogramsNormal'</span><span style="color: #00AA00;">&#41;</span> format<span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'svg'</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">normal</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">font-style</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">normal</span><span style="color: #00AA00;">;</span>
&nbsp;
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>Don&#8217;t forget to include your font. I found this font with the help of <a href="http://css-tricks.com/flat-icons-icon-fonts/" target="_blank">CSS Tricks icon font roundup</a> on <a href="http://www.fontsquirrel.com/fonts/modern-pictograms" target="_blank">Font Squirel</a>. Good thing about this font&#8230; it was free! and Font Squirrel has an <a href="http://www.fontsquirrel.com/fontface/generator" target="_blank">@font-face generator</a> that helps you create all the formats you needs, and will even give you example CSS for them!</p>
<p>So that&#8217;s it! None you have scalable buttons for your responsive builds. Have you taken advantage of this technique yet in production? Did you run into any gotchas?</p>
<img src="http://feeds.feedburner.com/~r/PeteSchuster/~4/AQjjZRvYbic" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://peteschuster.com/2012/04/css-button-patterns-picto-and-icon-fonts/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://peteschuster.com/2012/04/css-button-patterns-picto-and-icon-fonts/</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic page generated in 0.328 seconds. --><!-- Cached page generated by WP-Super-Cache on 2012-05-11 08:59:17 -->

