<?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>jc-designs.net &#187; google</title>
	<atom:link href="http://jc-designs.net/blog/tag/google/feed/" rel="self" type="application/rss+xml" />
	<link>http://jc-designs.net/blog</link>
	<description>jc-designs blog</description>
	<lastBuildDate>Mon, 21 May 2012 19:32:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Google Font API&#8230;.holy AWESOME!</title>
		<link>http://jc-designs.net/blog/2010/05/google-font-api-holy-awesome/</link>
		<comments>http://jc-designs.net/blog/2010/05/google-font-api-holy-awesome/#comments</comments>
		<pubDate>Wed, 19 May 2010 21:24:45 +0000</pubDate>
		<dc:creator>jcDesigns</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://jc-designs.net/blog/?p=299</guid>
		<description><![CDATA[Ok, for those of you who don&#8217;t subscribe to net.tutsplus.com, or haven&#8217;t heard the news, Google has released Google Font API Beta. You can watch the video tutorial by Jeffrey Way here. Here is the quick and dirty of it though. This works in a the same way as @font-face does. 1) Go here (http://code.google.com/apis/webfonts/). [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, for those of you who don&#8217;t subscribe to <a href="http://net.tutsplus.com">net.tutsplus.com</a>, or haven&#8217;t heard the news, Google has released Google Font API Beta. You can watch the video tutorial by Jeffrey Way <a href="http://net.tutsplus.com/tutorials/html-css-techniques/quick-tip-google-fonts-api-youre-going-to-love-this/">here</a>.</p>
<p>Here is the quick and dirty of it though. This works in a the same way as @font-face does.</p>
<p>1) <a href="http://code.google.com/apis/webfonts/">Go here</a> (http://code.google.com/apis/webfonts/).<br />
2) Click on font-directory beta button<br />
3) Find a font you like and click on the &#8216;Click to embed&#8230;&#8217; link<br />
4) Click on get the code<br />
5) Copy and paste the link tag into your document&#8217;s head</p>
<p>Example:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;color: #439AD0; font-weight: bold;">&lt;link href='http://fonts.googleapis.com/css?family=Cantarell' rel='stylesheet' type='text/css'&gt;</pre></div></div>

<p>6) Add the font-family to the style sheet</p>
<p>Example:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;color: #439AD0; font-weight: bold;">h1 <span style="color: #00AA00;color: #439AD0;">&#123;</span> <span style="color: #000000; font-weight: bold;color: #439AD0;">font-family</span><span style="color: #00AA00;color: #439AD0;">:</span> <span style="color: #ff0000;color: #439AD0;">'Cantarell'</span><span style="color: #00AA00;color: #439AD0;">,</span> arial<span style="color: #00AA00;color: #439AD0;">,</span> <span style="color: #993333;color: #439AD0;">serif</span><span style="color: #00AA00;color: #439AD0;">;</span> <span style="color: #00AA00;color: #439AD0;">&#125;</span></pre></div></div>

<p>And you are done.</p>
<p>This is in beta right now, so they only have about 20 fonts right now. So at the moment, I will still be using Fontsquirrel.com(http://www.fontsquirrel.com/) and @font-face. But once Google&#8217;s Font Directy grows, this will probably be my go to place for custom fonts.</p>
<div class="jBox">
<h2 class="jq">jQuery junkBox</h2>
<p><strong>.text();</strong><br />
This method, without the value, returns the text within the matched element (stips out the html). With the value, it will insert the text into the element.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;color: #439AD0; font-weight: bold;">$<span style="color: #009900;color: #439AD0;">&#40;</span><span style="color: #3366CC;color: #439AD0;">'p'</span><span style="color: #009900;color: #439AD0;">&#41;</span>.<span style="color: #660066;">text</span><span style="color: #009900;color: #439AD0;">&#40;</span><span style="color: #3366CC;color: #439AD0;">'Hello from The Web Machine'</span><span style="color: #009900;color: #439AD0;">&#41;</span><span style="color: #339933;color: #439AD0;">;</span></pre></div></div>

</div>
 <img src="http://jc-designs.net/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=299" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://jc-designs.net/blog/2010/05/google-font-api-holy-awesome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

