<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/tags/code</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sun, 06 Jul 2008 21:05:43 GMT</pubDate>
<item>
<title>(PHP) PHP (RegEx) Zip Code Validation - aristoworks</title>
<link>http://snipplr.com/view/7046/php-regex-zip-code-validation/</link>
<description><![CDATA[ <p>This is a simple method of validating a 9-digit zip code using PHP and regular expressions</p> ]]></description>
<pubDate>Tue, 01 Jul 2008 09:36:35 GMT</pubDate>
<guid>http://snipplr.com/view/7046/php-regex-zip-code-validation/</guid>
</item>
<item>
<title>(HTML) Web Service: iTunes Code Redeem - mattkenefick</title>
<link>http://snipplr.com/view/6566/web-service-itunes-code-redeem/</link>
<description><![CDATA[ <p>Link to open iTunes and redeem a code for an offer.</p> ]]></description>
<pubDate>Wed, 04 Jun 2008 09:42:22 GMT</pubDate>
<guid>http://snipplr.com/view/6566/web-service-itunes-code-redeem/</guid>
</item>
<item>
<title>(JavaScript) Find Verbose IDs in the DOM - noah</title>
<link>http://snipplr.com/view/6474/find-verbose-ids-in-the-dom/</link>
<description><![CDATA[ <p>Traverses the DOM tree and reports if any IDs are over 30 characters in length.  Doesn't check for doubled IDs because that's caught when validationg the HTML.</p> ]]></description>
<pubDate>Tue, 27 May 2008 17:08:12 GMT</pubDate>
<guid>http://snipplr.com/view/6474/find-verbose-ids-in-the-dom/</guid>
</item>
<item>
<title>(PHP) Code - george_matrix</title>
<link>http://snipplr.com/view/5574/code/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 27 Mar 2008 06:18:41 GMT</pubDate>
<guid>http://snipplr.com/view/5574/code/</guid>
</item>
<item>
<title>(Smarty) some Smart Code - udayrayala</title>
<link>http://snipplr.com/view/5166/some-smart-code/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 23 Feb 2008 23:41:12 GMT</pubDate>
<guid>http://snipplr.com/view/5166/some-smart-code/</guid>
</item>
<item>
<title>(ASP) Sample ASP Code - udayrayala</title>
<link>http://snipplr.com/view/5160/sample-asp-code/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 23 Feb 2008 05:30:46 GMT</pubDate>
<guid>http://snipplr.com/view/5160/sample-asp-code/</guid>
</item>
<item>
<title>(C#) Sample C# code new - udayrayala</title>
<link>http://snipplr.com/view/5159/sample-c-code-new/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 23 Feb 2008 05:10:14 GMT</pubDate>
<guid>http://snipplr.com/view/5159/sample-c-code-new/</guid>
</item>
<item>
<title>(Other) Other Language Code - udayrayala</title>
<link>http://snipplr.com/view/5158/other-language-code/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 23 Feb 2008 05:06:55 GMT</pubDate>
<guid>http://snipplr.com/view/5158/other-language-code/</guid>
</item>
<item>
<title>(SVN) Another sample SVN code - udayrayala</title>
<link>http://snipplr.com/view/5157/another-sample-svn-code/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 23 Feb 2008 05:02:29 GMT</pubDate>
<guid>http://snipplr.com/view/5157/another-sample-svn-code/</guid>
</item>
<item>
<title>(Rails) Some new Rails Title  - udayrayala</title>
<link>http://snipplr.com/view/5156/some-new-rails-title-/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 23 Feb 2008 04:59:08 GMT</pubDate>
<guid>http://snipplr.com/view/5156/some-new-rails-title-/</guid>
</item>
<item>
<title>(Java) Some sample post code - udayrayala</title>
<link>http://snipplr.com/view/5106/some-sample-post-code/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 18 Feb 2008 00:43:02 GMT</pubDate>
<guid>http://snipplr.com/view/5106/some-sample-post-code/</guid>
</item>
<item>
<title>(Perl) Generate XHTML on the command line with XML::API::XHTML - noah</title>
<link>http://snipplr.com/view/4971/generate-xhtml-on-the-command-line-with-xmlapixhtml/</link>
<description><![CDATA[ <p>Build a simple XHTML document, format it with Tidy and print the result to "temp.html."</p> ]]></description>
<pubDate>Sun, 10 Feb 2008 02:21:23 GMT</pubDate>
<guid>http://snipplr.com/view/4971/generate-xhtml-on-the-command-line-with-xmlapixhtml/</guid>
</item>
<item>
<title>(Bash) Validate XHTML with Tidy and/or OpenJade, just like the FF extension - noah</title>
<link>http://snipplr.com/view/4970/validate-xhtml-with-tidy-andor-openjade-just-like-the-ff-extension/</link>
<description><![CDATA[ <p>Neither command will give any feedback unless invalid markup is found.</p> ]]></description>
<pubDate>Sun, 10 Feb 2008 02:14:45 GMT</pubDate>
<guid>http://snipplr.com/view/4970/validate-xhtml-with-tidy-andor-openjade-just-like-the-ff-extension/</guid>
</item>
<item>
<title>(HTML) Invisible Xanga Code - sondosia</title>
<link>http://snipplr.com/view/4777/invisible-xanga-code/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 25 Jan 2008 19:36:17 GMT</pubDate>
<guid>http://snipplr.com/view/4777/invisible-xanga-code/</guid>
</item>
<item>
<title>(Prolog) Crazy Prolog Code - darkphotn</title>
<link>http://snipplr.com/view/4537/crazy-prolog-code/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 13 Jan 2008 15:12:14 GMT</pubDate>
<guid>http://snipplr.com/view/4537/crazy-prolog-code/</guid>
</item>
<item>
<title>(Perl) Crazy Perl Code - darkphotn</title>
<link>http://snipplr.com/view/4536/crazy-perl-code/</link>
<description><![CDATA[ <p>Yes, this is valid code.

Designed by myself, unless otherwise noted.</p> ]]></description>
<pubDate>Sun, 13 Jan 2008 15:10:03 GMT</pubDate>
<guid>http://snipplr.com/view/4536/crazy-perl-code/</guid>
</item>
<item>
<title>(C++) Crazy C++ Code - darkphotn</title>
<link>http://snipplr.com/view/4535/crazy-c-code/</link>
<description><![CDATA[ <p>Yes, this is valid code.

Designed by myself, unless otherwise noted.</p> ]]></description>
<pubDate>Sun, 13 Jan 2008 15:07:11 GMT</pubDate>
<guid>http://snipplr.com/view/4535/crazy-c-code/</guid>
</item>
<item>
<title>(C++) Crazy C Code - darkphotn</title>
<link>http://snipplr.com/view/4533/crazy-c-code/</link>
<description><![CDATA[ <p>Yes, it's valid code.

Created by myself, unless otherwise noted.</p> ]]></description>
<pubDate>Sun, 13 Jan 2008 15:01:14 GMT</pubDate>
<guid>http://snipplr.com/view/4533/crazy-c-code/</guid>
</item>
<item>
<title>(CSS) Disablig deprecated HTML code - j_junyent</title>
<link>http://snipplr.com/view/4190/disablig-deprecated-html-code/</link>
<description><![CDATA[ <p>When handing over a project to the client, you sometimes loose control over the content HTML source. Sometimes the client uses a CMS that allows them to have full control over certain parts of the HTML, and sometimes the client simply uses your templates to insert their own HTML content in the document.
The idea is to preserve the natural cascade and inheritance in all browsers, while gracefully disabling the HTML we don’t want the client to use. That way the client will stop using it, simply because it doesn’t “work” anymore. A graceful and gentle way of guiding the client in the right direction.</p> ]]></description>
<pubDate>Sun, 25 Nov 2007 17:14:26 GMT</pubDate>
<guid>http://snipplr.com/view/4190/disablig-deprecated-html-code/</guid>
</item>
<item>
<title>(HTML) Code Cache Prevention Code - andyhartleeds</title>
<link>http://snipplr.com/view/4145/code-cache-prevention-code/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 16 Nov 2007 07:11:10 GMT</pubDate>
<guid>http://snipplr.com/view/4145/code-cache-prevention-code/</guid>
</item>
</channel>
</rss>