<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - SamBenson</title>
<link>http://snipplr.com/users/SamBenson</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 20 Jun 2013 13:13:20 GMT</pubDate>
<item>
<title>(jQuery) jQuery External Link Snippet for XHTML Strict 1.0</title>
<link>http://snipplr.com/view/29817/jquery-external-link-snippet-for-xhtml-strict-10/</link>
<description><![CDATA[ <p>There are plenty of jQuery snippets like this on Snipplr, but most of them are either overly complicated or defeat the object of not using the target attribute in your HTML. (Although to be honest, if you're 100% XHTML Strict and even vaguely Web Standards-minded you should let the user decide whether or not to open a link in a new window - we shouldn't force it upon them ).

This one however, IS simple - it looks for all anchor tags with rel="external" (the correct way to specify an external link) and binds a click event to them which, when activated, prevents the default action and opens the link in a new window. 

Not a target attribute in site!</p> ]]></description>
<pubDate>Tue, 16 Mar 2010 05:18:23 GMT</pubDate>
<guid>http://snipplr.com/view/29817/jquery-external-link-snippet-for-xhtml-strict-10/</guid>
</item>
<item>
<title>(PHP) SQL query to find all retailers within a given radius of a Latitude and Longitude</title>
<link>http://snipplr.com/view/20214/sql-query-to-find-all-retailers-within-a-given-radius-of-a-latitude-and-longitude/</link>
<description><![CDATA[ <p>Use this query to return all rows in the table `retail_items` that are within the given radius of $latitude and $longitude.</p> ]]></description>
<pubDate>Thu, 24 Sep 2009 10:39:00 GMT</pubDate>
<guid>http://snipplr.com/view/20214/sql-query-to-find-all-retailers-within-a-given-radius-of-a-latitude-and-longitude/</guid>
</item>
</channel>
</rss>