<?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>SublimeSite</title>
	<atom:link href="http://www.sublimesite.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sublimesite.com</link>
	<description>Resources for webdesigners and developers</description>
	<lastBuildDate>Wed, 10 Mar 2010 19:27:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>10 CSS Hacks For Browser Detection</title>
		<link>http://www.sublimesite.com/10-css-hacks-for-browser-detection/</link>
		<comments>http://www.sublimesite.com/10-css-hacks-for-browser-detection/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 19:27:37 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[CSS/HTML]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[css hacks]]></category>
		<category><![CDATA[detect]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[modern browsers]]></category>

		<guid isPermaLink="false">http://www.sublimesite.com/?p=88</guid>
		<description><![CDATA[Not all browsers are created equal, CSS is interpret different ways, what looks perfect in one browser may not look to hot in another. While I do not recommend relying on hacks, but instead developing your code in such a way to not need them. Sometimes there are situations where applying styles to certain browsers [...]]]></description>
			<content:encoded><![CDATA[<p>Not all browsers are created equal, CSS is interpret different ways, what looks perfect in one browser may not look to hot in another. While I do not recommend relying on hacks, but instead developing your code in such a way to not need them. Sometimes there are situations where applying styles to certain browsers is needed. <span id="more-88"></span></p>
<pre class="brush:css">
/*IE 7 and Modern Browsers*/
html>body #header {height: 25px;}

/*Modern Browsers (not IE 7)*/
html>/**/body #header {height: 25px;}

/*Firefox*/
#selector[id= header] {height: 25px;}

/*Hide from IE-Mac*/
/* Hide from IE-Mac \*/
#header {height: 25px;}
/* End hide */

/*IE 5*/
#header {height: 25px; height /**/:/**/ 50px;}
/*Second value will be ignored my IE 5 but not others*/

/*IE 6 and Below*/
* html #header {height: 25px;}
#header {_height: 25px;}

/*IE 7*/
*:first-child+html #header {height: 25px;}

/*Opera 9 and Below*/
html:first-child #header {height: 25px;}

/*Safari*/
html[xmlns*=""] body:last-child #header {height: 25px;}
</pre>
<p>Know any CSS hacks for browser detection that weren&#8217;t mentioned? Please share them!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sublimesite.com/10-css-hacks-for-browser-detection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Parsing XML With jQuery</title>
		<link>http://www.sublimesite.com/parsing-xml-with-jquery/</link>
		<comments>http://www.sublimesite.com/parsing-xml-with-jquery/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 09:20:58 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://www.sublimesite.com/?p=49</guid>
		<description><![CDATA[XML is a huge part of AJAX, considering that AJAX is an acronym for Asynchronous JavaScript and XML. jQuery is no doubt one of the most powerful and popular JavaScript libraries out there. jQuery has made parsing XML a lot easier, faster, and cleaner.
The XML
The XML that I’m going to parse is a small phonebook [...]]]></description>
			<content:encoded><![CDATA[<p>XML is a huge part of AJAX, considering that AJAX is an acronym for Asynchronous JavaScript and XML. jQuery is no doubt one of the most powerful and popular JavaScript libraries out there. jQuery has made parsing XML a lot easier, faster, and cleaner.<span id="more-49"></span></p>
<h3>The XML</h3>
<p>The XML that I’m going to parse is a small phonebook with three people in it. Each person has a name, email, phone number, and an address. We are going to read in the information of each person and display them. To find out more about XML syntax see W3School’s <a href="http://www.w3schools.com/xml/xml_syntax.asp">XML Syntax</a>.</p>
<pre class="brush:xml">
&lt;?xml version=&quot;1.0&quot;?&gt;

&lt;phonebook&gt;

	&lt;person&gt;
		&lt;name&gt;Joe A. Doyle&lt;/name&gt;
		&lt;email&gt;joe@example.com&lt;/email&gt;
		&lt;phone_number&gt;901-795-3338&lt;/phone_number&gt;
		&lt;address&gt;3102 Burton Avenue Memphis, TN 38118&lt;/address&gt;
	&lt;/person&gt;

	&lt;person&gt;
		&lt;name&gt;Michael D. Montgomery&lt;/name&gt;
		&lt;email&gt;MichaelDMontgomery@example.com&lt;/email&gt;
		&lt;phone_number&gt;907-793-5822&lt;/phone_number&gt;
		&lt;address&gt;3295 Kidd Avenue Anchorage, AK 99501&lt;/address&gt;
	&lt;/person&gt;

	&lt;person&gt;
		&lt;name&gt;Linda D. Serrano&lt;/name&gt;
		&lt;email&gt;LindaDSerrano@example.com&lt;/email&gt;
		&lt;phone_number&gt;978-793-2440&lt;/phone_number&gt;
		&lt;address&gt; 3725 Christie Way Westborough, MA 01581&lt;/address&gt;
	&lt;/person&gt;

&lt;/phonebook&gt;
</pre>
<h3>Getting Start with jQuery</h3>
<p>Let’s start off by including jQuery into our page.</p>
<pre class="brush:javascript">
<script src="jquery.js" type="text/javascript"></script>
</pre>
<p>Before we have jQuery parse the XML we need to make sure the DOM (Document Object Model) is loaded. We do this by simply adding the following code.</p>
<pre class="brush:javascript">
$(document).ready(function(){
	//Everything will go inside here…
});
</pre>
<h3>Let The Parsing Begin</h3>
<p>Inside the function above we start off with an AJAX request to read the XML file. The AJAX call will take 3 parameters: url, dataType, and success. Below is what the AJAX request should look like. The first parameter, url, points to where the XML that you want to parse is located (this may be different for you). After that we have the dataType parameter, here you put the type of data that you&#8217;re expecting back from the server in this case, XML. Coming to the third and final parameter is the success parameter, here when the AJAX request is successful it will run a function.</p>
<pre class="brush:javascript">
$.ajax({
	url: "phonebook.xml",
	dataType: "xml",
	success: function(xml){
	}
});
</pre>
<p>Inside the success function we start reading the XML in. Frist we add the following…</p>
<pre class="brush:javascript">
$(xml).find("person").each(function(){

});
</pre>
<p>Above we are looping through every ‘person’ node in the XML file.  To actually get and print the information from inside each node of every ‘person’, we do the following…</p>
<pre class="brush:javascript">
var name = $(this).find("name").text();
var email = $(this).find("email").text();
var phone_number = $(this).find("phone_number").text();
var address = $(this).find("address").text();

document.write("<b>Name</b>: "+name+"<br/>");
document.write("<b>Email</b>: "+email+"<br/>");
document.write("<b>Phone Number</b>: "+phone_number+"<br/>");
document.write("<b>Address</b>: "+address+"<br/><br/>");
</pre>
<p>The final code should look like this:</p>
<pre class="brush:javascript">
$(document).ready(function(){
	$.ajax({
		type: "GET",
		url: "phonebook.xml",
		dataType: "xml",
		success: function(xml){
			$(xml).find("person").each(function(){
				var name = $(this).find("name").text();
				var email = $(this).find("email").text();
				var phone_number = $(this).find("phone_number").text();
				var address = $(this).find("address").text();

				document.write("<b>Name</b>: "+name+"<br/>");
				document.write("<b>Email</b>: "+email+"<br/>");
				document.write("<b>Phone Number</b>: "+phone_number+"<br/>");
				document.write("<b>Address</b>: "+address+"<br/><br/>");
			})
		}
	});
});
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.sublimesite.com/parsing-xml-with-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>5 Great And Simple Wordpress Themes</title>
		<link>http://www.sublimesite.com/5-great-and-simple-wordpress-themes/</link>
		<comments>http://www.sublimesite.com/5-great-and-simple-wordpress-themes/#comments</comments>
		<pubDate>Sun, 28 Feb 2010 17:08:16 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[themes]]></category>

		<guid isPermaLink="false">http://www.sublimesite.com/?p=62</guid>
		<description><![CDATA[All the themes below came from freethemelayouts.com , freethemelayouts is one of the best places I have found for Wordpress themes.
Avada

View &#124; Download
BlackSapphire

View &#124; Download
GrayMist

View &#124; Download
Mullaco

View &#124; Download
Organica

View &#124; Download
]]></description>
			<content:encoded><![CDATA[<p>All the themes below came from <a href="http://www.freethemelayouts.com">freethemelayouts.com</a> , freethemelayouts is one of the best places I have found for Wordpress themes.<span id="more-62"></span></p>
<h3>Avada</h3>
<div class="light_box"><img src="http://www.sublimesite.com/wp-content/article_images/5_great_and_simple_wordpress_themes/simple_theme_1.jpg"></div>
<p><a href="http://www.freethemelayouts.com/blog/index.php?wptheme=avada">View </a>| <a href="http://www.freethemelayouts.com/dls/avada-free.zip">Download</a></p>
<h3>BlackSapphire</h3>
<div class="light_box"><img src="http://www.sublimesite.com/wp-content/article_images/5_great_and_simple_wordpress_themes/simple_theme_2.jpg"></div>
<p><a href="http://www.freethemelayouts.com/blog/index.php?wptheme=blacksapphire">View </a>| <a href="http://www.freethemelayouts.com/dls/blacksapphire-free.zip">Download</a></p>
<h3>GrayMist</h3>
<div class="light_box"><img src="http://www.sublimesite.com/wp-content/article_images/5_great_and_simple_wordpress_themes/simple_theme_3.jpg"></div>
<p><a href="http://www.freethemelayouts.com/blog/index.php?wptheme=graymist">View </a>| <a href="http://www.freethemelayouts.com/dls/graymist-free.zip">Download</a></p>
<h3>Mullaco</h3>
<div class="light_box"><img src="http://www.sublimesite.com/wp-content/article_images/5_great_and_simple_wordpress_themes/simple_theme_4.jpg"></div>
<p><a href="http://www.freethemelayouts.com/blog/index.php?wptheme=mullaco">View </a>| <a href="http://www.freethemelayouts.com/dls/mullaco-free.zip">Download</a></p>
<h3>Organica</h3>
<div class="light_box"><img src="http://www.sublimesite.com/wp-content/article_images/5_great_and_simple_wordpress_themes/simple_theme_5.jpg"></div>
<p><a href="http://www.freethemelayouts.com/blog/index.php?wptheme=organica">View </a>| <a href="http://www.freethemelayouts.com/dls/organica-free.zip">Download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sublimesite.com/5-great-and-simple-wordpress-themes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CAPTCHA</title>
		<link>http://www.sublimesite.com/captcha/</link>
		<comments>http://www.sublimesite.com/captcha/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 02:45:21 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[Freebies]]></category>
		<category><![CDATA[anti spamming]]></category>
		<category><![CDATA[freebie]]></category>
		<category><![CDATA[php captcha]]></category>

		<guid isPermaLink="false">http://www.sublimesite.com/?p=14</guid>
		<description><![CDATA[This is a simple PHP CAPTCHA that uses a small bit of JavaScript used to enable the user to refresh the captcha and get a new string. This CAPTCHA is not meant to be used to secure your site, but give you an example of how a CAPTCHA might be made.

Forgive me if it&#8217;s not [...]]]></description>
			<content:encoded><![CDATA[<p>This is a simple PHP CAPTCHA that uses a small bit of JavaScript used to enable the user to refresh the captcha and get a new string. This CAPTCHA is not meant to be used to secure your site, but give you an example of how a CAPTCHA might be made.</p>
<p><span id="more-14"></span></p>
<p>Forgive me if it&#8217;s not perfect I wrote this a while back, but I have gone over everything and reworked most of it. With a little improvement on what I have provided this could become a robust anti spamming measure.</p>
<h3>Features</h3>
<ul>
<li>Completely dynamic</li>
<li>Completely  Random</li>
<li>Uses JavaScript to load a new CAPTCHA image</li>
<li>Config file to customizable just able everything easily</li>
</ul>
<h3>Preview</h3>
<div class="light_box noborder"><img src="http://www.sublimesite.com/wp-content/freebies/captcha/preview.jpg"></div>
<div class="freebie_buttons">
<a href="http://www.sublimesite.com/wp-content/freebies/captcha/download/captcha.zip" class="left freebie_download">download</a><a href="http://www.sublimesite.com/wp-content/freebies/captcha/demo" class="right freebie_demo">demo</a></p>
<div class="clear"></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.sublimesite.com/captcha/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rounded Corners With CSS3</title>
		<link>http://www.sublimesite.com/rounded-corners-with-css3/</link>
		<comments>http://www.sublimesite.com/rounded-corners-with-css3/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 03:49:00 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[CSS/HTML]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[rounded corners]]></category>

		<guid isPermaLink="false">http://www.sublimesite.com/?p=20</guid>
		<description><![CDATA[With CSS3 being rolled out to major browsers it’s time to learn about some of its many features. While IE doesn’t support much (if any) CSS3, Microsoft has announced that it will be supported in IE9. One of my favorite features of CSS3 is the ability to create rounded corners using pure CSS.

In this article [...]]]></description>
			<content:encoded><![CDATA[<p>With CSS3 being rolled out to major browsers it’s time to learn about some of its many features. While IE doesn’t support much (if any) CSS3, Microsoft has announced that it will be supported in IE9. One of my favorite features of CSS3 is the ability to create rounded corners using pure CSS.</p>
<p><span id="more-20"></span></p>
<p>In this article I’m going to use images as my examples, so that my friends using Internet Explore will be able to see what they’re missing.</p>
<h3>Syntax for border-radius</h3>
<pre class="brush:css">
/*Mozilla*/
-moz-border-radius: /*horizontal and vertical radii*/;
-moz-border-radius-topleft: /*horizontal and vertical radii*/;
-moz-border-radius-topright: /*horizontal and vertical radii*/;
-moz-border-radius-bottomright: /*horizontal and vertical radii*/;
-moz-border-radius-bottomleft: /*horizontal and vertical radii*/;
/*WebKit*/
-webkit-border-radius: /*horizontal and vertical radii*/;
-webkit-border-top-left-radius: /*horizontal and vertical radii*/;
-webkit-border-top-right-radius: /*horizontal and vertical radii*/;
-webkit-border-bottom-right-radius: /*horizontal and vertical radii*/;
-webkit-border-bottom-left-radius: /*horizontal and vertical radii*/;
</pre>
<p>The ones under ‘Mozilla’ will work for all Mozilla-based browsers, that includes FireFox and the &#8216;WebKit&#8217; ones work in Safari and Chrome.</p>
<h3>Examples</h3>
<div class="light_box noborder"><img src="http://www.sublimesite.com/wp-content/article_images/rounded_corners_with_css3/examples.jpg"></div>
<p>As you can see CSS3 can be a huge time saver, no longer will we need to cut out images to make our corners round. Again, keep in mind that not all browsers support rounded corners. In browsers that don’t, the corners will appear as normal squared corners.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sublimesite.com/rounded-corners-with-css3/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>A Fresh Start</title>
		<link>http://www.sublimesite.com/a-fresh-start/</link>
		<comments>http://www.sublimesite.com/a-fresh-start/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 18:43:48 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[Other]]></category>

		<guid isPermaLink="false">http://www.sublimesite.com/?p=1</guid>
		<description><![CDATA[SublimeSite is coming back, with an all new layout, new quality requirements  and new  ideas. One of the first things I would like to mention is that unfortunately a lot of the content originally on the site has been taken down. The content was taken down because I did not feel that it [...]]]></description>
			<content:encoded><![CDATA[<p>SublimeSite is coming back, with an all new layout, new quality requirements  and new  ideas. One of the first things I would like to mention is that unfortunately a lot of the content originally on the site has been taken down. The content was taken down because I did not feel that it met my new quality requirements. Hopefully sometime in the near future everything that was taken down will be rewritten and posted again.</p>
<p><span id="more-1"></span></p>
<p>There are both good and bad things about removing some of the subpar articles from the old site. Such as, there will undoubtedly be 404 errors (page not found) that people will receive; this is obviously due to the fact that what you are looking for is no longer there. On the up side this will enable me to ensure the quality of the content on this site.</p>
<p>One of the few things that weres brought over from the old site is my CAPTCHA, but even that has been completely reworked. So if you would like an easily customizable CAPTCHA to use and dissect, check out  <a href="http://sublimesite.com/captcha">CAPTCHA</a> in the freebies section.</p>
<p>Tell me what your thoughts and opinions are, also don’t forget to subscribe to the RSS feed and to follow the site on Twitter. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.sublimesite.com/a-fresh-start/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
